providers/ldap: fix: Return user DN with virtual group (#1142)

* fix: incorrect ldap virtual group member DN

Signed-off-by: Toboshii Nakama <toboshii@gmail.com>

* fix: imports

Signed-off-by: Toboshii Nakama <toboshii@gmail.com>
This commit is contained in:
Toboshii Nakama
2021-07-14 05:59:40 -05:00
committed by GitHub
parent 4fe0bd4b6c
commit efa09d5e1d
2 changed files with 6 additions and 6 deletions

View File

@ -55,7 +55,7 @@ The following fields are current set for groups:
- "group"
- "goauthentik.io/ldap/group"
A virtual group is also created for each user, they have the same fields as groups but have an additional objectClass: `goauthentik.io/ldap/group`.
A virtual group is also created for each user, they have the same fields as groups but have an additional objectClass: `goauthentik.io/ldap/virtual-group`.
The virtual groups gidNumber is equal to the uidNumber of the user.
**Additionally**, for both users and (non-virtual) groups, any attributes you set are also present as LDAP Attributes.