I have an attribute called extensionAttribute1 in all my users.

The value of this field should be the Group name.

I created the Group node type, i activated it, in the field "Attribute:" i inserted extensionAttribute1.

In the field "Value:" i tried "0", and when the user logs in, i get this message:
warning: strstr() [function.strstr]: Empty delimiter in N:\xampp\htdocs\siofm\sites\all\modules\og_ldap\og_ldap.module on line 56.

I also tried "1", and the result is the same error message.
I also tried extensionAttribute1, but no group is created when logging in.

What am i doing wrong?

Comments

Fidelix’s picture

Just to clarify. My LDAP groups aren't real groups, the groups are the values in extensionAttribute1 for each user.