These are the tools used to manage LDAP issues On wiki, the crontab of the admin user has: 00 */4 * * * ldap-ilog-update-wikinames 08 */4 * * * ldap-ilog-update-wikinames -c Basically, it: * dumps ldap in a unix-friendly format, /www/wiki/pub/ldap-wikinames * makes a wiki topic for user perusal .../wiki/bin/view/Intranet/LdapWikiNamesTable To force a regeneration, perform as user webcore on server: ldap-ilog-update-wikinames ldap-ilog-update-wikinames -c Production tools: ================= ldap-ilog-update-wikinames will dump the ILOG LDAP contents, and create a wiki topic Intranet.LdapWikiNamesTable.txt summarizing all The script is re-run 8mn afterwards in "re-use dump, to create logins" on wiki1, and runs it on wiki2 changes are mailed to XXX it uses: ldap-ilog-dump-wikiname to dump the accounts in unix format wiki-register to actually create wiki accounts ldap-ilog-dump-wikiname Dumps into a unix-friendly-format: (one entry per line) Wikiname login email # comment Where comment is the content of the AD comment field. Exemple: YouAla yala yala@ilogue.fr # You Ala, Users, Sales, France, Europe, Corporate, ilog.biz wiki-register This is a shell wrapper that call the wiki cgi script register-ldap to actually create the account register-ldap This a copy of the "bin/register" wiki script. Normally it is used to create a wiki account from avlues entered in a web form, and this version is modified to use HTTP GET parameters instead: name, email, wikiname, uid, comments See its use in the call to wget in wiki-register Debug / dev tools: ================== wiki-register-all creates all accounts listed in in a ldap dump (default is /www/wiki/pub/ldap-wikinames) wiki-ldap-check-accounts For the one-shot migration: scans all existing wiki accounts and add an account: field to the people dir if not present wiki-ldap-account-none [wiki-home-topic-files...] Sets the Account: field to none in topics. Used when employees leave the people dir ldap-ilog-dump-user login Dumps the LDAP info on user of login login e.g: ldap-ilog-dump-user cnahaboo ldap-ilog-dump-users Dumps the LDAP contents in human readable terse format, one entry per line