Windows Clients cannot logon to samba PDC

Didier Hung Wan Luk DidierH at
Sat Sep 7 13:34:01 GMT 2002

Hello all,

I am trying to make samba acting as a PDC for my windows clients but I am getting errors like

"The System cannot log you on now because the domain LINUX is not available"

I have tried to logon with a win2k and winnt clients all giving me the same error.

When verifying the Samba-HOWTO I found an error like but it's telling to delete the private/WORKGROUP.SID restart smbd and the rejoin the domain.

But I could not find the file "WORKGROUP.SID" nor "LINUX.SID"

Is there something that I am doing wrong?
I am using Samaba 2.2 on a RedHat 7.3
I did verify if the machine account was created and it seems to be ok..

For the "add user script" is it the same as the "add machine script" ?

I have tried to create the machine account manually also but still give me the same error..


# On-the-fly Creation of Machine trust Accounts
  add user script = /usr/sbin/useradd -d /dev/nul -g 100 -s /bin/flase -M %u

   workgroup = Linux
   netbios name = Samba
   server string = Samba Server
   hosts allow = 131.107.2. 127.
   log file = /var/log/samba/%m.log
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
   pam password change = yes
   username map = /etc/samba/smbusers
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = yes
   os level = 64 
   domain master = yes 
   preferred master = yes
   domain logons = yes
   dns proxy = no 

   comment = Network Logon Service
   path = /etc/samba/netlogon
   guest ok = yes
   writable = no
   share modes = no
   write list = root
Thanks in advance,

Didier Hung Wan Luk
FRCI, Sibotie House
L'Anse Courtois
Tel: 230-2869636
Fax: 230-2869629

More information about the samba-technical mailing list