Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | 6-x-1-x-dev.patch | 78.53 KB | lambic |
#3 | 6-x-1-x-dev.patch | 76.26 KB | lambic |
#2 | drush.patch | 56.92 KB | lambic |
#1 | ldapauth.db_.txt | 9.43 KB | lambic |
#1 | ldapauth.drush_.txt | 7.67 KB | lambic |
Comments
Comment #1
lambic CreditAttribution: lambic commentedgrr my attachments disappeared, here they are again
Comment #2
lambic CreditAttribution: 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 CreditAttribution: lambic commentedI've bought my changes in line with the 6.x-1.x-dev release, patch attached.
Comment #4
lambic CreditAttribution: lambic commentedsome bug fixes and moved ldapdata serialization into db.inc
Comment #5
John Franklin CreditAttribution: 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.