CPM: SunOne LDAP connection error "code: 8031 invalid path name passed"

CPM: SunOne LDAP connection error "code: 8031 invalid path name passed"

107
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 12:57 PM


Symptom


Unable to manage a SunOne LDAP account. The following error is returned:
code: 8031 invalid path name passed


Environment


11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
CPM


Cause


The user ID has permission to change its password but does not have read permission on the directory or to its own CN/UID object.


Resolution


Grant the user ID read permission on the SunOne directory.
 
  • Allow the standard user accounts to search their CN/UID value and read their own entry. Here is an example of the ACI that could be added to allow for password management:

(target = ldap:///dc=company,dc=com) (targetscope = subtree) (targetattr = "cn || objectclass") (version 3.0; acl "Self access to cn"; allow (read, search) (userdn = "ldap:///self") ;)
 
  • If read access to their own object is already set, you may need to add an ACI to allow for self-modification of the user password which SHOULD be the default configuration. This is an example of said configuration:

(targetattr = "userPassword") ( version 3.0; acl "allow userpassword self modification";  allow (write) userdn = "ldap:///self";)


Additional Information


Details

SYMPTOM: 
 
Unable to manage a SunOne LDAP account. The following error is returned:
code: 8031 invalid path name passed
 
PROBLEM: 
 
The user ID has permission to change its password but does not have read permission on the directory or to its own CN/UID object.
 
SOLUTION:
Grant the user ID read permission on the SunOne directory
 

Allow the standard user accounts to search their CN/UID value and read their own entry. Here is an example of the ACI that could be added to allow for password management.

 

(target = ldap:///dc=company,dc=com) (targetscope = subtree) (targetattr = "cn || objectclass") (version 3.0; acl "Self access to cn"; allow (read, search) (userdn = "ldap:///self") ;)

 

If read access to their own object is already set, you may need to add an ACI to allow for self-modification of the user password which SHOULD be the default configuration. This is an example of said configuration:

 

(targetattr = "userPassword") ( version 3.0; acl "allow userpassword self modification";  allow (write) userdn = "ldap:///self";)



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000014UnCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail