Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
all I want is a simple network...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Wed Jul 09, 2008 7:34 pm    Post subject: all I want is a simple network... Reply with quote

all I want is this:

  • configure samba to be part of a network.
  • have a shared visible to all folder with read permission to all and write permission to one specific user.
  • have a shared visible to all folder with access and write permission on one specific user.
  • to be able to access other domains on my network.
  • to be seen from XP and vista computers.


haven't been able to achieve this, has anyone been able to configure samba for this or partially and willing to post it's smb.conf?

thanks.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Thu Jul 10, 2008 5:53 am    Post subject: Reply with quote

I can help you step by step. First though, is the domain you are joining a Windows Domain running Active Directory? Windows 2003 server?
_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Jul 10, 2008 8:40 am    Post subject: Reply with quote

Akhouk wrote:
I can help you step by step. First though, is the domain you are joining a Windows Domain running Active Directory? Windows 2003 server?


actually, the network is linux based I think, for example I'm under WORKGROUPS domain, usualy I can see computers on my domain, but when trying another domain I get an unable to see the users in it, something its allows my, somethings not.

now strangely, I can access other domains but not mine....
what about the sharing, any hints?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Thu Jul 10, 2008 9:50 am    Post subject: Reply with quote

The thing is, there are so many possible ways of setting this up. Is the domain controller Samba? That is the first question. You will need to use winbind if you want samba users to have access to a share on your Gentoo box and want to save files according to their username.

If it is a samba domain you need to add your gentoo box to the domain and then you can share your files as a domain computer.

Is the samba using LDAP authentication? or just password file?
_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Jul 10, 2008 10:24 am    Post subject: Reply with quote

I think I'm using only a password files, all I want is these options to work, I'm attaching my current smb.conf

one more thing, I have iptables set, I've enabled traffic for ports 135, 137-139 426 and 445 which are used by samba

here is the file:
Code:

[global]
smb ports = 445
log file = /var/log/samba/logs/%m
lock directory = /var/lock/samba
security = user
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
server string = NCC-5001D
workgroup = WORKGROUPS

[shared]
comment = shared dir
path = /mnt/Shared/
write list = @felix
writeable = yes
public = yes
printable = no
browseable = yes

[Movies database]
path = /mnt/mov/
read list = @felix
browseable = yes


he user felix exists.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Thu Jul 10, 2008 11:19 am    Post subject: Reply with quote

This is for groups not users
Code:
read list = @felix

If you want user felix it should be just
Code:
read list = felix

_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Jul 10, 2008 11:53 am    Post subject: Reply with quote

all in all, the configuration is correct?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Thu Jul 10, 2008 12:04 pm    Post subject: Reply with quote

DaggyStyle wrote:
all in all, the configuration is correct?

I am not saying that...just pointing out one mistake.

What is your configuration on your domain controller?
_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Jul 10, 2008 12:17 pm    Post subject: Reply with quote

Akhouk wrote:
DaggyStyle wrote:
all in all, the configuration is correct?

I am not saying that...just pointing out one mistake.

What is your configuration on your domain controller?


I'm part of that network, I have no administrative ability.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Thu Jul 10, 2008 12:37 pm    Post subject: Reply with quote

I see...but is it a domain or a workgroup?
_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Thu Jul 10, 2008 1:54 pm    Post subject: Reply with quote

Akhouk wrote:
I see...but is it a domain or a workgroup?

it's a domain with alot of workgroups
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Fri Jul 11, 2008 7:12 pm    Post subject: Reply with quote

DaggyStyle wrote:
Akhouk wrote:
I see...but is it a domain or a workgroup?

it's a domain with alot of workgroups


Either you're in a workgroup or a domain, they can't be in both. Whether there are several machines on the same subnet or network within different domains or workgroups that's different.
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Fri Jul 11, 2008 8:16 pm    Post subject: Reply with quote

GoofballJM1 wrote:
DaggyStyle wrote:
Akhouk wrote:
I see...but is it a domain or a workgroup?

it's a domain with alot of workgroups


Either you're in a workgroup or a domain, they can't be in both. Whether there are several machines on the same subnet or network within different domains or workgroups that's different.


I'll try to simplify it, I'm part of a network with multiple workgroups.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum