OpenLDAP/Basic setup

From openSUSE

Create certificate if you want to enable TLS.

Image:certificate1.png

Launch yast2 ldap-server, enable it to run on boot. Open firewall port if you want access from outside the firewall.

Image:ldapserver1.png


Add new database with the following information.

Image:ldapserver2.png

Hit finish at the next screen.

Image:ldapserver3.png

Click OK and close the LDAP server configuration module.

Image:ldapserver4.png

Start yast2 ldap module, fill in the details as follows, check TLS/SSL if you have created certificate, you may have to give path to the certificate when selecting TLS/SSL as /etc/ssl/certs/server.pem. Make sure you use IP address accessible from the network instead of 127.0.0.1 if the server is going to be used as LTSP/Cluster node.

Image:ldapserver5.png

Select "Administration Settings" tab, fill in the details as follows, check both the checkboxes and click "Configure User Management Settings"

Image:ldapserver6.png

Click OK, and close/finish the configuration.

Now you will be able to select LDAP from the yast2 users module to do user management via LDAP.

Image:ldapserver7.png

Image:Ldapserver8.png