Troubleshooting
Problem
Cause
Resolving The Problem
Next, check that your group attribute map file (specified by groupattrmappath in ldap.cfg) is configured correctly and mapping groupname, id, and users to valid LDAP attributes.
One thing to consider is that by default, local users must belong to local groups, LDAP users to LDAP groups, etc - this applies to 3rd party authentication modules like VAS as well.
Another cause for 'Cannot set process credentials' could be if the system is configured for Kerberos integrated login with an IBM NAS Kerberos KDC, and kadmind lookups are failing. For example, if the /etc/methods.cfg file contains:
KRB5:
program = /usr/lib/security/KRB5
program_64 = /usr/lib/security/KRB5_64
options = authonly,is_kadmind_compat=yes,kadmind=yes
KRB5LDAP:
options = db=LDAP,auth=KRB5
Or, since both the is_kadmind_compat and kadmind options default to 'yes', the KRB5 stanza may look like:
KRB5:
program = /usr/lib/security/KRB5
program_64 = /usr/lib/security/KRB5_64
options = authonly
With that configuration, kadmind lookups will be attempted during the login process, and if that isn't set up correctly, user logins will fail:
# su - ldapusr
3004-503 Cannot set process credentials.
Try turning off kadmind lookups to see if that resolves the error:
KRB5:
program = /usr/lib/security/KRB5
program_64 = /usr/lib/security/KRB5_64
options = authonly,kadmind=no
If you are wanting the kdamind lookups to occur, consult these technotes which have notes about getting that working:
https://www.ibm.com/support/pages/node/7237111
https://www.ibm.com/support/pages/node/6551164
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
28 October 2025
UID
ibm10967565