Applies to: Centrify DirectControl 5.1
Question:
Is it possible to export the complete zone information to a database?
Answer:
The addbloader command allows a database file to be created with zone information.
adreport can be used to generate reports from this file, or read it with standard sqlite tools.
The basic syntax for the addbloader program is:
/usr/share/centrifydc/adedit/addbloader -db dbPath -config fileName [-v]
Examples of using addbloader
The following command creates a database file containing zone information.
/usr/share/centrifydc/adedit/addbloader -db /tmp/zone_report -config ./zone_report.config -v
-db refers to the location in which to create the database file, including the filename
-config refers to a configuration file created. In the configuration file, bind and load information for the zones needs to be specified.
For example, the configuration file could contain information such as the following:
bind acme.com administrator {myP@$swd}
cache on
load_root "cn=finance,cn=global,cn=zones,ou=unix,dc=acme,dc=com"
load_root "cn=global,cn=zones,ou=unix,dc=acme,dc=com"