14.5 setting up a master-slave LDAP serverAt some point, you may want to set up multiple LDAP servers in order to load balance the LDAP server. The key issue for setting up multiple LDAP servers is the synchronization of data, using the SLURPD
The problem is as follows:Workaround:1, first check the source code installed PHP module whether there is ldap.so[Email protected] ldap]# ll/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/Total 1576-rwxr-xr-x 1 root root 129484 10:18
Use OpenLDAP to build an LDAP Server
On the big data platform, unified account management and authentication for LDAP and Kerberos are essential. The following describes how to use OpenLDAP to build an LDAP server.
1. Install the openldap Software
LDAP operation code sample initializing LDAP Directory service contextIn this example, we use uid=linly,ou=people,dc=jsoso,dc=net this account, the link is located in the local 8389 Port LDAP server (ldap://localhost:8389), the authentication method
LDAP configuration of the PAM module
Systems that use Pam for verification include:
Linux Logon: ETC/PAM. d/system. auth
SSH
Vsftp
The LDAP configuration file of PAM is:
/Etc/nsswitch. conf
/Etc/ldap. conf
The interactive configuration
Install and configure ldap and phpldapadmin1. install ldap to install slapd and related ldap tools # apt-getinstallslapdldap-utils2. edit the configuration file vimetcldapslapd. conf ?? (I prefer vim, but I am not used to vi) ########################
Operating system: Windows 7
XAMPP version: 1.8.3 free installation version
Because the test requires LDAP environment support, check the XAMPP phpinfo, found that LDAP is not enabled by default. After modifying the php.ini configuration to enable
Installation and use of the LDAP server-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Install with the source code as the root user
Because openldap requires the use of Berkeley DB to
Install and configure for LDAP in ubuntu14.04Https://help.ubuntu.com/lts/serverguide/openldap-server.htmlif error occurs in reinstall, try this: "1) sudo apt-get purge slapd2) sudo apt-get install slapd ldap-utils" you can configure ldap after
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.