providers/ldap: making ldap compatible with synology (#4694)
* internal/outpost/ldap: making ldap compatible with synology * fix duplicate attributes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add docs about homedirectory Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix duplicate attributes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add substitution to values Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -12,6 +12,7 @@ const (
|
||||
OCGroupOfNames = "groupOfNames"
|
||||
OCAKGroup = "goauthentik.io/ldap/group"
|
||||
OCAKVirtualGroup = "goauthentik.io/ldap/virtual-group"
|
||||
OCPosixGroup = "posixGroup"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -19,6 +20,7 @@ const (
|
||||
OCOrgPerson = "organizationalPerson"
|
||||
OCInetOrgPerson = "inetOrgPerson"
|
||||
OCAKUser = "goauthentik.io/ldap/user"
|
||||
OCPosixAccount = "posixAccount"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -47,6 +49,7 @@ func GetUserOCs() map[string]bool {
|
||||
OCOrgPerson: true,
|
||||
OCInetOrgPerson: true,
|
||||
OCAKUser: true,
|
||||
OCPosixAccount: true,
|
||||
}
|
||||
}
|
||||
|
||||
@ -56,6 +59,7 @@ func GetGroupOCs() map[string]bool {
|
||||
OCGroupOfUniqueNames: true,
|
||||
OCGroupOfNames: true,
|
||||
OCAKGroup: true,
|
||||
OCPosixGroup: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user