Here is an example
dscl -u directoryAdminsUsername -P dirAdminsPassword /LDAPv3/127.0.0.1 -passwd /Users/test thePasswordToBeSet
I create a user through LDAP without an authAuthority or password attribute then run the command above which fills in authAuthority and password attributes.
On 10.4 servers this creates an OpenDirectory password and on 10.3 creates a crypt password.
10.3 looks like
AuthenticationAuthority: ;basic;
Password: f/M20JHIh.gIM
10.4 looks like
AuthenticationAuthority: ;ApplePasswordServer;0x444525ea6ca0……
Password: ********
Both 10.3 and 10.4 servers create OpenDirectory passwords when creating new users in WorkGroup Manager.
I would like to know what I would have to do to make OpenDirectory /ApplePasswordServer passwords in 10.3 or have some control over the type of password created.
Recent Comments