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

Re: forgotten rootdn psw



If you're using slapd.conf then:

  1. run slappasswd
  2. replace the rootpw value in the slapd.conf file with the value given
  3. restart slapd
If you're using slapd.d (cn=config):
  1. run slappasswd
  2. find the cn=config olcDatabase entry you wish to change the passwd for
  3. update the value for olcRootPW with the one given in (1)
  4. restart slapd
Adam

On Tue, Apr 6, 2010 at 8:06 AM, Francis, Steve (IHG) <Steve.Francis@ihg.com> wrote:
ok...So i'm an ID10T!!  LOL.  But seriously, I setup an OpenLdap server and migrated /etc/passwd to it, and all is well: however, I did that months ago, and you guessed it, somehow I'm having a "senior" moment, and can't remember the psw for the rootdn, so that I can add another user to the Ldap server. I'm sure there is probably a way to decode the "hashed/encrypted" password.  Any help would be greatly appreciated.  I really don't want to have to delete everything and start again, but if that's what I must do, then so be it.
 
Thanks in advance,
 
Steve Francis
Technical Advisor - zSeries, zLinux, z/OS
IHG
Alpharetta Data Center
Ph:  770-442-7157
Cell:  770-906-3122
IM: francisihg
 



--
Adam Leach
BS Computer/Electrical Engineering
West Virginia University
Systems Administrator - Raytheon
(304)677-4455