[Samba] Samba + LDAP problem

Gabriel Maffia gmaffia at technisys.net
Wed May 28 22:24:42 GMT 2003


Hi:

I'm trying to integrate Samba and LDAP (Samba working as a PDC). While
trying to add a computer to the domain, this is what I get (This is not a
production server, so there is no problem with password revealing):

[2003/05/28 18:59:00, 2] passdb/pdb_ldap.c:get_single_attribute(435)
  get_single_attribute: [userWorkstations] = [<does not exist>]
[2003/05/28 18:59:00, 2] passdb/pdb_ldap.c:get_single_attribute(441)
  get_single_attribute: [rid] = [3000]
[2003/05/28 18:59:00, 2] passdb/pdb_ldap.c:get_single_attribute(441)
  get_single_attribute: [primaryGroupID] = [3001]
[2003/05/28 18:59:00, 2] passdb/pdb_ldap.c:get_single_attribute(441)
  get_single_attribute: [lmPassword] = [E52CAC67419A9A220CEC7D55CCC350DD]
[2003/05/28 18:59:00, 2] passdb/pdb_ldap.c:get_single_attribute(441)
  get_single_attribute: [ntPassword] = [489DC27E7F41B2F1482B8B72B9F593D7]
[2003/05/28 18:59:00, 2] passdb/pdb_ldap.c:get_single_attribute(441)
  get_single_attribute: [acctFlags] = [[UX         ]]
[2003/05/28 18:59:00, 4] smbd/password.c:smb_password_ok(475)
  smb_password_ok: Checking SMB password for user test
[2003/05/28 18:59:00, 5] smbd/password.c:smb_password_ok(489)
  smb_password_ok: challenge received
[2003/05/28 18:59:00, 4] smbd/password.c:smb_password_ok(499)
  smb_password_ok: Checking NT MD4 password
[2003/05/28 18:59:00, 4] smbd/password.c:smb_password_ok(504)
  smb_password_ok: NT MD4 password check failed
[2003/05/28 18:59:00, 4] smbd/password.c:smb_password_ok(518)
  smb_password_ok: Checking LM password
[2003/05/28 18:59:00, 4] smbd/password.c:smb_password_ok(523)
  smb_password_ok: LM password check failed
[2003/05/28 18:59:00, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [test]
[2003/05/28 18:59:00, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
  Rejecting user 'test': authentication failed
[2003/05/28 18:59:00, 3] smbd/error.c:error_packet(109)
  error packet at smbd/reply.c(1025) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
[2003/05/28 18:59:00, 5] lib/util.c:show_msg(268)

I guess the attributes are OK. The passwords where generated with mkntpwd
(mkntpwd -L password -N password)


Thanks a lot!

Gabriel.




More information about the samba mailing list