Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| centos:ldap_c7:tecbind [17.07.2015 13:08. ] – [Konfiguration] django | centos:ldap_c7:tecbind [22.07.2019 15:03. ] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 410: | Zeile 410: | ||
| ==== Abfragetest ==== | ==== Abfragetest ==== | ||
| Zum Schluss fragen wir nun noch ab, ob die Berechtigungen richtig gesetzt wurden. | Zum Schluss fragen wir nun noch ab, ob die Berechtigungen richtig gesetzt wurden. | ||
| + | # ldapsearch -W -x -D cn=config -b olcDatabase={2}hdb, | ||
| + | Enter LDAP Password: | ||
| + | < | ||
| + | # | ||
| + | # LDAPv3 | ||
| + | # base < | ||
| + | # filter: (objectclass=*) | ||
| + | # requesting: ALL | ||
| + | # | ||
| + | |||
| + | # {2}hdb, config | ||
| + | dn: olcDatabase={2}hdb, | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | olcDatabase: | ||
| + | olcDbDirectory: | ||
| + | olcSuffix: dc=nausch, | ||
| + | olcRootDN: cn=Manager, | ||
| + | olcRootPW: {SSHA}lffku/ | ||
| + | olcDbIndex: objectClass eq,pres | ||
| + | olcDbIndex: ou, | ||
| + | olcDbIndex: uidNumber, | ||
| + | olcDbIndex: uid, | ||
| + | olcDbIndex: nisMapName, | ||
| + | olcDbIndex: uniqueMember eq,pres | ||
| + | olcAccess: {0}to attrs=userPassword, | ||
| + | y self write by dn=" | ||
| + | | ||
| + | olcAccess: {1}to dn=" | ||
| + | olcAccess: {2}to dn=" | ||
| + | " | ||
| + | olcAccess: {3}to dn.regex=" | ||
| + | by dn=" | ||
| + | | ||
| + | y * none | ||
| + | olcAccess: {4}to dn.regex=" | ||
| + | te by dn=" | ||
| + | | ||
| + | by * none | ||
| + | olcAccess: {5}to * by self write by dn.base=" | ||
| + | e by * read | ||
| + | |||
| + | # search result | ||
| + | search: 2 | ||
| + | result: 0 Success | ||
| + | |||
| + | # numResponses: | ||
| + | # numEntries: 1</ | ||
| + | |||
| + | ====== Links ====== | ||
| + | * **⇐ [[centos: | ||
| + | * **⇒ [[centos: | ||
| + | * **[[centos: | ||
| + | * **[[wiki: | ||
| + | * **[[http:// | ||