Skip to content

EGRID website

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

egrid-ldap2gridmap

Make a grid-mapfile from LDAP posixAccount entries



NAME

egrid-ldap2gridmap - Make a grid-mapfile from LDAP posixAccount entries


SYNOPSIS

egrid-ldap2gridmap --host HOSTNAME --basedn DN [OPTIONS]

Options:

-H, --uri URI
Set host, port and base DN simultaneously, using a URI of the form
  ldap://HOST[:PORT]/BASEDN

May be repeated multiple times; egrid-ldap2gridmap will combine results in the output.

-h, --host
LDAP server hostname or IP address. Deprecated in favor of --uri.

-p, --port
LDAP server port (default: 389). Deprecated in favor of --uri.

-b, --basedn
base DN for LDAP search. Deprecated in favor of --uri.

-o, --output
Filename to write output to

--safe
Don't write output file if it would be empty

--no-safe
Write output file even if empty

-A, --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

Outputs to standard output if no --output option is given.


DESCRIPTION

egrid-ldap2gridmap searches for entries of object class posixAccount in the given LDAP tree; for each posixAccount entry, if an attribute description having value subject=... is present, then a line containing the certificate subject (enclosed in double quotes) and the posixAccount uid is output.


BUGS

No support for LDAP over SSL.

The --verbose option does not yet report very much information.


DOWNLOAD

You can download RPM packages of the EGRID SE Tools from http://www.egrid.it/download/rpm/RPMS.egrid; Debian packages from http://www.egrid.it/download/deb/egrid.

You can browse the source code for this software from the EGRID CVS at http://www.egrid.it/cvs/middleware/se/


COPYRIGHT AND LICENSE

Copyright (c) 2004,2005 Riccardo Murri riccardo.murri@ictp.it for the EGRID project http://www.egrid.it/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Created by manager
Contributors : Riccardo Murri
Last modified 2006-10-06 01:20
 

Powered by Plone

This site conforms to the following standards: