Open natefoo opened 4 months ago
Ohhh damn. I am always amazed at, with all the complexities that exist in LDAP and its extensions, the biggest headaches are due to GLAuth attempting to simplify users and groups while remaining correct.
Thanks for bringing this up, though.
I appreciate GLAuth's goal of simplification, it's why I'm planning to replace my small slapd setup with it! Unfortunately there are so many different client configurations and expectations.
In my case I have a user
nate
with primaryGroupnate
, this results in two results for the(uid=$user)
filtered query in goklp:And thus goklp fails due to multiple results:
This is related to https://github.com/glauth/glauth/issues/181 and the somewhat unusual duplication of groups into the users OU and DN construction choices.
This is easily worked around with the following additional filter:
But I do wonder if it would be a good idea to prevent groups from appearing under the users OU and sort out the DN issues in general.