In my installation (using PostgreSQL), extended_ldapgroups fails when inserting error messages using the watchdog, as the watchdog() $type parameter is only a varchar(16) in the database, i.e. too short for the string "extended_ldapgroups". I am not sure about the consequences of changing the data type to sth. like varchar(32), so I suggest to change the string to "LDAP" or the like.

CommentFileSizeAuthor
#1 extended_ldapgroups-watchdog.diff14.65 KBtpfeiffer

Comments

tpfeiffer’s picture

Status: Active » Needs review
StatusFileSize
new14.65 KB

The attached patch changes all occurences of watchdog('extended_ldapgroups', ...) to watchdog('LDAP', ...) in order to work around the varchar(16) limitation.

NB. The patch is against the code after applying the patch from http://drupal.org/node/1224950