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

LDIF vs ldappasswd ?



Hi,

I'm using OpenLDAP to do authentication for OS X, and have setup
some users in a posixAccount class. I create the people objects with
all the required posix info including the cypted user password in the LDIF
file like so:

userPassword: {CRYPT}Y38c6FG1w/5

butt his doesn't work. The only way to get it to work is to add the user,
and then change the userPassword attribute with the "ldappasswd" command.

I'm sure it must be possible to just have the correct format in the LDIF
file and not have to revert to changing the password for each user with
'ldappasswd'. What am I doing wrong with the above LDIF entry?


Thanks

Paul