Home Forums OS X Server and Client Discussion Open Directory dcsl changed with Tiger???

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #364659
    gw1500se
    Participant

    I have a ‘dscl’ command to change passwords that worked under Panther:

    dscl -u guest -P guest1 /LDAPV3/127.0.0.1 -password /Users/guest guest2

    This same command under Tiger gives me the error:

    eDSAuthNewPasswordRequired

    Can someone tell me what I need to change in the command to make it Tiger compatable? The man page seems to be the same as Panther so there is no help there. TIA.

    #364706
    gw1500se
    Participant

    After much messing around, I now know what the problem is but I don’t understand why it is changed in Tiger. The error is misinformation. It turns out a user cannot change their own password using ‘dscl’ unlike Panther. The -u apparently must be an administrator. This means the administrator password must be used as well. Not good from a security standpoint in my PHP script.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed