[Samba] Cant Join Win2K clients to Samba Domain

sebastiand at Argentina.com sebastiand at Argentina.com
Tue Sep 2 14:32:28 GMT 2003


Hi all. Ive been trying to join win2k clients to a samba domain controller,
but i cant. i followed some turorials (especially the ibm one),but i got
no success. The problem is the following: i have a samba pdc (2.2.8, RH
9.0) with this global settings:
#======================= Global Settings =====================================
[global]

   workgroup = LEGION

   server string = Servidor Samba
   netbios name = samba
   hosts allow = 192.168.1.0/255.255.255.0 127.0.0.1
   guest account = smbguest

   log file = /var/log/samba/samba.log
   log level = 2
   max log size = 50
   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
   logon home = \\%L\%U\.
   logon drive = U:
   logon path = \\%L\profiles\%U
   dns proxy = no
   case sensitive = no
   domain admin users = admin Administrador

I joined win98 clients without difficulties, but when i try t do it with
win2k clients...
This is what i did, step by step: first i add the machine account manually
(the unix and the samba one; ie ws3$ and ws3)
then i setup the client: i enter the domain name in the network con figuration,
click on ok and a dialog appears, asking me for an username and a password.
there, i write root and it password. After a minute, a messagebox appears:"you
have succesfully added this machine to domain LEGION" (note: the messaes
may vary, since im using win2k in spanish...
Then i reboot the client, and when i try to login, i get: The trust relationship
between this workstation and the domain controller has failed
NOTE: I have novell netware client installed on all of the machines, and
i logon to the novell server before login to the domain
here is the samba.log:
[2003/08/24 09:23:39, 2] lib/access.c:check_access(325)
  Allowed connection from  (192.168.1.147)
[2003/08/24 09:23:39, 2] smbd/reply.c:reply_special(80)
  netbios connect: name1=SAMBA            name2=LBV047
[2003/08/24 09:23:39, 2] smbd/reply.c:reply_special(94)
  netbios connect: local=samba remote=lbv047
[2003/08/24 09:23:39, 2] smbd/sesssetup.c:setup_new_vc_session(507)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2003/08/24 09:23:39, 2] smbd/sesssetup.c:setup_new_vc_session(507)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2003/08/24 09:23:39, 2] auth/auth.c:check_ntlm_password(302)
  check_ntlm_password:  authentication for user [Administrador] -> [root]
-> [root] succeeded
[2003/08/24 09:23:39, 2] lib/access.c:check_access(325)
  Allowed connection from  (192.168.1.147)
[2003/08/24 09:23:40, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2526)
  Returning domain sid for domain LEGION -> S-1-5-21-2884942524-905020447-3390183845
[2003/08/24 09:23:40, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6491)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/08/24 09:23:40, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(791)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/08/24 09:23:52, 1] auth/auth_util.c:make_server_info_sam(795)
  User smbguest in passdb, but getpwnam() fails!
[2003/08/24 09:23:52, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  Authentication for user [] -> [] FAILED with error
NT_STATUS_NO_SUCH_USER
[2003/08/24 09:23:52, 1] auth/auth_util.c:make_server_info_sam(795)
  User smbguest in passdb, but getpwnam() fails!
[2003/08/24 09:23:52, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  Authentication for user [] -> [] FAILED with error
NT_STATUS_NO_SUCH_USER
[2003/08/24 09:24:41, 1] auth/auth_util.c:make_server_info_sam(795)
  User smbguest in passdb, but getpwnam() fails!
[2003/08/24 09:24:41, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  Authentication for user [] -> [] FAILED with error
NT_STATUS_NO_SUCH_USER
[2003/08/24 09:25:42, 2] smbd/server.c:exit_server(558)
  Closing connections

PLEASE HELP ME. I NEED TO SOLVE IT FOR THE NEXT WEEK OR MY BOSS WILL KICK
MY ASS

--------
E-mail y acceso a Internet UltraVeloz totalmente GRATIS en Buenos Aires,
Rosario, Cordoba, Mendoza, La Plata y Pilar
http://www.Argentina.com
Nro. de acceso 5078-5000 Usuario: Argentina Password: Argentina




-- 
Obtenga gratis su cuenta @Argentina.com con AntiVirus, 
20mb de espacio y acceso libre UltraVeloz en 24 ciudades
                                       www.Argentina.com




More information about the samba mailing list