Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2818: How to export zone info using addbloader.

Centrify DirectControl ,  

7 March,17 at 07:22 PM

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" 
 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.