Using module to map a lot of attributes from ldap to user. Around 25 or so that will only be readable by users. Module works great when selecting 13 or less. When selecting 14 or more attribues readable by user and trying to save, it actually saves none of the attributes. Going back into the settings after the save, and all boxes are unchecked. Only happens when saving 14 or more.

Comments

jjemmett’s picture

One possible solution is to change the following fields from SHORTTEXT to LONGTEXT:

ALTER TABLE `ldapauth` CHANGE `ldapdata_rwattrs` `ldapdata_rwattrs` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
CHANGE `ldapdata_roattrs` `ldapdata_roattrs` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
CHANGE `ldapdata_mappings` `ldapdata_mappings` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL

miglius’s picture

Version: 6.x-1.0-alpha2 » 6.x-1.x-dev
Status: Active » Fixed
Issue tags: +ldapdata

Those fields now are 'text'.

Status: Fixed » Closed (fixed)
Issue tags: -ldapdata

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