On Wed, Nov 04, 2009 at 08:34:40AM -0700, Rich Megginson wrote:
Try this:
ldapsearch -x -h configdshostname -D "uid=admin, ou=Administrators,
ou=TopologyManagement, o=NetscapeRoot" -w "consoleuserpassword" -s base
-b "o=netscaperoot"
The -D binddn should be the same as what's in
/etc/dirsrv/admin-serv/adm.conf
If this command gives you Invalid credentials, then you have most likely
forgotten your console admin password, which is _not_ the same as the
directory manager password, which is why following the directions below
did not do anything.
If you need to reset your console admin password, do something like this:
ldapmodify -x -h configdshostname -D "cn=directory manager" -w
dirmgrpassword
dn: uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot
changetype: modify
replace: userPassword
userPassword: thenewpassword
Ah, yes, that fixed it, now the console works, thank you.
--
regards, Jens Ådne Rydland