Repository: ambari Updated Branches: refs/heads/branch-1.7.0 f6d39a9d6 -> 2842e2f7d
AMBARI-7973. Knox configuration of users-ldif results in bad format of users.ldif file. (sumit gupta via jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2842e2f7 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2842e2f7 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2842e2f7 Branch: refs/heads/branch-1.7.0 Commit: 2842e2f7d9a3cf9953fbb81a0da74da79a47f5b2 Parents: f6d39a9 Author: Jaimin Jetly <[email protected]> Authored: Sun Oct 26 22:18:11 2014 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Sun Oct 26 22:18:11 2014 -0700 ---------------------------------------------------------------------- .../services/KNOX/configuration/users-ldif.xml | 180 +++++++++---------- 1 file changed, 90 insertions(+), 90 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/2842e2f7/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/configuration/users-ldif.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/configuration/users-ldif.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/configuration/users-ldif.xml index 19a734d..ace4858 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/configuration/users-ldif.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/configuration/users-ldif.xml @@ -25,107 +25,107 @@ <property> <name>content</name> <value> - # 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. +# 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 +version: 1 - # Please replace with site specific values - dn: dc=hadoop,dc=apache,dc=org - objectclass: organization - objectclass: dcObject - o: Hadoop - dc: hadoop +# Please replace with site specific values +dn: dc=hadoop,dc=apache,dc=org +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 - objectclass:top - objectclass:organizationalUnit - ou: people +# 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 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 admin - dn: uid=admin,ou=people,dc=hadoop,dc=apache,dc=org - objectclass:top - objectclass:person - objectclass:organizationalPerson - objectclass:inetOrgPerson - cn: Admin - sn: Admin - uid: admin - userPassword:admin-password +# entry for sample user admin +dn: uid=admin,ou=people,dc=hadoop,dc=apache,dc=org +objectclass:top +objectclass:person +objectclass:organizationalPerson +objectclass:inetOrgPerson +cn: Admin +sn: Admin +uid: admin +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 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 +# 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 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 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 +# 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 </value> <description>
