OpenLDAP change password HELP!

JerryMungo

Honorary Master
Joined
Jul 18, 2008
Messages
37,529
Reaction score
6,278
Hi, I have a (very) basic debian server with LDAP for apache access. I am root and want to know from the fundi's how I can change the password for one of the LDAP users (called 'admin').

I don't currently have ldappasswd utility on the box... I may be able to connect to the web and use apt-get to install it (not sure which package it comes with - certainly not currently installed).

So - how do I do this - do I have to connect to the web or can I change the pwd some other way. I assume hashing with SSHA (again, can't recall where to find that detail - don't recall it in the slapd.conf file). Is there not a way I can edit a file and insert the SSHA hash? I can see the current hash but I have tried a few utils to crack it and no go so far.

Any help would be appreciated!
 
I think using the ldappasswd utility would be easiest.

ldappasswd is part of the ldap-utils package.

If you already have the slapd package installed, then you have all the necessary dependencies for the ldap-utils package. Meaning that if you have trouble getting online from the linux box, download it from some other PC and install it from a flash disk.

stable: http://packages.debian.org/stable/ldap-utils
testing: http://packages.debian.org/testing/ldap-utils
unstable: http://packages.debian.org/unstable/ldap-utils
 
Top
Sign up to the MyBroadband newsletter
X