wheelybird / ldap-user-manager

A PHP web-based interface for LDAP user account management and self-service password change.
MIT License
487 stars 107 forks source link

fixed LDAP_GROUP_MEMBERSHIP_USES_UID not working #133

Closed LordFelius closed 2 years ago

LordFelius commented 2 years ago

should use string == 'TRUE' instead of == TRUE , as getenv returns a string , which always considered equaling a bool TRUE .

jaen commented 2 years ago

This bit me today – as a a workaround you can just not set LDAP_GROUP_MEMBERSHIP_USES_UID, but it would be nice to have a proper fix merged ;' )

wheelybird commented 2 years ago

Yep - that's a bug. I'll merge this in. Cheers.