Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2722: Nothing returned when querying Users and Groups from Netapp through Centrify Ldapproxy

Centrify DirectControl ,  

28 October,13 at 12:48 PM

Applies to:
All versions of Centrify ldapproxy on All platforms


Problem:
When using Netapp to query for Users and Groups through Centrify LDAP proxy, no information is returned due to an
"attribute not found" error.


Cause:
When Netapp tries to query user information, it will also query the "userPassword" attribute. This attribute should be mapped to _userPassword and associate with the posixAccount class in Centrify Ldap Proxy rfc2307.map.

However, by default this is associated with shadowAccount class instead in the rfc2307.map file.

This causes the whole query to fail with an "attribute not found" exception.

Resolution:

Add the following lines into the rfc2307.map file:


# Add userPassword to posixAccount for NAS Netapp support
posixAccount.userPassword: _userPassword


Example:
netapp*> getXXbyYY getpwbyname_r clyde

pw_name = clyde

pw_passwd = {clear}NP

pw_uid = 1296041299, pw_gid = 1296041299

pw_gecos = Clyde Baum

pw_dir = /home/clyde

pw_shell = /bin/bash

netapp*>

 

netapp*> getXXbyYY getpwbyuid_r 503

pw_name = tetsu

pw_passwd = {clear}NP

pw_uid = 503, pw_gid = 503

pw_gecos = Tetsu Ishii

pw_dir = /home/tetsu

pw_shell = /bin/bash

netapp*>

 

(Because the above example is only for identity mapping, there is no Hash stored in AD and the passwd is seen as blank "{clear}NP" )

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.