dataset/seed/applicationservice/2022.03.08/openldap/templates/users_mod.ldif

29 lines
861 B
Text
Raw Normal View History

2022-03-15 12:12:09 +01:00
# Remote
%for %%remote in %%accounts.remotes
%set %%name = %%normalize_family(%%remote)
dn: %%accounts['remote_' + %%name]['dn_' + %%name]
changetype: modify
replace: userPassword
userPassword:: %%ssha_encode(%%accounts['remote_' + %%name]['password_' + %%name])
%end for
2022-05-04 10:29:03 +02:00
## Users
2022-05-07 08:11:18 +02:00
#%set %%users = %%calc_ldapclient_base_dn(%%ldap_base_dn, '')
2022-05-04 10:29:03 +02:00
#%for %%user in %%accounts.users.ldap_user_mail
2022-05-07 08:11:18 +02:00
#dn: cn=%%user,%%users
2022-05-04 10:29:03 +02:00
#changetype: modify
#replace: homeDirectory
#homeDirectory: /srv/home/users/%%user
#
#%end for
## Families
#%for %%family in %%accounts.families
2022-05-07 08:11:18 +02:00
# %set %%families = %%calc_ldapclient_base_dn(%%ldap_base_dn, %%family)
2022-05-04 10:29:03 +02:00
# %for %%user in %%accounts['family_' + %%family]['users_' + %%family]['ldap_user_mail_' + %%family]
2022-05-07 08:11:18 +02:00
#dn: cn=%%user,%%families
2022-05-04 10:29:03 +02:00
#replace: homeDirectory
#homeDirectory: /srv/home/families/%%family/%%user
#
# %end for
#%end for