LDAP Problems with PDC functionality

Martin Hofbauer Bacher Systems EDV mh at bacher.at
Mon Dec 21 22:59:49 GMT 1998



I am testing the ldap funtionality with the latest cvs code :


Problems:

1.) if you modify a User with command "smbpasswd <user>" the "dn:'
has always be set to:  "dn: uid=user,o=XX,c=AT",

If the Users "dn" is like: "dn: cn=Peter XXX,o=YYY,c=AT"

it is not working

2.) Set a trusted machine account with "smbpasswd -m pc_test" results in
modifying  user attributes or something, not workstation attributes
to the LDAP Object:

This should be the values for Workstation: "pc_test":

dn: uid=pc_test$,ou=People,ou=Zentrale,o=ACG,c=AT
userpassword: {crypt}kWV2P7wioKciA
objectclass: sambaAccount
givenname: Martin
uid: pc_test$
nickname: pc_test$
idnumber: 501
rid: 501
gidnumber: 5001
creatorsname: cn=admin,o=ACG,c=AT
createtimestamp: 981221221008Z
modifytimestamp: 981221222542Z
modifiersname: cn=admin,o=ACG,c=AT
lmpassword: 721B633461B5EDA5AAD3B435B51404EE
ntpassword: 23EC459244537F6096505FBAFD905448
pwdlastset: 367ECAE7
acctflags: [DU         ]
.....

If you want to join the domain following errors occures:
[1998/12/21 23:13:58, 0] passdb/ldap.c:ldap_search_for(99)
  search: Protocol error
[1998/12/21 23:13:58, 0] passdb/ldap.c:ldap_search_for(99)
  search: Protocol error
[1998/12/21 23:13:59, 0] smbd/reply.c:reply_sesssetup_and_X(710)
  NT Password did not match ! Defaulting to Lanman
[1998/12/21 23:13:59, 0] passdb/ldap.c:ldap_search_for(99)
  search: Protocol error
[1998/12/21 23:13:59, 0] passdb/ldap.c:ldap_search_for(99)
  search: Protocol error
[1998/12/21 23:13:59, 0] passdb/ldap.c:ldap_search_for(99)
  search: Protocol error
[1998/12/21 23:13:59, 0] smbd/reply.c:session_trust_account(428)
  session_trust_account: Trust account PC_TEST$ user doesn't exist
[1998/12/21 23:15:48, 0] smbd/reply.c:reply_sesssetup_and_X(710)
  NT Password did not match ! Defaulting to Lanman
[1998/12/21 23:15:49, 0] smbd/reply.c:session_trust_account(443)
  session_trust_account: Trust Account PC_TEST$ - password failed
[1998/12/21 23:26:10, 0] smbd/reply.c:reply_sesssetup_and_X(710)
  NT Password did not match ! Defaulting to Lanman
[1998/12/21 23:26:10, 0] smbd/reply.c:session_trust_account(443)
  session_trust_account: Trust Account PC_TEST$ - password failed


Do you have Any tips for me, where I can continue,get more details about
the ldap configuration, that has to be done ?

-------------------------------------------------------------------
Martin Hofbauer                                       IT-Consulting
phone : +43 (1) 60 126-34                   Bacher Systems EDV GmbH
fax   : +43 (1) 60 126-4                         Wienerbergstr. 11B
e-mail: mh at bacher.at                         A-1101 Vienna, Austria
--



More information about the samba-ntdom mailing list