egrid-cert2ldif
NAME
egrid-cert2ldif - Create LDIF from User's PEM Certificate
SYNOPSIS
egrid-cert2ldif [OPTIONS] PEM [PEM ...]
Options:
- -E, --email [EMAIL]
-
Use user's email address as account name (i.e., to fill the
uidfield inposixAccountLDIF). If EMAIL is not given, then try to extract one from the certificate. - -U, --username [NAME]
-
Use NAME for the
uidfield in theposixAccountobject andcnin theposixGroupobject in LDIF. If NAME is not given, then try to extract one from the certificate. - -u, --uid NUM
-
Use NUM as
uidNumberin theposixAccountobject on LDIF. - -g, --gid NUM
-
Use NUM as
gidNumberin theposixGroupobject on LDIF. - -H, --uri URI
- Connect to LDAP server at URI and look for the first unused (uidNumber, gidNumber) pair.
- -m, --min NUM
- Start at NUM when looking for the first unused uidNumber and gidNumber.
- -M, --max NUM
- End at NUM when looking for the first unused uidNumber and gidNumber.
- -o, --output FILE
- Write LDIF to FILE, instead of standard output. Note: FILE is appended to.
- -F, --args-from FILE
- Read additional command-line arguments from FILE as if they were typed on the command-line.
- --help
- Print help text and exit
- -V, --version
- Print version number and exit
DESCRIPTION
For each PEM-encoded certificate file given on the command line, outputs a LDIF file containing the User's account information to be loaded in the EGRID User LDAP base.
BUGS
Should read a configuration file.
There ought to be a way to specify options --uid, --gid multiple
times.
There ought to be a way to specify other account informations not
provided by certificate (i.e, shadowMin, ...)
The --verbose option does not yet report very much information.
DOWNLOAD
You can download the EGRID software from http://www.egrid.it/download/software/ldap/
You can access the source code for this software from the EGRID CVS at http://www.egrid.it/cvs/egrid/ldap/
AUTHOR
Riccardo Murri rmurri@egrid.it for the EGRID Project http://www.egrid.it/
