knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dillido...@apache.org
Subject git commit: KNOX-221, provide a smple ldif file to work with KnoxLdapRealm
Date Mon, 02 Dec 2013 20:45:08 GMT
Updated Branches:
  refs/heads/master b5ba2c016 -> f5caa30c3


KNOX-221, provide a smple ldif file to work with KnoxLdapRealm


Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/f5caa30c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/f5caa30c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/f5caa30c

Branch: refs/heads/master
Commit: f5caa30c3e6ba185ccbead70503f74fb81d01896
Parents: b5ba2c0
Author: Dilli Dorai Arumugam <darumugam@hortonworks.com>
Authored: Mon Dec 2 12:21:07 2013 -0800
Committer: Dilli Dorai Arumugam <darumugam@hortonworks.com>
Committed: Mon Dec 2 12:21:07 2013 -0800

----------------------------------------------------------------------
 .../home/templates/users.ldapgroups.ldif        | 87 ++++++++++++++++++++
 1 file changed, 87 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/f5caa30c/gateway-release/home/templates/users.ldapgroups.ldif
----------------------------------------------------------------------
diff --git a/gateway-release/home/templates/users.ldapgroups.ldif b/gateway-release/home/templates/users.ldapgroups.ldif
new file mode 100644
index 0000000..c2aa4f8
--- /dev/null
+++ b/gateway-release/home/templates/users.ldapgroups.ldif
@@ -0,0 +1,87 @@
+# 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.
+
+# this ldif file is provided as a template to illustrate
+# use of ldapgroup(s)
+
+version: 1
+
+# entry for a sample people container
+# please replace with site specific values
+dn: ou=people,dc=hadoop,dc=apache,dc=org
+objectclass:top
+objectclass:organizationalUnit
+ou: people
+
+# entry for a sample end user
+# please replace with site specific values
+dn: uid=guest,ou=people,dc=hadoop,dc=apache,dc=org
+objectclass:top
+objectclass:person
+objectclass:organizationalPerson
+objectclass:inetOrgPerson
+cn: Guest
+sn: User
+uid: guest
+userPassword:guest-password
+
+# entry for sample user sam
+dn: uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
+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
+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
+objectclass:top
+objectclass:organizationalUnit
+ou: groups
+description: generic groups branch
+
+# create the analyst group under groups
+dn: cn=analyst,ou=groups,dc=hadoop,dc=apache,dc=org
+objectclass:top
+objectclass: groupofnames
+cn: analyst
+description:analyst  group
+member: cn=sam,ou=people,dc=hadoop,dc=apache,dc=org
+member: cn=tom,ou=people,dc=hadoop,dc=apache,dc=org
+
+
+# create the scientist group under groups
+dn: cn=scientist,ou=groups,dc=hadoop,dc=apache,dc=org
+objectclass:top
+objectclass: groupofnames
+cn: scientist
+description: scientist group
+member: cn=sam,ou=people,dc=hadoop,dc=apache,dc=org
+


Mime
View raw message