6.1.13 Pluggable Authentication System Variables (original) (raw)

6.1.13 Pluggable Authentication System Variables

These variables are unavailable unless the appropriate server-side plugin is installed:

klist -k file_name  

For information about keytab files, seehttps://web.mit.edu/kerberos/krb5-latest/doc/basic/keytab_def.html.

uid=user_name,ou=People,dc=example,dc=com  

And that members of another set of LDAP user entries each have this form:

uid=user_name,ou=Admin,dc=example,dc=com  

Then searches work like this for different base DN values:

(|(&(objectClass=posixGroup)(memberUid={UA}))  
  (&(objectClass=group)(member={UD})))  

In some cases for the user scenario,memberOf is a simple user attribute that holds no group information. For additional flexibility, an optional {GA} prefix can be used with the group search attribute. Any group attribute with a {GA} prefix is treated as a user attribute having group names. For example, with a value of{GA}MemberOf, if the group value is the DN, the first attribute value from the group DN is returned as the group name.

uid=user_name,ou=People,dc=example,dc=com  

And that members of another set of LDAP user entries each have this form:

uid=user_name,ou=Admin,dc=example,dc=com  

Then searches work like this for different base DN values:

(|(&(objectClass=posixGroup)(memberUid={UA}))  
  (&(objectClass=group)(member={UD})))  

In some cases for the user scenario,memberOf is a simple user attribute that holds no group information. For additional flexibility, an optional {GA} prefix can be used with the group search attribute. Any group attribute with a {GA} prefix is treated as a user attribute having group names. For example, with a value of{GA}MemberOf, if the group value is the DN, the first attribute value from the group DN is returned as the group name.