druid/integration-tests/docker/ldap-configs/bootstrap.ldif

175 lines
4.9 KiB
Plaintext

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dn: ou=Users,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Users
dn: ou=Groups,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Groups
dn: uid=admin,ou=Users,dc=example,dc=org
uid: admin
cn: admin
sn: admin
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/admin
uidNumber: 1
gidNumber: 1
userPassword: priest
dn: uid=druid_system,ou=Users,dc=example,dc=org
uid: druid_system
cn: druid_system
sn: druid_system
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/druid_system
uidNumber: 2
gidNumber: 2
userPassword: warlock
dn: cn=admin,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: admin
description: Admin users
uniqueMember: uid=admin,ou=Users,dc=example,dc=org
uniqueMember: uid=druid_system,ou=Users,dc=example,dc=org
dn: uid=datasourceReadOnlyUser,ou=Users,dc=example,dc=org
uid: datasourceReadOnlyUser
cn: datasourceReadOnlyUser
sn: datasourceReadOnlyUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceReadOnlyUser
uidNumber: 3
gidNumber: 3
userPassword: helloworld
dn: cn=datasourceReadOnlyGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceReadOnlyGroup
description: datasourceReadOnlyGroup users
uniqueMember: uid=datasourceReadOnlyUser,ou=Users,dc=example,dc=org
dn: uid=datasourceReadWithStateUser,ou=Users,dc=example,dc=org
uid: datasourceReadWithStateUser
cn: datasourceReadWithStateUser
sn: datasourceReadWithStateUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceReadWithStateUser
uidNumber: 4
gidNumber: 4
userPassword: helloworld
dn: cn=datasourceReadWithStateGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceReadWithStateGroup
description: datasourceReadWithStateGroup users
uniqueMember: uid=datasourceReadWithStateUser,ou=Users,dc=example,dc=org
dn: uid=stateOnlyUser,ou=Users,dc=example,dc=org
uid: stateOnlyUser
cn: stateOnlyUser
sn: stateOnlyUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/stateOnlyUser
uidNumber: 5
gidNumber: 5
userPassword: helloworld
dn: cn=stateOnlyGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: stateOnlyGroup
description: stateOnlyGroup users
uniqueMember: uid=stateOnlyUser,ou=Users,dc=example,dc=org
dn: uid=druid,ou=Users,dc=example,dc=org
uid: druid
cn: druid
sn: druid
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/druid
uidNumber: 6
gidNumber: 6
userPassword: helloworld
dn: cn=druidGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: druidGroup
description: druidGroup users
uniqueMember: uid=druid,ou=Users,dc=example,dc=org
dn: uid=stateOnlyNoLdapGroup,ou=Users,dc=example,dc=org
uid: druid
cn: druid
sn: druid
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/druid
uidNumber: 7
gidNumber: 7
userPassword: helloworld
dn: uid=datasourceReadAndSysUser,ou=Users,dc=example,dc=org
uid: datasourceReadAndSysUser
cn: datasourceReadAndSysUser
sn: datasourceReadAndSysUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceReadAndSysUser
uidNumber: 8
gidNumber: 8
userPassword: helloworld
dn: cn=datasourceReadWithSysGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceReadWithSysGroup
description: datasourceReadWithSysGroup users
uniqueMember: uid=datasourceReadAndSysUser,ou=Users,dc=example,dc=org
dn: uid=datasourceWriteAndSysUser,ou=Users,dc=example,dc=org
uid: datasourceWriteAndSysUser
cn: datasourceWriteAndSysUser
sn: datasourceWriteAndSysUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceWriteAndSysUser
uidNumber: 8
gidNumber: 8
userPassword: helloworld
dn: cn=datasourceWriteWithSysGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceWriteWithSysGroup
description: datasourceWriteWithSysGroup users
uniqueMember: uid=datasourceWriteAndSysUser,ou=Users,dc=example,dc=org