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

Re: SSHA Encryption

On Fri, Nov 12, 2004 at 02:12:00PM +0100, Daniel Merino wrote:
> Thank you for the advice, but I remember that time ago I modified a 
> record and if I writed {crypt} before the password, then automatically 
> it was added encrypted. That's what I'm looking for.

Openldap won't mangle its input. If you write BLA, it will store what you
wrote. The userPassword attribute is only special when an openldap extended
operation to change the password is used.

> I can't use ldappasswd, because I'm just trying to do this for aplying 
> it after to the Novell LDAP Library for Java, and they change the 
> password with a modification (delete & add), but they don't talk nothing 
> about encryption, so I think that could be a LDAP matter.

In an add operation, openldap will just do as it is told to do: store whatever
is given to it.