Step 1) Disable "Enable this AUthorization Mapping"
Step 2) "Delete the account and its contents"
Step 3) Log out
Step 4) Login to user
Step 5) User has been mapped to admin

Settings:
"Enable this Auth Mapping" Disabled
"Only apply following to authenticated via LDAP" Disabled
"Roles by Attribute" Enabled => "memberOf"
"Mapping LDAP to Drupal" => "CN=IS,CN=Users,DC=atlanticgeneral,DC=org|admin"
"Use LDAP to Drupal Filter" checked
IV.B/C all checked

CommentFileSizeAuthor
#2 mapping-settings-error.png130.68 KBlupa18

Comments

johnbarclay’s picture

Version: 7.x-1.0-unstable4 » 7.x-1.0-unstable5
Category: bug » feature

Yeah. I see the issue. When you disable the mapping, you should get an option to remove all the users' roles that it mapped. Is this what you are getting at?

lupa18’s picture

StatusFileSize
new130.68 KB

Here similar problem. It tries to write to db but has some error (see attach)

johnbarclay’s picture

Title: "Enable this AUthorization Mapping" uneffective » need longer db fields for certain ldap fields
Version: 7.x-1.0-unstable5 » 7.x-1.x-dev
Component: Unit test » Code
Assigned: Unassigned » johnbarclay
Category: feature » bug
johnbarclay’s picture

sorry I misunderstood this one. Its fixed now.

micahw156’s picture

Status: Active » Needs review

Schema changes were implemented in 7.x-1.0-unstable6 (commit 64e2ff0).

Please note, there are schema changes but not updates in this build. You will need to disable and uninstall the earlier build before upgrading in order to test this.

@wernercd and @lupa18: does the latest build fix your problems?

johnbarclay’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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