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

157 lines
4.2 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=datasourceOnlyUser,ou=Users,dc=example,dc=org
uid: datasourceOnlyUser
cn: datasourceOnlyUser
sn: datasourceOnlyUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceOnlyUser
uidNumber: 3
gidNumber: 3
userPassword: helloworld
dn: cn=datasourceOnlyGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceOnlyGroup
description: datasourceOnlyGroup users
uniqueMember: uid=datasourceOnlyUser,ou=Users,dc=example,dc=org
dn: uid=datasourceWithStateUser,ou=Users,dc=example,dc=org
uid: datasourceWithStateUser
cn: datasourceWithStateUser
sn: datasourceWithStateUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceWithStateUser
uidNumber: 4
gidNumber: 4
userPassword: helloworld
dn: cn=datasourceWithStateGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceWithStateGroup
description: datasourceWithStateGroup users
uniqueMember: uid=datasourceWithStateUser,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=datasourceAndSysUser,ou=Users,dc=example,dc=org
uid: datasourceAndSysUser
cn: datasourceAndSysUser
sn: datasourceAndSysUser
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
homeDirectory: /home/datasourceAndSysUser
uidNumber: 8
gidNumber: 8
userPassword: helloworld
dn: cn=datasourceWithSysGroup,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: datasourceWithSysGroup
description: datasourceWithSysGroup users
uniqueMember: uid=datasourceAndSysUser,ou=Users,dc=example,dc=org