mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented user_objects
This commit is contained in:
@@ -2070,7 +2070,7 @@
|
||||
"false"
|
||||
],
|
||||
"userObjectClasses": [
|
||||
"person, inetOrgPerson, nextcloudUser"
|
||||
"{{ ldap.user_objects | join(', ') }}"
|
||||
],
|
||||
"rdnLDAPAttribute": [
|
||||
"{{ldap.attributes.user_id}}"
|
||||
|
@@ -16,9 +16,9 @@ description: Container for application access profiles
|
||||
# Create User {{ username }}
|
||||
#######################################################################
|
||||
dn: {{ ldap.attributes.user_id }}={{ username }},{{ ldap.dn.users }}
|
||||
objectClass: top
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: posixAccount
|
||||
{% for cls in ldap.user_objects %}
|
||||
objectClass: {{ cls }}
|
||||
{% endfor %}
|
||||
{{ ldap.attributes.user_id }}: {{ username }}
|
||||
sn: {{ username }}
|
||||
cn: {{ username }}
|
||||
|
Reference in New Issue
Block a user