[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 =" 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 
Please let me know what to do next.

-------------- next part --------------
;changes after comments of Fabien Chevalier
wins server =

;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

;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 =

;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 ====
path = /etc/samba
comment = Unsafe Config Share, has to be removed
browseable = yes
writeable = yes

comment = Home Directories 
browseable = no
writeable = yes

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

More information about the samba mailing list