mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Set LDAP uid variable
This commit is contained in:
@@ -98,9 +98,9 @@ return array (
|
||||
'mail' => 'email',
|
||||
# 'quota' => 'nextcloudQuota', # Not implemented yet
|
||||
# 'home' => 'homeDirectory', # Not implemented yet
|
||||
'ldap_uid' => 'uid',
|
||||
'ldap_uid' => '{{ldap.attributes.user_id}}',
|
||||
# 'groups' => 'ownCloudGroups', # Not implemented yet
|
||||
'login_filter' => 'realm_access_roles',
|
||||
# 'login_filter' => 'realm_access_roles',
|
||||
// 'photoURL' => 'picture',
|
||||
// 'is_admin' => 'ownCloudAdmin',
|
||||
),
|
||||
|
@@ -107,7 +107,7 @@ nextcloud_ldap_configuration:
|
||||
-
|
||||
appid: "user_ldap"
|
||||
configkey: "s01ldap_login_filter"
|
||||
configvalue: "(&(|(objectclass=inetOrgPerson))(uid=%uid))"
|
||||
configvalue: "(&(|(objectclass=inetOrgPerson))({{ldap.attributes.user_id}}=%{{ldap.attributes.user_id}}))"
|
||||
-
|
||||
appid: "user_ldap"
|
||||
configkey: "s01ldap_login_filter_mode"
|
||||
@@ -175,4 +175,4 @@ nextcloud_ldap_configuration:
|
||||
-
|
||||
appid: "user_ldap"
|
||||
configkey: "s01ldap_expert_username_attr"
|
||||
configvalue: "uid"
|
||||
configvalue: "{{ldap.attributes.user_id}}"
|
Reference in New Issue
Block a user