...
The schema for the database is below. It can also be found in the application if the user has database::read permission by going to menu: Manage -> Database -> List Database, then clicking on the "summariesldap_servers" table.
Code Block | ||||
---|---|---|---|---|
| ||||
CREATE TABLE `summaries``ldap_servers` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100200) NOT NULL DEFAULT '', `org_id` int(10) unsigned NOT NULL DEFAULT '1', `table` varchar(100', `description` text NOT NULL, `lang` varchar(200) NOT NULL DEFAULT 'en', `host` varchar(200) NOT NULL DEFAULT '', `port` varchar(200) NOT NULL DEFAULT '385', `secure` enum('y','n') NOT NULL DEFAULT 'n', `domain` varchar(200) NOT NULL DEFAULT '', `type` enum('active directory','openldap') NOT NULL DEFAULT 'active directory', `version` int(1) unsigned NOT NULL DEFAULT '3', `base_dn` varchar(200) NOT NULL DEFAULT '', `user_dn` varchar(200) NOT NULL DEFAULT '', `user_membership_attribute` varchar(200) NOT NULL DEFAULT 'memberUid', `use_roles` enum('y','n') NOT NULL DEFAULT 'n', `column``dn_account` varchar(100200) NOT NULL DEFAULT '', `extra_columns` text `dn_password` varchar(250) NOT NULL DEFAULT '', `refresh` int(10) unsigned NOT NULL DEFAULT '24', `refreshed` datetime NOT NULL DEFAULT '2000-01-01 00:00:00', `edited_by` varchar(200) NOT NULL DEFAULT '', `edited_date` datetime NOT NULL DEFAULT '2000-01-01 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=139 DEFAULT CHARSET=utf8; |
A typical entry looks as below.
Code Block | ||||
---|---|---|---|---|
| ||||
id: 8 id: 6 name: Manufacturers My Business org_id: 1 description: LDAP lang: en host: 192.168.1.200 port: 389 secure: y domain: ldap.mybusiness.com type: active directory version: 3 tablebase_dn: system user_dn: column: manufacturer extra_columns: system.modeluser_membership_attribute: memberUid use_roles: n editeddn_byaccount: system nmis edited_datedn_password: znfN8ixkwOqEmtEaDJocqZ/5hyIQi3Ih2NuJLBt/SAniG5p4uqN4qJbJCsFT1BNIvgWSRR3XBhFqXjf1jCxghg== refresh: 24 refreshed: 2000-01-01 00:00:00 edited_by: Open-AudIT Enterprise edited_date: 2017-05-22 03:30:39 |
API / Web Access
You can access the /summaries collection using the normal Open-AudIT JSON based API. Just like any other collection. Please see the API documentation for further details.
...