[Date Prev][Date Next] [Chronological] [Thread] [Top]

Still: Need an example of admin changing a users password...



Title: Re: Need an example of admin changing a users password...
Ok, I tried putting quotes around the user, and I tried using this with ldapsearch and it worked ok even though ldappasswd still fails.   Any other suggestions?  I can't get ldapdelete to find this record either...   Could that be a clue?
-----Original Message-----
From: tsg [mailto:tsg@bugalux.com]
Sent: Thu 5/15/2003 2:07 AM
To: Keith Goettert
Cc: OpenLDAP Software List
Subject: Re: Need an example of admin changing a users password...

Четверг 15 Май 2003 04:23, Keith Goettert написал:
> ldappasswd is driving me crazy.  Here is my command line:
>
> ldappasswd -x -D cn=admin,dc=7fountains,dc=com -W -S
> uid=keith,ou=People,dc=7fountains,dc=com
>
> and the error:
>
> New password:
> Re-enter new password:
> Enter bind password:
> Result: No such object (32)
> Additional info: could not locate authorization entry
>
> And a slapcat of my database:
>
> dn: dc=7fountains,dc=com
> objectClass: dcObject
> dc: 7fountains
> dn: cn=admin,dc=7fountains,dc=com
> objectClass: organizationalRole
> objectClass: simpleSecurityObject
> cn: admin
> description: LDAP administrator
> userPassword:: xxxxxxxxxxxxxxxxxxxxxxxxxx=
> dn: ou=People,dc=7fountains,dc=com
> objectClass: organizationalUnit
> ou: People
> dn: ou=Roaming,dc=7fountains,dc=com
> objectClass: organizationalUnit
> ou: Roaming
> dn: uid=keith,ou=People,dc=7fountains,dc=com
> givenName: Keith
> mail: keith
> uid: keith
> sn: Goettert
> cn: Keith Goettert
> objectClass: inetOrgPerson
> objectClass: organizationalPerson
> objectClass: person
> objectClass: top
> objectClass: posixAccount
> objectClass: CourierMailAccount
> uidNumber: 1003
> gidNumber: 1003
> homeDirectory: /opt/mail/keith
> creatorsName: cn=admin,dc=7fountains,dc=com
> createTimestamp: 20030226085043Z
> modifiersName: cn=admin,dc=7fountains,dc=com
> modifyTimestamp: 20030226085043Z
>
> How about helping a newbie out?
Include your uid in and directory administrator in "".
try ldapsearch with the same parameters