Closed (fixed)
Project:
Lightweight Directory Access Protocol
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2013 at 21:47 UTC
Updated:
22 Mar 2013 at 13:10 UTC
When using features to restore ldap servers i'm unable to make updates to the servers.
PHP 5.4.6
drupal 7.x dev
features --dev
ldap --dev
To reproduce... create fresh drupal site using latest dev code.
install latest ldap and features modules
- use features to enable an example ldap server
- navigate to Administration » Configuration » People » LDAP Configuration » Servers
- attempt to make a change and save
-- no errors just every time I click save the page refreshes with the previous values unchanged.
Comments
Comment #0.0
steverweber commentedmake report simple
Comment #1
Laz5530 commentedThe same here.
I had to create a new server configuration.
Comment #2
steverweber commentedI got around the issue by doing this:
in file LdapServerAdmin.class.php at function:
Can we please have a developer take a look and resolve this issue.
Thanks.
Comment #3
johnbarclay commentedCan someone submit this as a patch against 7.x-2.x-dev? I'm upping this to major as Features support is important.
Comment #4
steverweber commentedPlease don't make this quick fix directly a patch. It works but its a hack :)
Comment #5
steverweber commentedNote I had to do the same change in:
LdapAuthorizationConsumerConfAdmin.class.php
so updates to Authorization settings take hold.
Comment #6
steverweber commentedAnother issue that needs to be resolved:
in file:
LdapAuthorizationConsumerConf.class.php
the mappings are wrong and this prevents only_ldap_authenticated from working.
corrected mappings
Comment #7
johnbarclay commentedNot sure where that code came from, but the current version has that: http://drupalcode.org/project/ldap.git/blob/991b8006d1f9b9b557d59486aab3...
Maybe you need a clean reinstall of 7.x-2.x-dev.
Comment #8
steverweber commentedThanks John, I'll pull the latest commits.
Comment #9
johnbarclay commentedThe following 3 patches are committed and should help with features integration
http://drupal.org/node/1882200#comment-7139236
http://drupal.org/node/1894946#comment-7135262
http://drupal.org/node/1894946#comment-7112210
Comment #10.0
(not verified) commentedfix