View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Wed Jul 09, 2008 7:34 pm Post subject: all I want is a simple network... |
|
|
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 |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 5:53 am Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Thu Jul 10, 2008 8:40 am Post subject: |
|
|
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 |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 9:50 am Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Thu Jul 10, 2008 10:24 am Post subject: |
|
|
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 |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 11:19 am Post subject: |
|
|
This is for groups not users
If you want user felix it should be just
_________________ AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Thu Jul 10, 2008 11:53 am Post subject: |
|
|
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 |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 12:04 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Thu Jul 10, 2008 12:17 pm Post subject: |
|
|
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 |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 12:37 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Thu Jul 10, 2008 1:54 pm Post subject: |
|
|
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 |
|
|
GoofballJM1 Guru
Joined: 22 Mar 2004 Posts: 392 Location: Denver, CO USA
|
Posted: Fri Jul 11, 2008 7:12 pm Post subject: |
|
|
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Fri Jul 11, 2008 8:16 pm Post subject: |
|
|
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 |
|
|
|