mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
Beta version of the LDAP authentication module.
SVN:trunk[630]
This commit is contained in:
@@ -40,9 +40,19 @@ SetupWebPage::AddModule(
|
||||
// Default settings
|
||||
//
|
||||
'settings' => array(
|
||||
'host' => '192.168.10.164',
|
||||
'port' => 389,
|
||||
'basedn' => 'dc=leconcorde,dc=net',
|
||||
'host' => 'localhost', // host or IP address of your LDAP server
|
||||
'port' => 389, // LDAP port (std: 389)
|
||||
'default_user' => '', // User and password used for initial "Anonymous" bind to LDAP
|
||||
'default_pwd' => '', // Leave both blank, if anonymous (read-only) bind is allowed
|
||||
'base_dn' => 'dc=yourcompany,dc=com', // Base DN for User queries, adjust it to your LDAP schema
|
||||
'user_query' => '(&(uid=%1$s)(inetuserstatus=ACTIVE))', // Query used to retrieve each user %1$s => iTop login
|
||||
// For Windows AD use (samaccountname=%1$s) or (userprincipalname=%1$s)
|
||||
|
||||
// Some extra LDAP options, refer to: http://www.php.net/manual/en/function.ldap-set-option.php for more info
|
||||
'options' => array(
|
||||
LDAP_OPT_PROTOCOL_VERSION => 3,
|
||||
LDAP_OPT_REFERRALS => 0,
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user