LDAPCHECK

Description

Command line program to check information in a ldap

Command

ldapcheck --user <userid>[ --domain <domain>][ --group <group>] --check <command>--user   : id of the user to be checked
--domain : domain used for the check, default one if not specified
--group  : group used for the check
--check  : the kind of check you want like 'belongs-to-group'
* 'belongs-to-domain': check if the user belongs to the domain passed in parameters
* 'belongs-to-group': check if the user belong to the group passed in parameters

Results

[ldapcheck] Result=ko|ok

Example

ldapcheck --user "test" --group "testgroup" --check "belongs-to-group"