meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ldap:openldap [2018/07/31 09:37] niziakldap:openldap [2018/08/01 11:02] niziak
Line 5: Line 5:
     * Readme:[[https://github.com/osixia/docker-openldap|github]]     * Readme:[[https://github.com/osixia/docker-openldap|github]]
     * [[https://github.com/osixia/docker-openldap/blob/stable/example/docker-compose.yml|docker-compose.yml]]     * [[https://github.com/osixia/docker-openldap/blob/stable/example/docker-compose.yml|docker-compose.yml]]
 +  * OpenLDAP Backup [[https://github.com/osixia/docker-openldap-backup]]
   * [[http://directory.apache.org/studio/download/download-linux.html|Apache Directory Studio]]   * [[http://directory.apache.org/studio/download/download-linux.html|Apache Directory Studio]]
   * LDAP Account Manager    * LDAP Account Manager 
-    *Docker: https://hub.docker.com/r/mwaeckerlin/lam/+    * Docker: https://hub.docker.com/r/mwaeckerlin/lam/ 
 +    * <code bash>docker run -d -p 8123:80 --name lam mwaeckerlin/lam</code> 
 +      * goto **LAM configuration** / **Edit general settings**, login with default password **lam** and Change master password. Then go back and still with password lam go to Edit server profiles to setup your OpenLDAP  
 +      * user: Manager, password: lam
  
 ====== cn=config ====== ====== cn=config ======
Line 20: Line 24:
     * access by "cn=admin,cn=config"     * access by "cn=admin,cn=config"
     * default password "config"     * default password "config"
 +
 +<code bash>
 +$ ldapsearch -x -W -LLL -s base -D 'cn=admin,cn=config' -b 'cn=config' dn
 +Enter LDAP Password: 
 +dn: cn=config
 +</code>
 +
 +<code bash>
 +$ ldapsearch -x -W -LLL -D 'cn=admin,cn=config' -b 'cn=config' dn
 +Enter LDAP Password: 
 +...
 +dn: olcDatabase={1}mdb,cn=config
 +...
 +</code>
 +
 +<code bash>
 +$ ldapsearch -x -W -LLL -D 'cn=admin,cn=config' -b 'cn=config' 'olcDatabase={1}mdb'
 +Enter LDAP Password: 
 +
 +dn: olcDatabase={1}mdb,cn=config
 +objectClass: olcDatabaseConfig
 +objectClass: olcMdbConfig
 +olcDatabase: {1}mdb
 +olcDbDirectory: /var/lib/ldap
 +olcSuffix: dc=example,dc=org
 +olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,dc=example,dc=org" write by anonymous auth by * none
 +olcAccess: {1}to * by self read by dn="cn=admin,dc=example,dc=org" write  by * none
 +olcLastMod: TRUE
 +olcRootDN: cn=admin,dc=example,dc=org
 +olcRootPW: {SSHA}abcdef...
 +olcDbCheckpoint: 512 30
 +olcDbIndex: uid eq
 +olcDbIndex: mail eq
 +olcDbIndex: memberOf eq
 +olcDbIndex: entryCSN eq
 +olcDbIndex: entryUUID eq
 +olcDbIndex: objectClass eq
 +olcDbMaxSize: 1073741824
 +</code>