meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ldap:ldap-utils [2018/08/01 09:58] – created niziak | ldap:ldap-utils [2018/08/01 11:05] (current) – niziak | ||
---|---|---|---|
Line 39: | Line 39: | ||
</ | </ | ||
- | and verify if it works. | + | and verify if it works. |
<code bash> | <code bash> | ||
ldapsearch -x -W | ldapsearch -x -W | ||
+ | ldapsearch -x -w admin | ||
</ | </ | ||
+ | |||
+ | |||
+ | ====== cn=config ===== | ||
+ | |||
+ | <code bash> | ||
+ | $ ldapsearch -x -W -LLL -s base -D ' | ||
+ | Enter LDAP Password: | ||
+ | dn: cn=config | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | $ ldapsearch -x -W -LLL -D ' | ||
+ | Enter LDAP Password: | ||
+ | ... | ||
+ | dn: olcDatabase={1}mdb, | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | $ ldapsearch -x -W -LLL -D ' | ||
+ | Enter LDAP Password: | ||
+ | |||
+ | dn: olcDatabase={1}mdb, | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | olcDatabase: | ||
+ | olcDbDirectory: | ||
+ | olcSuffix: dc=example, | ||
+ | olcAccess: {0}to attrs=userPassword, | ||
+ | olcAccess: {1}to * by self read by dn=" | ||
+ | olcLastMod: TRUE | ||
+ | olcRootDN: cn=admin, | ||
+ | olcRootPW: {SSHA}abcdef... | ||
+ | olcDbCheckpoint: | ||
+ | olcDbIndex: uid eq | ||
+ | olcDbIndex: mail eq | ||
+ | olcDbIndex: memberOf eq | ||
+ | olcDbIndex: entryCSN eq | ||
+ | olcDbIndex: entryUUID eq | ||
+ | olcDbIndex: objectClass eq | ||
+ | olcDbMaxSize: | ||
+ | </ | ||
+ | |||
====== SASL ====== | ====== SASL ====== |