add ldif file output to import into ldap server
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>remotes/1694538624386119186/master
parent
bca295b102
commit
d44e493219
@ -0,0 +1,11 @@
|
||||
{{ range .Data.Pages }}
|
||||
dn: cn={{ .File.BaseFileName }},ou=members,dc=openpower,dc=foundation
|
||||
objectClass: groupOfNames
|
||||
cn: {{ .File.BaseFileName }}
|
||||
description: {{ .Title }}
|
||||
{{ if .Param "owner" }}
|
||||
owner: uid={{ .Param "owner" }},ou=people,dc=openpower,dc=foundation
|
||||
{{- end -}}
|
||||
member: uid=everyone,ou=people,dc=openpower,dc=foundation
|
||||
|
||||
{{ end }}
|
@ -0,0 +1,9 @@
|
||||
dn: cn={{ .File.BaseFileName }},ou=members,dc=openpower,dc=foundation
|
||||
objectClass: groupOfNames
|
||||
cn: {{ .File.BaseFileName }}
|
||||
description: {{ .Title }}
|
||||
level: {{ .Param "level" }}
|
||||
{{ if .Param "owner" }}
|
||||
owner: uid={{ .Param "owner" }},ou=people,dc=openpower,dc=foundation
|
||||
{{- end -}}
|
||||
member: uid=everyone,ou=people,dc=openpower,dc=foundation
|
Loading…
Reference in New Issue