想把帐号验证与windows 域结合,无法成功。服务器上可以telnet 域服务器的389端口。config-itop.php配置如下:
$MyModuleSettings = array(
'authent-ldap' => array (
'host' => 'X.X.X.X',
'port' => 389,
'default_user' => 'XXXX',
'default_pwd' => '*****',
'base_dn' => 'ou=Management,ou=Domain Users,dc=XXX,dc=com',
'user_query' => '(&(uid=%1$s)(inetuserstatus=ACTIVE))',
'options' => array (
17 => 3,
8 => 0,
),
),
|