8.4.1.13 Pluggable Authentication System Variables (original) (raw)

8.4.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.

On the client side, messages can be logged to the standard output by setting theAUTHENTICATION_LDAP_CLIENT_LOG environment variable. The permitted and default values are the same as forauthentication_ldap_sasl_log_status.
The AUTHENTICATION_LDAP_CLIENT_LOG environment variable applies only to SASL LDAP authentication. It has no effect for simple LDAP authentication because the client plugin in that case ismysql_clear_password, which knows nothing about LDAP operations.

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.