Samba 2.2 alpha 1 CVS unable to log into domain from W2K client

Ulrich Stärk Staerk-Berlin at t-online.de
Sun Nov 26 18:06:29 GMT 2000


I just (Nov. 26 6pm MET) donwloaded the samba 2.2alpha1 CVS source, compiled and installed it. This is my smb.conf:

[global]
netbios name = SERVER
security = user
status = yes
workgroup = HALLO
encrypt passwords = yes
domain logons = yes
domain admin users = root
share modes = no
os level = 65
add user script = /usr/sbin/useradd -g trust -c W2KMachine -d /dev/null -s /bin/false %m$

I did not add share or anything else for I first wanted to make sure the PDC is working correctly. My OS is SuSE Linux 7.0 so i had to use /usr/sbin/useradd. I also added user root via smbpasswd -a root and another non-root user to the smbpasswd file. When I now want to connect to the domain from any of my six Win2K machines it prompts me for a username and password to do so. I enter root and my root pasword and after a while it tells me "Welcome to the domain HALLO." and asks me to reboot my machine. I do as asked and reboot my machine. When I reach the logon screen I try to logon as root with my root pasword I set and choose the domain HALLO from the dropdown list. I then tells me "The system could not connect to the specified domain because the machine account is missing or the password for this machine account is wrong.". One of my client's name is "embryo". This is what was generated in the /etc/passwd, /etc/shadow and the smbpasswd files:

/etc/passwd:
embryo$:x:601:102:W2KMachine:/dev/null:/bin/false

/etc/shadow:
embryo$:!:11287:0:99999:7:0::

smbpasswd:
embryo$:601:BC855AD328D492734FBF85F44FAB3902:A9D7D2C05281B7CFD265EC6EB91815F7:[W]:LCT-3A213EF0:

I would be glad if someone could help me, for I tried about three days to find a solution to this problem. Creating user and smb user account manually did not help either.
Thanks in advance

Uli Stärk

P.S.: I also tried this smb.conf file which is a modification of my samba 2.07 smb.conf file but it didn't work either.
[global]
netbios name = SERVER
security = user
status = yes
workgroup = HALLO
encrypt passwords = yes
domain logons = yes
domain admin users = root
share modes = no
os level = 65
add user script = /usr/sbin/useradd -g trust -c W2KMachine -d /dev/null -s /bin/false %m$
local master = yes
preferred master = yes
domain master = yes
wins support = yes
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-ntdom mailing list