Would be wonderful to integrate with Features Module/Ctools Exportables to allow for moving LDAP server configs into code.

Thanks!

Comments

bsevere’s picture

We have a need for this as well. There are some features/strongarm incompatibilities to address. Specifically, the use of constants to populate the edit form in ldapauth prevents strongarm from overriding values. However, the module does force a unique name for LDAP configurations which is the fist step to make data exportable.

I am in the process of writing a patch to fix the constants issue and make this module exportable. I hope to have it ready by next week, time permitting.

Bill

geerlingguy’s picture

Subscribe.

Daeluin’s picture

Subscribing.

We are getting around this using an install file, but full features integration would be great!

johnbarclay’s picture

Features support is in the ldap project d7 (http://drupal.org/project/ldap) issue queue also #807420: Support Exportables. We are architecting for it in the db layer by avoiding auto increments which will make implementation simple.

bsevere’s picture

We are still a long way from migrating to D7 so I plan to finish this patch...at some point. I am about half way through but have been sidetracked by other priorities. I hope to finish up in January.

inductor’s picture

Status: Active » Needs review
StatusFileSize
new9.85 KB

And here`s the initial patch. It addresses only 'ldapauth' table schema, not including variables, Please, test.

inductor’s picture

One more option - the patch against the 6.x-1.0-beta2 to ease the testing.

inductor’s picture

And this patch replaces all constants addressed in #1 to global variables. I can confirm this works with the Strongarm. Anyoune else willing to test?

autopoietic’s picture

is #8 intended to be applied to beta2 or to dev?

cgmonroe’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Assigned: Unassigned » cgmonroe
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.