lcmaps_ldap_enf.mod -maxuid maxuid -maxpgid maxpgid -maxsgid maxsgid -hostname hostname -port port [-require_all_groups {yes|no}] -dn_manager DN -ldap_pw filename -sb_groups searchbase -sb_user searchbase -timeout seconds


Ldap enforcement plugin will alter the user and group settings in the ldap database, using the user and groups settings provided by the credential acquisition plugins. Note that LDAP has to be used as the source of account information for PAM or NSS and has to be RFC\~2307 compliant.



Maximum number of uids to be used. Strongly advised is to set this to 1.


Maximum number of primary gids to be used.


Maximum number of (secondary) gids to be used (not including primary group). Advised is to set this to 1.


The hostname on which the LDAP server is running, e.g.


The port number to which to connect, e.g. 389


Specify if all groups set by the PluginManager shall be used. Default is 'yes'.


DN of the LDAP manager, e.g. "cn=Manager,dc=root"


Path to the file containing the password of the LDAP manager. Note: the mode of the file containing the password must be read-only for root (400), otherwise the plugin will not run.


Search base for the (secondary) groups, e.g. "ou=LocalGroups, dc=example, dc=com"


Search base for the user, e.g. "ou=LocalUsers, dc=example, dc=com"


timeout (in seconds) that will be applied to the ldap binding







Please report any errors to the Nikhef Grid Middleware Security Team <[email protected]>.

RELATED TO lcmaps_ldap_enf.mod…

lcmaps.db(5), lcmaps(3), ldap(3).


LCMAPS and the LCMAPS plug-ins were written by the Grid Middleware Security Team <[email protected]>.