Skip to content

Instantly share code, notes, and snippets.

@justinleet justinleet/test.ldif
Created Oct 25, 2018

Embed
What would you like to do?
# 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.
version: 1
# Please replace with site specific values
dn: dc=hadoop,dc=apache,dc=org
changetype: add
objectclass: organization
objectclass: dcObject
o: Hadoop
dc: hadoop
# Entry for a sample people container
# Please replace with site specific values
dn: ou=people,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass:organizationalUnit
ou: people
# entry for sample user metron admin
dn: uid=admin,ou=people,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass:person
objectclass:organizationalPerson
objectclass:inetOrgPerson
cn: Admin
sn: Admin
uid: admin
userPassword:{SSHA}DzE0WdguvPfBGXkoYSztB3DoXPRrT4LB
# entry for sample user sam
dn: uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass:person
objectclass:organizationalPerson
objectclass:inetOrgPerson
cn: sam
sn: sam
uid: sam
userPassword:sam-password
# entry for sample user tom
dn: uid=tom,ou=people,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass:person
objectclass:organizationalPerson
objectclass:inetOrgPerson
cn: tom
sn: tom
uid: tom
userPassword:tom-password
# create FIRST Level groups branch
dn: ou=groups,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass:organizationalUnit
ou: groups
description: generic groups branch
# create the admin group under groups
dn: cn=admin,ou=groups,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass: groupofnames
cn: admin
description:admin group
member: uid=admin,ou=people,dc=hadoop,dc=apache,dc=org
# create the user group under groups
dn: cn=user,ou=groups,dc=hadoop,dc=apache,dc=org
changetype: add
objectclass:top
objectclass: groupofnames
cn: user
description: user group
member: uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.