I have been unable to find a way to for a user change their password from the command line.
I have users that only access an OS X Server 10.3 host (Open Directory master) via the command line. The users are part of the LDAP database. The man page for passwd indicates that this should be possible for Open Directory users, but I cannot get this to work. I've tried various permutations of
passwd -i opendirectory -l /LDAPv3/127.0.0.1
but while the command will prompt for the old password (and accept it if correct), . It will take the old password, but it always returns the message "Sorry", and the password is not changed.
Can anyone tell me how to do this?
And, more generally, "what are the Apple endorsed methods by which a user may change their password"? I can't seem to find anything in the Server docs about the user changing their own password.