$commands{"--set-VAR=value"}=["Set the variable VAR to value see --list-vars",\&die];# Won't be called because it contains uppercase
$commands{"--list-deprecated"}=["List deprecated attributes and objectclasses",\&list_deprecated];
$commands{"--check-deprecated"}=["List LDAP entries using deprecated attributes or objectclasses",\&check_deprecated];
$commands{"--check-deprecated"}=["List LDAP entries using deprecated attributes or objectclasses",\&check_deprecated];
$commands{"--ldif-deprecated"}=["# Print an LDIF removing deprecated attributes",\&ldif_deprecated];
$commands{"--show-config"}=["Show an LDAP dump of the FusionDirectory configuration",\&show_ldap_config];
$commands{"--show-config"}=["Show an LDAP dump of the FusionDirectory configuration",\&show_ldap_config];
$commands{"--set-config-VAR=value"}=["Set the value in LDAP of a configuration field",\&set_config_var];
my$usage=0;
...
...
@@ -1773,6 +1828,10 @@ This option perform a check on FusionDirectory's config file.
This option check your LDAP tree. Looking for admin account, and groups or people branch. If one of those don't exists, the script will ask you what to do.
=item --check-ids
This option check your LDAP tree for duplicated uidNumber or gidNumber among users and groups.
=item --migrate-users
This option add FusionDirectory attributes to the people branch.