8000 Cant enumerate groups or members of groups · Issue #86 · glauth/glauth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cant enumerate groups or members of groups #86
Open
@camAtGitHub

Description

@camAtGitHub

As an example using sample-simple.cfg

Certain programs that use LDAP need to enumerate the groups available.

While I can see that GLAuth creates the uid as memberOf groups ie
memberOf: cn=superheros,ou=groups,dc=glauth,dc=com

It seems you can't list the groups directly like you can with users. Example.
ldapsearch -LLL -H ldap://localhost:389 -D cn=serviceuser,ou=svcaccts,dc=glauth,dc=com -w mysecret -x -bdc=glauth,dc=com ou=superheros
Returns everything from the 'superheros' OU - ie the Users listing.

However:
ldapsearch -LLL -H ldap://localhost:389 -D cn=serviceuser,ou=svcaccts,dc=glauth,dc=com -w mysecret -x -bdc=glauth,dc=com ou=groups
Returns nothing. You would expect it to return the group listings etc.

By the same convention you should be able to search a group and returns the members with the group, Example:
ldapsearch -LLL -H ldap://localhost:389 -D cn=serviceuser,ou=svcaccts,dc=glauth,dc=com -w mysecret -x -bdc=glauth,dc=com cn=svcaccts,ou=groups,dc=glauth,dc=com
Returns nothing. You would expect the group to be returned with the users of that group etc.

This functionality of search is expected by a lot of programs to correctly configure groups and RBAC based on groups etc.

Hopefully that all makes sense. Thanks Cam.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0