| 44 | == LDAP reports == |
| 45 | To get total number of registered user run following command: |
| 46 | {{{ |
| 47 | ldapsearch -h ldap.orbit-lab.org -p 389 -x -D "cn=admin,dc=orbit-lab, dc=org" -w <ldap secret> "objectClass=person" uid -z 0 |
| 48 | }}} |
| 49 | ''numEntries'' represents number of users |
| 50 | |
| 51 | |
| 52 | To get total number of registered organizations run following command: |
| 53 | {{{ |
| 54 | ldapsearch -h ldap.orbit-lab.org -p 389 -x -b "dc=orbit-lab, dc=org" "objectclass=organizationalUnit" |
| 55 | }}} |
| 56 | |
| 57 | |
| 58 | ''numEntries'' represents number of organizations |
| 59 | |
| 60 | Get list of registrated organizations |
| 61 | {{{ |
| 62 | ldapsearch -LLL -h ldap.orbit-lab.org -p 389 -x -b "dc=orbit-lab, dc=org" "objectclass=organizationalUnit" ou |grep ^ou:|sed -e 's/ou: //' |
| 63 | }}} |