forked from 389ds/389-ds-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Listing DS Backends
Endi S. Dewata edited this page Apr 24, 2023
·
1 revision
$ ldapsearch \ -H ldap://$HOSTNAME:389 \ -x -D "cn=Directory Manager" \ -w Secret.123 \ -b "cn=ldbm database,cn=plugins,cn=config" \ -s one \ "(objectClass=nsBackendInstance)"
dn: cn=userroot,cn=ldbm database,cn=plugins,cn=config objectClass: top objectClass: extensibleObject objectClass: nsBackendInstance cn: userroot nsslapd-suffix: dc=example,dc=com nsslapd-cachesize: -1 nsslapd-cachememsize: 67108864 nsslapd-readonly: off nsslapd-require-index: off nsslapd-directory: /var/lib/dirsrv/slapd-localhost/db/userroot nsslapd-dncachememsize: 67108864
$ dbscan -f /var/lib/dirsrv/slapd-localhost/db/userroot/id2entry.db id 1 rdn: dc=example,dc=com objectClass: domain objectClass: top dc: example creatorsName: cn=directory manager modifiersName: cn=directory manager createTimestamp: 20190719175111Z modifyTimestamp: 20190719175111Z nsUniqueId: cb359181-aa4d11e9-aae8d385-5b12da74 entryid: 1 numSubordinates: 1 id 2 rdn: dc=pki objectClass: domain objectClass: top dc: pki creatorsName: cn=directory manager modifiersName: cn=directory manager createTimestamp: 20190719175111Z modifyTimestamp: 20190719175111Z nsUniqueId: cb359182-aa4d11e9-aae8d385-5b12da74 parentid: 1 entryid: 2
$ dbscan -f /var/lib/dirsrv/slapd-localhost/db/userroot/ancestorid.db -r -n =1 1 2