DirectoryTree / LdapRecord-Discussions

A place to ask questions, get help, or share what you've built with LdapRecord.
4 stars 1 forks source link

unicodepwd: attribute type undefined #11

Closed hemantachhami19 closed 4 years ago

hemantachhami19 commented 4 years ago

I am trying to change password but i get this exception How to define unicodepwd in a ldap user model ?

LdapRecord\LdapRecordException {#1357
  #detailedError: LdapRecord\DetailedError {#1355
    #errorCode: 17
    #errorMessage: "Undefined attribute type"
    #diagnosticMessage: "unicodepwd: attribute type undefined"
  }
  #message: "ldap_modify_batch(): Batch Modify: Undefined attribute type"
  #code: 2
  #file: "/Users/Hazesoft/projects/delta/auth/vendor/directorytree/ldaprecord/src/LdapRecordException.php"
  #line: 26
  -previous: ErrorException {#1354
    #message: "ldap_modify_batch(): Batch Modify: Undefined attribute type"
    #code: 2
    #file: "/Users/Hazesoft/projects/delta/auth/vendor/directorytree/ldaprecord/src/Ldap.php"
    #line: 664
    #severity: E_WARNING
stevebauman commented 4 years ago

Hi @hemantachhami19,

Can you post your code? Also, what LDAP server are you connecting to (OpenLDAP, Active Directory, etc.)?

stevebauman commented 4 years ago

Closing due to inactivity.