Samba - client cant find domain
I am trying to set up samba as primary domain controller and with home-shares (so that users gain access to their homes on a network-drive. My smb.conf is currently looking like this:
[global] workgroup = fri-dom server string = Samba Server netbios name = smbserv printcap name = /etc/printcap load printers = yes log file = /var/log/samba/%m.log max log size = 50 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain master = yes preferred master = yes domain logons = yes logon script = logon.bat wins support = yes dns proxy = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no [homes] comment = Home Directories browseable = yes writable = yes [netlogon] comment = Network Logon Service path = /netlogon guest ok = yes writable = no share modes = no [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes ---END--- Now, my problem is that when i try to configure the client to the domain "fri-dom", it prints that the domain does not exist. What could be my problem? |
Are both your computers on the same subnet (the default (made up) ip address of windows computers seem to be 169.254.x.x while for linux, it is 192.168.x.x)? You should be able to ping
from each computer. Is there a firewall blocking access to the ports that samba uses? |
Yes they are on the same subnet, i can both ping and see the workgroup of the server on the client in the network neighborhood (i can't enter it though).
The firewall on the client is totally disabled, and there are no ports that have to be opened on the server are there? |
We'll, I have a working SAMBA setup and here is the smb.conf:
[global] workgroup = MSHOME wins support = yes encrypt passwords = yes browsable = yes security = share [root] path = / read only = yes guest ok = yes public = yes It's absolutely evil since it allows anyone to connect and shares /, but it works. Did you have samba working before? If not, maybe try using my smb.conf. The complete manuals to SAMBA are at www.faqs.org/docs/samba/ch00.html and in the /<prefix>/swat dir if you built samba from the sources. |
I do not have access to the server until tomorrow morning, i'll try your smb.conf then.
|
All times are GMT -5. The time now is 01:21 PM. |