Requirements:
Usage:
usage: ndsexporter.pl [options] -h Print this help text -c class of objects to list (default "user") -A attribute_list One NDS attribute or a quoted & comma separated list (default "cn") -T treename -C context Default= root -f character separator between attributes (default= :) -m character separator between values of multi-valued attributes (default = space) -v number Context DCK Flags (default 4) -n number Limit ouput to n lines (testing)
Some real life examples:
| ./ndsexporter.pl -C PC -c "group" | get the list of NDS groups in context PC |
| ./ndsexporter.pl -C PC -c "volume" -A "cn,Host Server,Host Resource Name" | get the selected properties for volumes in context PC |
| ./ndsexporter.pl -C PC -c "organizational unit" -A "ou" | get the list of NDS OU in context PC |
| ./ndsexporter.pl -C PC -c "group" -A "cn,member" -m ":" |grep 2a | get all members of group 2a.PC separated with a : |
Download:
History:
1.00 2002 June 06 Patrick Pollet
the program is an Perl script wrapper around ncplist to get a list of objects of a NDS class
and ncpreadprops to retrieve a liste of NDS properties for each found object
TODO:
Vous êtes notre eme visiteur