[Samba] A domain controller for the domain could not be contacted (2.2.3a-12.3 for Debian)

Eduard Witteveen eduard at nergens.org
Wed Dec 17 13:19:30 GMT 2003


Fabien Chevalier wrote:

>I think your Samba server hasn't been registered to your wins server,
>thus when trying to join the domain, your workstation falls back to dns...which obviously fails.
>
>Try to add "wins server = 10.0.0.10" to your smb.conf,
>and let us know if it works...
>  
>
No. I've attached my current configuration file.
When i try to join the domain i still get the same error message(and no 
logfile).
Please let me know what to do next.

-------------- next part --------------
[global]
;changes after comments of Fabien Chevalier
wins server = 10.0.0.10

;changes after comments of Patrick Shoaf
password level = 8
username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
pam password change = yes
obey pam restrictions = yes

;basic server settings
workgroup = HAWAR3
netbios name = nemo
server string = Samba %h PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes

;security and logging settings
security = user
# encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
# max log size = 50
# hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0

;user profiles and home directory
logon home = \\%L\%U\
logon drive = H:
logon path = \\%L\profiles\%U
logon script = netlogon.bat

;sync passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 	*Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: 	*all*authentication*tokens*updated*successfully*

; new machines
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u

# ==== shares ====
[unsafe]
path = /etc/samba
comment = Unsafe Config Share, has to be removed
browseable = yes
writeable = yes

[homes]
comment = Home Directories 
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600


More information about the samba mailing list