I am using PostgreSQL and ldap_integration. When I tried enabling ldapdata, I got numerous errors about columns that weren't found in the database. After taking a quick look at ldapauth.install it was easy to see why: The columns in question were not created in my postgres-database.

I added the columns using ALTER TABLE, which removed the errors on enabling ldapdata. I created a patch to change ldapauth.install to include the new columns.
I had to change the type of ldapdata_rwattrs, ldapdata_roattrs and ldapdata_mappings from LONGTEXT to TEXT, as PostgreSQL does not have a type LONGTEXT.

CommentFileSizeAuthor
ldap_integration-5.x-1.2.psql-install.patch343 bytesfantux

Comments

kreaper’s picture

Status: Active » Closed (fixed)

This fix is already in the HEAD. Please download that or wait for 5.x-1.3