locked
LDAP Server reset password help RRS feed

  • Question

  • User-1564620141 posted

    Hi,

    I am trying to reset the user password on openldap and i am using the following code

    try

    {

    SetProperty(directoryEntry, "userPassword", newPassword);

    directoryEntry.CommitChanges();

    directoryEntry.Close();

    return newPassword;

    }

    I want to replace this code using the ldap extended properties and OID's.

    Can anyone help????

     

     

    Monday, July 10, 2006 12:31 AM

All replies

  • User1354132231 posted
    I am assuming that you are trying to replace the 'userPassword' attribute?  I suppose it depends on what directory you are running, but this would not work in ADAM or Active Directory.

    What is your LDAP directory?  Most have a requirement that passwords cannot be set unless under a secure channel like SSL or Kerberos encryption.
    Tuesday, July 11, 2006 12:51 PM