Changes between Version 5 and Version 6 of Internal/cProcedures/aGeneratingReports
- Timestamp:
- Apr 7, 2016, 12:57:45 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/cProcedures/aGeneratingReports
v5 v6 43 43 44 44 == LDAP reports == 45 To get total number of registered user run following command:45 *To get total number of registered user run following command: 46 46 {{{ 47 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 48 }}} 49 '' numEntries'' represents number of users49 '''numEntries''' represents number of users 50 50 51 51 52 To get total number of registered organizations run following command:52 *To get total number of registered organizations run following command: 53 53 {{{ 54 54 ldapsearch -h ldap.orbit-lab.org -p 389 -x -b "dc=orbit-lab, dc=org" "objectclass=organizationalUnit" … … 56 56 57 57 58 '' numEntries'' represents number of organizations58 '''numEntries''' represents number of organizations 59 59 60 Get list of registrated organizations 60 * Get list of registered organizations: 61 61 {{{ 62 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 63 }}} 64 65 * Get number of users per organization: 66 sh ldapUsers.sh groups.txt 67 68