I added some drush commands to ldap_integration, and in the process abstracted all the SQL out to a separate .inc file.
I'm attaching three files:
* ldapauth.db.txt - new include file containing all DB calls (rename to .inc)
* ldapauth.drush.txt - new include file for drush commands (rename to .inc)
* ldap.patch - a patch file for changes to existing code. This is patched against against 6.x-1.0-beta2, sorry about that. I'll try to patch the latest dev release at some point.
I've added drush commands for all ldapauth settings, but I haven't done any for groups or data yet.
Comments
Comment #1
lambic commentedgrr my attachments disappeared, here they are again
Comment #2
lambic commentedAttached is my latest patch for this, with full db abstraction and ldapgroups.drush.inc, just need ldapdata.drush.inc now.
Comment #3
lambic commentedI've bought my changes in line with the 6.x-1.x-dev release, patch attached.
Comment #4
lambic commentedsome bug fixes and moved ldapdata serialization into db.inc
Comment #5
john franklin commentedI like the concepts presented in this patch, especially the extensive drush support, abstracted DB API. But it's four years out of date and needs to be re-rolled.