knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dillido...@apache.org
Subject git commit: KNOX-415: Add some static group entires, associate some users with groups in user.ldif in the bundled Apache DS
Date Thu, 28 Aug 2014 19:08:18 GMT
Repository: knox
Updated Branches:
  refs/heads/master e60357c60 -> 74e2dcef4


KNOX-415: Add some static group entires, associate some users with groups in user.ldif in
the bundled Apache DS


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

Branch: refs/heads/master
Commit: 74e2dcef45f38be970e3a082d81d677fe3a60e45
Parents: e60357c
Author: Dilli Dorai Arumugam <darumugam@hortonworks.com>
Authored: Thu Aug 28 12:03:54 2014 -0700
Committer: Dilli Dorai Arumugam <darumugam@hortonworks.com>
Committed: Thu Aug 28 12:03:54 2014 -0700

----------------------------------------------------------------------
 gateway-release/home/conf/users.ldif | 51 ++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/74e2dcef/gateway-release/home/conf/users.ldif
----------------------------------------------------------------------
diff --git a/gateway-release/home/conf/users.ldif b/gateway-release/home/conf/users.ldif
index f5afe6d..a39f27c 100644
--- a/gateway-release/home/conf/users.ldif
+++ b/gateway-release/home/conf/users.ldif
@@ -42,6 +42,7 @@ sn: User
 uid: guest
 userPassword:guest-password
 
+# entry for sample user admin
 dn: uid=admin,ou=people,dc=hadoop,dc=apache,dc=org
 objectclass:top
 objectclass:person
@@ -50,4 +51,52 @@ objectclass:inetOrgPerson
 cn: Admin
 sn: Admin
 uid: admin
-userPassword:admin-password
\ No newline at end of file
+userPassword:admin-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: uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
+member: uid=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: uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
+


Mime
View raw message