Jump to content

Using LDAP to authenticate users: Difference between revisions

From NusaATK
Dennis (talk | contribs)
No edit summary
 
m LDAP authentication atk moved to Using LDAP to authenticate users
(No difference)

Revision as of 10:52, 19 December 2007

Below you'll find a short example of configuring an ATK application for using LDAP authentication. Also (if LDAP authentication fails) the normal authentication using the password in the database is used.

$config_authentication = "ldap,db";

// LDAP auth. stuf
$config_auth_ldap_host           = "127.0.0.1"; //ip of ldap server
$config_auth_ldap_context        = "ou=somevalue,dc=somevalue,dc=nl";
$config_auth_ldap_search_filter  = "uid";