[Samba] Authentication Failure in member server

Diego Alencar Alves de Lima diego-lima at prodesan.com.br
Tue May 29 20:38:40 GMT 2007


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

[2007/05/29 17:26:28, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user=20
[WORKGROUP]\[USER1]@[HOST6] 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: [PRODESAN.COM.BR]\[USER1]@[HOST6]
[2007/05/29 17:26:28, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx =3D 1
[2007/05/29 17:26:28, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx =3D 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 =3D 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 =3D 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 =3D 1
[2007/05/29 17:26:28, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx =3D 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 =3D 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 =3D 0
[2007/05/29 17:26:28, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [USER1] -> [USER1] FAILED w=
ith=20
error NT_STATUS_NO_SUCH_USER

However when I try to use the same user on the domain controller things wor=
k=20
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] ->=20
[pr907899] succeeded

I can see the domain users using wbinfo -u on the member server and I have=
=20
(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?

--=20
Diego Alencar Alves de Lima
Departamento de Inform=C3=A1tica - DINF
www.prodesan.com.br

--=20
Esta mensagem foi verificada pelo sistema de antiv=EDrus e
 acredita-se estar livre de perigo.



More information about the samba mailing list