Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| centos:ldap_c7:install [16.07.2015 07:30. ] – [olcIdleTimeout] django | centos:ldap_c7:install [20.11.2018 13:54. ] (aktuell) – [olcLogLevel] django | ||
|---|---|---|---|
| Zeile 950: | Zeile 950: | ||
| Auch hier können wir überprüfen, | Auch hier können wir überprüfen, | ||
| - | # ldapsearch -W -x -D cn=config -b olcDatabase={2}hdb, | + | # ldapsearch -W -x -D cn=config -b cn=config |
| Enter LDAP Password: | Enter LDAP Password: | ||
| Zeile 961: | Zeile 961: | ||
| # | # | ||
| - | # {2}hdb, | + | # config |
| - | dn: olcDatabase={2}hdb, | + | dn: cn=config |
| - | objectClass: | + | objectClass: |
| - | objectClass: olcHdbConfig | + | cn: config |
| - | olcDatabase: | + | olcArgsFile: /var/run/openldap/ |
| - | olcDbDirectory: /var/lib/ldap | + | olcIdleTimeout: 30 |
| - | olcDbIndex: objectClass eq,pres | + | |
| - | olcDbIndex: ou, | + | |
| - | olcSuffix: dc=nausch, | + | |
| - | olcRootDN: cn=Manager, | + | |
| - | olcRootPW: {SSHA}MwDWrwwRnw95zMtKA5bS/ | + | |
| # search result | # search result | ||
| Zeile 978: | Zeile 973: | ||
| # numResponses: | # numResponses: | ||
| - | # numEntries: 1</ | + | # numEntries: 1 |
| + | </ | ||
| ==== olcTimeLimit ==== | ==== olcTimeLimit ==== | ||
| Zeile 986: | Zeile 982: | ||
| # vim / | # vim / | ||
| - | <file ldif / | + | <file ldif / |
| - | # Django : 2015-07-16 | + | # Definition der max. search-Zeit nach der die Suche im LDAP-Baum abgebrochen |
| - | # Definition der max. idle-Zeit nach der die Trennung der Verbindung zum | + | # wird. |
| - | # Klient durch einen *unbind* erzwungen werden soll. | + | # https:// |
| - | # https:// | + | |
| dn: cn=config | dn: cn=config | ||
| changetype: modify | changetype: modify | ||
| - | add: olcIdleTimeout | + | add: olcTimeLimit |
| - | olcIdleTimeout: 30 | + | olcTimeLimit: 15 |
| </ | </ | ||
| + | |||
| + | Die Änderung unserer OpenLDAP-Konfiguration, | ||
| + | |||
| + | # ldapmodify -Y EXTERNAL -H ldapi:/// -f / | ||
| + | |||
| + | SASL/ | ||
| + | SASL username: gidNumber=0+uidNumber=0, | ||
| + | SASL SSF: 0 | ||
| + | modifying entry " | ||
| + | |||
| + | Auch hier überprüfen wir, ob der zusätzliche Konfigurationsparameter richtig gesetzt wurde. | ||
| + | |||
| + | # ldapsearch -W -x -D cn=config -b cn=config " | ||
| + | |||
| + | Enter LDAP Password: | ||
| + | |||
| + | < | ||
| + | # | ||
| + | # LDAPv3 | ||
| + | # base < | ||
| + | # filter: (objectclass=olcGlobal) | ||
| + | # requesting: ALL | ||
| + | # | ||
| + | |||
| + | # config | ||
| + | dn: cn=config | ||
| + | objectClass: | ||
| + | cn: config | ||
| + | olcArgsFile: | ||
| + | olcIdleTimeout: | ||
| + | olcPidFile: / | ||
| + | olcTimeLimit: | ||
| + | |||
| + | # search result | ||
| + | search: 2 | ||
| + | result: 0 Success | ||
| + | |||
| + | # numResponses: | ||
| + | # numEntries: 1 | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Zeile 1041: | Zeile 1083: | ||
| cn: config | cn: config | ||
| olcArgsFile: | olcArgsFile: | ||
| + | olcIdleTimeout: | ||
| olcPidFile: / | olcPidFile: / | ||
| - | olcTLSCACertificatePath: | ||
| - | olcTLSCertificateFile: | ||
| - | olcTLSCertificateKeyFile: | ||
| olcReferral: | olcReferral: | ||
| + | olcTimeLimit: | ||
| # search result | # search result | ||
| Zeile 1054: | Zeile 1095: | ||
| # numEntries: 1</ | # numEntries: 1</ | ||
| + | ==== olcLogLevel ==== | ||
| + | FIXME | ||
| + | |||
| + | http:// | ||
| + | |||
| + | |||
| + | # vim / | ||
| + | |||
| + | <file ldif / | ||
| + | changetype: modify | ||
| + | add: olcLogLevel | ||
| + | olcLogLevel: | ||
| + | |||
| + | |||
| + | # ldapmodify -Y EXTERNAL -H ldapi:/// -f / | ||
| + | |||
| + | SASL/ | ||
| + | SASL username: gidNumber=0+uidNumber=0, | ||
| + | SASL SSF: 0 | ||
| + | modifying entry " | ||
| + | |||
| + | |||
| + | # ldapsearch -W -x -D cn=config -b cn=config " | ||
| + | |||
| + | # Enter LDAP Password: | ||
| + | < | ||
| + | # | ||
| + | # LDAPv3 | ||
| + | # base < | ||
| + | # filter: (objectclass=olcGlobal) | ||
| + | # requesting: ALL | ||
| + | # | ||
| + | |||
| + | # config | ||
| + | dn: cn=config | ||
| + | objectClass: | ||
| + | cn: config | ||
| + | olcArgsFile: | ||
| + | olcDisallows: | ||
| + | olcIdleTimeout: | ||
| + | olcPidFile: / | ||
| + | olcReferral: | ||
| + | olcRequires: | ||
| + | olcTimeLimit: | ||
| + | olcTLSCACertificateFile: | ||
| + | olcTLSCACertificatePath: | ||
| + | olcTLSCertificateFile: | ||
| + | olcTLSCertificateKeyFile: | ||
| + | olcTLSCipherSuite: | ||
| + | olcTLSDHParamFile: | ||
| + | olcTLSProtocolMin: | ||
| + | olcLogLevel: | ||
| + | |||
| + | # search result | ||
| + | search: 2 | ||
| + | result: 0 Success | ||
| + | |||
| + | # numResponses: | ||
| + | # numEntries: 1</ | ||
| + | |||
| + | |||
| + | # vim / | ||
| + | |||
| + | <file ldif / | ||
| + | changetype: modify | ||
| + | add: olcLogLevel | ||
| + | olcLogLevel: | ||
| + | |||
| + | # ldapmodify -Y EXTERNAL -H ldapi:/// -f / | ||
| + | < | ||
| + | SASL username: gidNumber=0+uidNumber=0, | ||
| + | SASL SSF: 0 | ||
| + | modifying entry " | ||
| + | |||
| + | |||
| + | # ldapsearch -W -x -D cn=config -b cn=config " | ||
| + | |||
| + | Enter LDAP Password: | ||
| + | < | ||
| + | # | ||
| + | # LDAPv3 | ||
| + | # base < | ||
| + | # filter: (objectclass=olcGlobal) | ||
| + | # requesting: ALL | ||
| + | # | ||
| + | |||
| + | # config | ||
| + | dn: cn=config | ||
| + | objectClass: | ||
| + | cn: config | ||
| + | olcArgsFile: | ||
| + | olcDisallows: | ||
| + | olcIdleTimeout: | ||
| + | olcPidFile: / | ||
| + | olcReferral: | ||
| + | olcRequires: | ||
| + | olcTimeLimit: | ||
| + | olcTLSCACertificateFile: | ||
| + | olcTLSCACertificatePath: | ||
| + | olcTLSCertificateFile: | ||
| + | olcTLSCertificateKeyFile: | ||
| + | olcTLSCipherSuite: | ||
| + | olcTLSDHParamFile: | ||
| + | olcTLSProtocolMin: | ||
| + | olcLogLevel: | ||
| + | olcLogLevel: | ||
| + | |||
| + | # search result | ||
| + | search: 2 | ||
| + | result: 0 Success | ||
| + | |||
| + | # numResponses: | ||
| + | # numEntries: 1</ | ||
| ===== erste LDAP-Abfragen ===== | ===== erste LDAP-Abfragen ===== | ||
| Zeile 1149: | Zeile 1303: | ||
| ====== Links ====== | ====== Links ====== | ||
| - | * **⇒ [[centos: | + | * **⇒ [[centos: |
| * **[[centos: | * **[[centos: | ||
| * **[[wiki: | * **[[wiki: | ||
| * **[[http:// | * **[[http:// | ||
| - | ~~DISCUSSION~~ | + | |
| - | ~~AUTOTWEET: | + | |