I have a samba server configured that is member of a samba domain called 
PRODESAN.COM.BR. After we had to reinstall the domain controller some samba 
shares stopped working on the member server. I get this when I try to use the 
share:

[2007/05/29 17:26:28, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface
[2007/05/29 17:26:28, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/05/29 17:26:28, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/05/29 17:26:28, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/05/29 17:26:28, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [USER1] -> [USER1] FAILED with 
error NT_STATUS_NO_SUCH_USER

However when I try to use the same user on the domain controller things work 
perfectly:

[2007/05/29 17:32:39, 2] lib/smbldap.c:smbldap_open_connection(788)
  smbldap_open_connection: connection opened
[2007/05/29 17:32:39, 2] passdb/pdb_ldap.c:init_sam_from_ldap(541)
  init_sam_from_ldap: Entry found for user: pr907899
[2007/05/29 17:32:39, 2] passdb/pdb_ldap.c:init_group_from_ldap(2140)
  init_group_from_ldap: Entry found for group: 513
[2007/05/29 17:32:39, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [USER1] -> [USER1] -> 
[pr907899] succeeded

I can see the domain users using wbinfo -u on the member server and I have 
(re)joined the domain using net rpc join:

net rpc join -U root
Password:
Joined domain PRODESAN.COM.BR.

Any ideas why the server isn't being able to authenticate the user?

-- 
Diego Alencar Alves de Lima
Departamento de Informática - DINF
www.prodesan.com.br

-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to