Install OpenLDAP for UIB
Install and configure OpenLDAP
- Install packages
-
Set up olcSuffix and admin user
-
Add password hash to ldif file
- Run ldapmodify:
admin.ldif: - Set up admin user for UIB
- ldapadd -x -D cn=uibadmin,dc=yourdomain,dc=no -W -f uibadmin.ldif
uibadmin.ldif: - Run ldapmodify to give uibadmin necessary permissions:
uibadmin-acl.ldif:
Ldap commands
Find all
Find specific user "useradmin"
Print 1 when useradmin is found:
Delete entry
Working with MySQL from UIB with the command line
Examples taken from http://www.cyberciti.biz/faq/mysql-command-to-show-list-of-databases-on-server/