Webmin configuration for LDAP
We cannot add or delete users by default so we have to do below changes in LDAP module in GUI mode only.
Configuring the module
The most complex part of using this module is configuring it to talk to your LDAP server. By default, it will attempt to auto-detect the settings by looking at the LDAP client settings on your system, documented on the LDAPClient page. However, if this fails (perhaps because the LDAP server is not one of its own clients), you will need to configure the module manually as follows :
On the module's main page, click on the Module Config link.
In the LDAP server host field, enter the hostname of your LDAP server. If it is running on the same machine, enter localhost.
If the LDAP server is using encryption, change the LDAP server uses TLS? option to Yes.
In the Bind to LDAP server as field, enter the full DN of the administrative user for your LDAP server. This might be something like cn=Manager,dc=my-domain,dc=com.
In the Credentials for bind name above field, enter the password for the above administrative DN.
In the Base for users field, enter the DN under which all users can be found and which new users should be created. This is typically something like dc=Users,dc=my-domain,dc=com .
Similarly, in the Base for groups field, enter the DN under which groups are found and which new groups should be created. This is typically something like dc=Groups,dc=my-domain,dc=com .
Click the Save button.
Configuring the module
The most complex part of using this module is configuring it to talk to your LDAP server. By default, it will attempt to auto-detect the settings by looking at the LDAP client settings on your system, documented on the LDAPClient page. However, if this fails (perhaps because the LDAP server is not one of its own clients), you will need to configure the module manually as follows :
On the module's main page, click on the Module Config link.
In the LDAP server host field, enter the hostname of your LDAP server. If it is running on the same machine, enter localhost.
If the LDAP server is using encryption, change the LDAP server uses TLS? option to Yes.
In the Bind to LDAP server as field, enter the full DN of the administrative user for your LDAP server. This might be something like cn=Manager,dc=my-domain,dc=com.
In the Credentials for bind name above field, enter the password for the above administrative DN.
In the Base for users field, enter the DN under which all users can be found and which new users should be created. This is typically something like dc=Users,dc=my-domain,dc=com .
Similarly, in the Base for groups field, enter the DN under which groups are found and which new groups should be created. This is typically something like dc=Groups,dc=my-domain,dc=com .
Click the Save button.
Comments
Post a Comment