Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-support / openldap / files / sources / slapd.ldif
1 #
2 # See slapd-config(5) for details on configuration options.
3 # This file should NOT be world readable.
4 #
5
6 dn: cn=config
7 objectClass: olcGlobal
8 cn: config
9 olcArgsFile: /var/run/openldap/slapd.args
10 olcPidFile: /var/run/openldap/slapd.pid
11 #
12 # TLS settings
13 #
14 olcTLSCACertificatePath: /etc/openldap/certs
15 olcTLSCertificateFile: "OpenLDAP Server"
16 olcTLSCertificateKeyFile: /etc/openldap/certs/password
17 #
18 # Do not enable referrals until AFTER you have a working directory
19 # service AND an understanding of referrals.
20 #
21 #olcReferral: ldap://root.openldap.org
22 #
23 # Sample security restrictions
24 #       Require integrity protection (prevent hijacking)
25 #       Require 112-bit (3DES or better) encryption for updates
26 #       Require 64-bit encryption for simple bind
27 #
28 #olcSecurity: ssf=1 update_ssf=112 simple_bind=64
29
30
31 #
32 # Load dynamic backend modules:
33 # - modulepath is architecture dependent value (32/64-bit system)
34 # - back_sql.la backend requires openldap-servers-sql package
35 # - dyngroup.la and dynlist.la cannot be used at the same time
36 #
37
38 #dn: cn=module,cn=config
39 #objectClass: olcModuleList
40 #cn: module
41 #olcModulepath: /usr/lib/openldap
42 #olcModulepath: /usr/lib64/openldap
43 #olcModuleload: accesslog.la
44 #olcModuleload: auditlog.la
45 #olcModuleload: back_dnssrv.la
46 #olcModuleload: back_ldap.la
47 #olcModuleload: back_mdb.la
48 #olcModuleload: back_meta.la
49 #olcModuleload: back_null.la
50 #olcModuleload: back_passwd.la
51 #olcModuleload: back_relay.la
52 #olcModuleload: back_shell.la
53 #olcModuleload: back_sock.la
54 #olcModuleload: collect.la
55 #olcModuleload: constraint.la
56 #olcModuleload: dds.la
57 #olcModuleload: deref.la
58 #olcModuleload: dyngroup.la
59 #olcModuleload: dynlist.la
60 #olcModuleload: memberof.la
61 #olcModuleload: pcache.la
62 #olcModuleload: ppolicy.la
63 #olcModuleload: refint.la
64 #olcModuleload: retcode.la
65 #olcModuleload: rwm.la
66 #olcModuleload: seqmod.la
67 #olcModuleload: smbk5pwd.la
68 #olcModuleload: sssvlv.la
69 #olcModuleload: syncprov.la
70 #olcModuleload: translucent.la
71 #olcModuleload: unique.la
72 #olcModuleload: valsort.la
73
74
75 #
76 # Schema settings
77 #
78
79 dn: cn=schema,cn=config
80 objectClass: olcSchemaConfig
81 cn: schema
82
83 include: file:///etc/openldap/schema/core.ldif
84
85 #
86 # Frontend settings
87 #
88
89 dn: olcDatabase=frontend,cn=config
90 objectClass: olcDatabaseConfig
91 objectClass: olcFrontendConfig
92 olcDatabase: frontend
93 #
94 # Sample global access control policy:
95 #       Root DSE: allow anyone to read it
96 #       Subschema (sub)entry DSE: allow anyone to read it
97 #       Other DSEs:
98 #               Allow self write access
99 #               Allow authenticated users read access
100 #               Allow anonymous users to authenticate
101 #
102 #olcAccess: to dn.base="" by * read
103 #olcAccess: to dn.base="cn=Subschema" by * read
104 #olcAccess: to *
105 #       by self write
106 #       by users read
107 #       by anonymous auth
108 #
109 # if no access controls are present, the default policy
110 # allows anyone and everyone to read anything but restricts
111 # updates to rootdn.  (e.g., "access to * by * read")
112 #
113 # rootdn can always read and write EVERYTHING!
114 #
115
116 #
117 # Configuration database
118 #
119
120 dn: olcDatabase=config,cn=config
121 objectClass: olcDatabaseConfig
122 olcDatabase: config
123 olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
124  n=auth" manage by * none
125
126 #
127 # Server status monitoring
128 #
129
130 dn: olcDatabase=monitor,cn=config
131 objectClass: olcDatabaseConfig
132 olcDatabase: monitor
133 olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
134  n=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none
135
136 #
137 # Backend database definitions
138 #
139
140 dn: olcDatabase=hdb,cn=config
141 objectClass: olcDatabaseConfig
142 objectClass: olcHdbConfig
143 olcDatabase: hdb
144 olcSuffix: dc=my-domain,dc=com
145 olcRootDN: cn=Manager,dc=my-domain,dc=com
146 olcDbDirectory: /var/lib/ldap
147 olcDbIndex: objectClass eq,pres
148 olcDbIndex: ou,cn,mail,surname,givenname eq,pres,sub