Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This allows user authentication from LDAP server.

Config Options

Config OptionDescription
id_colis the column name of the userid
tableis the name of the table
username_colis the name of the column containing the username
displayfailuremessagenumberif set is the number of times before displaying an error message rather than a login box.
continueonfailif set then this wont set the exit flag that indicates to exit after displaying the login error form
ldap_serveris the ldap server name in php ldap convention
ldap_portis the optional ldap port of the server
ldap_set_optionany php ldap options can be specified in this via an array with the keyname as the parameter and the value as the value.
ldap_bind_rdnis the RDN used to authenticate (leave out if anonymous is wanted)
ldap_bind_passwordis the password associated with the bind RDN
ldap_search_dnis the base_dn of the search (if this is an array of multiple it should search them all)
ldap_user_prefixis the prefix for the username search eg sAMAccountName= but it could include other filter elements first in standard LDAP filter parameters
sql_extraany extra parameters on the sql user lookup (appended after the where statement so more filter requirements would require an AND to start)
disable_ldapmissingif set and true then faile if it successfully finds and binds as a user on ldap but cant find the user in rogo
search_fieldis used as the field that the username gets put in for a search for missing user.