📄 conf.php
字号:
<?php// LDAP -- LDAP$LOGIN_CONF = array();/*** LDAP SERVER LOCATION* This is the location of the LDAP server, either by hostname or IP address.*/$LOGIN_CONF['ldap_server'] = '';/*** LDAP SERVER PORT* If you require a specific port number, enter it here.*/$LOGIN_CONF['ldap_port'] = '';/*** LDAP SERVER USERNAME* If your LDAP server requires a username, enter it here.*/$LOGIN_CONF['ldap_server_username'] = '';/*** LDAP SERVER PASSWORD* If your LDAP server requires password authentication, enter it here.*/$LOGIN_CONF['ldap_server_password'] = '';/*** LDAP UID FIELD* This is the field which contains the user's authenticate name.*/$LOGIN_CONF['ldap_uid_field'] = 'cn';/*** LDAP BASE DN* The part of the world directory that is held on this* server, which could be "o=My Company,c=US"**/$LOGIN_CONF['ldap_base_dn'] = '';/*** LDAP SERVER VERSION* Select the relevant major version number for your LDAP server.* If unknown, try "3"** OPTIONS: 2 = Version 2. 3 = Version 3.*/$LOGIN_CONF['ldap_server_version'] = 3;/*** LDAP USERNAME SUFFIX* If you're using Active Directory, you may need to use an account suffix* such as '@mydomain.local'. This is not always required.**/$LOGIN_CONF['ldap_username_suffix'] = '';/*** LDAP USER REQUIRES PASS?* This relates to fetching a user's record from the LDAP.* If the each user does not have a password switch this to 'no' or authentication will fail.* Naturally, it's highly recommended that the LDAP admin chooses to use password authentication!** OPTIONS: 1 = Yes. 0 = No*/$LOGIN_CONF['ldap_user_requires_pass'] = 1;?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -