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

Re: ldappasswd not working...



Hi....I solved my problem, sort of.

What I was trying to do was change the password of 'username', but this syntax
was telling ldap to change the password of 'cn=ldapmanger', hence the
error of not being able to find the entry - that is my root DN.

What I'll do instead is write a script to run slappasswd, have it create
the password string and force it in via ldapmodify, binding with the ROOTDN.

-Ken

> 
> Hi...
> 
>   Openldap 2.x on RedHat Linux 7.2
> 
>   I can properly do ldapsearch queries with:
> 
> ldapsearch -x -W -D "cn=ldapmanager,dc=blah" -H ldaps://servername 'uid=username'
> 
>   But, attempts to do :
> 
> ldappasswd -x -W -D "cn=ldapmanager,dc=cs,dc=uml,dc=edu" -H ldaps://servername 'uid=username'
> 
> 	yield :
> 
> 	Enter bind password: (i type rootdn password)
> 	New password: (generated password displayed here)
> 	Result: No such object (32)
> 	Additional info: could not locate authorization entry
> 
>   Any ideas?  Thanks....
> 
> -- 
> <><  ><> <><  ><> <><  ><> <><  ><> <><  ><> <><  
> 
> Ken Kleiner
> System Manager
> Computer Science Department
> Umass Lowell
> 
> voice : 978 934 3645
> fax : 978 934 3551
> 
> cell : 603 930 5582 (emergencies only, please)
> 
> ken@cs.uml.edu
> 


-- 
<><  ><> <><  ><> <><  ><> <><  ><> <><  ><> <><  

Ken Kleiner
System Manager
Computer Science Department
Umass Lowell

voice : 978 934 3645
fax : 978 934 3551

cell : 603 930 5582 (emergencies only, please)

ken@cs.uml.edu