LDAP client operation method

This article briefly introduces how to use the LDAP Admin client. The client tool address is:

https://download.csdn.net/download/u013896064/87209312

1. Premise

I used an Ubuntu virtual machine to install an LDAP service. The initialization was completed and the password was configured. In this example, I used the Ubuntu virtual machine to build a virtual machine. The openldap installed above was used as the ldap server. After installation, use the command:

sudo dpkg-reconfigure slapd

Perform initial configuration. The configured dn and password will be used by the tools below.

2. Configure the client in local windows

First open the interface as follows:

 Click the start button in the upper left corner and select connect, as shown in the following interface

 Double-click the New connection button in the frame above, and the following interface will pop up.

 As shown in the picture above, enter the connection name. The host entered below is the IP address of my virtual machine. The base I set is dc=example,dc=com. The authentication method is simple authentication. The following TLS can be tried later, and then The following user account settings are critical. By default, anonymous user connections are used. This is convenient and requires no configuration. However, in this case, you can only perform query operations when operating on the previous interface, and cannot perform modification, addition, or deletion operations. ;So here I set the admin account and password. This account password is the LDAP password you set when configuring the LDAP Server initialization. Finally, click OK to save successfully.

Then double-click the newly created "Test Connection" to open the interface as follows:

I created a data with uid=jelly under the People group. Right-click to modify, rename, delete, etc., as shown in the figure below:

This client completely replaces the command line to operate the LDAP Server data through the ldapsearch, ldapdelete and ldapmodify commands. It is similar to the database client and operates the data through the client interface. In essence, it also sends these addition, deletion, and modification commands. parameters to operate. 

Guess you like

Origin blog.csdn.net/u013896064/article/details/128101325