Skip to content

EGRID website

Sections
Personal tools
You are here: Home » Software » EGRID System Administration commands » EGRID release 2 » egrid-cert2ldif

egrid-cert2ldif

Create LDIF from User's PEM Certificate
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 uid field in posixAccount LDIF). If EMAIL is not given, then try to extract one from the certificate.

-U, --username [NAME]
Use NAME for the uid field in the posixAccount object and cn in the posixGroup object in LDIF. If NAME is not given, then try to extract one from the certificate.

-u, --uid NUM
Use NUM as uidNumber in the posixAccount object on LDIF.

-g, --gid NUM
Use NUM as gidNumber in the posixGroup object 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/

Created by manager
Last modified 2006-09-20 06:16
 

Powered by Plone

This site conforms to the following standards: