ViewVC logotype

Contents of /trunk/nl.nikhef.ndpf.tools/mkgroup-sshlpk/README.txt

Parent Directory Parent Directory | Revision Log Revision Log

Revision 42 - (show annotations) (download)
Mon Jan 5 08:20:21 2009 UTC (13 years, 8 months ago) by davidg
File MIME type: text/plain
File size: 1048 byte(s)
Added command and filter capability

1 Generate a list of all unique sshPublicKeys for all members of the
2 directory groups specified on the command line.
4 Usage: ./mkgroup-sshlpk [-h] [-H uri] [-b DITbase] [-o file] [-f] [-v[v]]
5 groupRDN [groupRDN]
6 -h Display this help text
7 -H uri Connect to LDAP server at <uri>
8 (default: ldaps://teugel.nikhef.nl/)
9 -b base Search base DIT for groups
10 (default: ou=DirectoryGroups,dc=farmnet,dc=nikhef,dc=nl)
11 -c prfx Prefix pre-pended to each line written. Any text in the
12 original sshPublicKey attribute before the tokens " ssh-.sa "
13 or " d+ d+ " is replaced.
14 -o file Writing list of sshPublicKeys to <file>
15 (only when at least one sshPublicKey is retrieved, unless
16 -f is also specified)
17 -f Force writing even if the list of keys is empty
19 groupRDN name of groups to traverse for members (list)
21 Example:
22 ./mkgroup-sshlpk systemAdministrators nDPFPrivilegedUsers
24 Dependencies:
25 perl-LDAP, and perl-IO-Socket-SSL & perl-Net-SSLeay for ldaps (0)

ViewVC Help
Powered by ViewVC 1.1.28