jon@dullesmicro.com
2003-Oct-02 17:35 UTC
[Samba] join domain failure "system account not in primary...."
I am trying join a w2k bo to a samba DC on RH9. I have read that I need to add the computer as a user first then join so I did it via these commands: adduser myComputer$ smbpasswd -a -m myComputer Is that all i need to do? When I join I get the "welcome to the domain message" and then I restart. However when trying to login I get "This systems computer account is not in the primary....." and cant log on. Furthermore there is a long pause before I get the "welcome to the domain message" message when I join the domain. As a result I used ethareal to look at the packets a found many protocol errors. Such as: DNS: no such name : _ldap._tcp.dc._msdcs.funk.com NETLOGON: SAM Response - user unknown thanks in advance
Mark
2003-Oct-02 18:01 UTC
[Samba] join domain failure "system account not in primary...."
You need to use this syntax: useradd -s /bin/false -d /dev/null mycomputername\$ Once this is done you will need to add the windows pc to the samba domain using root as the name and root's samba password, which means root needs a samba user and password beforehand. Regards, Mark Samba Setup Guide www.samba.netfirms.com I am trying join a w2k bo to a samba DC on RH9. I have read that I need to add the computer as a user first then join so I did it via these commands: adduser myComputer$ smbpasswd -a -m myComputer Is that all i need to do? When I join I get the "welcome to the domain message" and then I restart. However when trying to login I get "This systems computer account is not in the primary....." and cant log on. Furthermore there is a long pause before I get the "welcome to the domain message" message when I join the domain. As a result I used ethareal to look at the packets a found many protocol errors. Such as: DNS: no such name : _ldap._tcp.dc._msdcs.funk.com NETLOGON: SAM Response - user unknown thanks in advance
jon@dullesmicro.com
2003-Oct-02 19:57 UTC
[Samba] join domain failure "system account not in primary...."
Thanks for the response I still get the same error when I use when I use the adduser script you gave me ************************************** Here are some log files [2003/10/02 15:26:25, 2] smbd/reply.c:reply_special(100) netbios connect: local=one remote=usvap010, name type = 0 [2003/10/02 15:26:25, 2] smbd/sesssetup.c:setup_new_vc_session(535) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/10/02 15:26:25, 2] smbd/sesssetup.c:setup_new_vc_session(535) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/10/02 15:26:25, 2] auth/auth.c:check_ntlm_password(309) check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER [2003/10/02 15:26:25, 2] smbd/server.c:exit_server(558) Closing connections [2003/10/02 15:26:25, 2] smbd/reply.c:reply_special(93) netbios connect: name1=ONE name2=USVAP010 [2003/10/02 15:26:25, 2] smbd/reply.c:reply_special(100) netbios connect: local=one remote=usvap010, name type = 0 [2003/10/02 15:26:25, 2] smbd/sesssetup.c:setup_new_vc_session(535) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/10/02 15:26:25, 2] smbd/sesssetup.c:setup_new_vc_session(535) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/10/02 15:26:25, 1] auth/auth_util.c:make_server_info_sam(818) User smbguest in passdb, but getpwnam() fails! [2003/10/02 15:26:25, 2] auth/auth.c:check_ntlm_password(309) check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER [2003/10/02 15:26:25, 2] smbd/server.c:exit_server(558) Closing connections [2003/10/02 15:26:46, 2] smbd/server.c:exit_server(558) Closing connections ******************************************** Here is my cnf file: [global] domain logons = yes encrypt passwords = yes guest account = smbguest log level = 2 log file = /var/log/samba.log logon drive = p: logon home = \\one\%U netbios name = one os level = 99 preferred master = yes security = user socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 wins support = yes workgroup = funk.com [homes] read only = no create mode = 0600 directory mode = 0700 [netlogon] path = /home/netlogon **************************************************** Original Message: You need to use this syntax: useradd -s /bin/false -d /dev/null mycomputername\$ Once this is done you will need to add the windows pc to the samba domain using root as the name and root's samba password, which means root needs a samba user and password beforehand. Regards, Mark Samba Setup Guide www.samba.netfirms.com <http://www.samba.netfirms.com> I am trying join a w2k bo to a samba DC on RH9. I have read that I need to add the computer as a user first then join so I did it via these commands: adduser myComputer$ smbpasswd -a -m myComputer Is that all i need to do? When I join I get the "welcome to the domain message" and then I restart. However when trying to login I get "This systems computer account is not in the primary....." and cant log on. Furthermore there is a long pause before I get the "welcome to the domain message" message when I join the domain. As a result I used ethareal to look at the packets a found many protocol errors. Such as: DNS: no such name : _ldap._tcp.dc._msdcs.funk.com NETLOGON: SAM Response - user unknown thanks in advance