[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Integrate LDAP in Hadoop
Hi all,
I want to integrate LDAP in my HDFS, i have changed core-site.xml
Attached is my core-site.xml file.
Can anyone please send me complete steps, how to integrate LDAP with HDFS
?
i have followed this link:
but the services.ldif file is missing in the link.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed 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. See accompanying LICENSE file.
-->
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
<property>
<name>hadoop.security.group.mapping</name>
<value>org.apache.hadoop.security.LdapGroupsMapping</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.bind.user</name>
<value>cn=admin,dc=platalytics,dc=com</value>
</property>
<!--
<property>
<name>hadoop.security.group.mapping.ldap.bind.password.file</name>
<value>/etc/hadoop/conf/ldap-conn-pass.txt</value>
</property>
-->
<property>
<name>hadoop.security.group.mapping.ldap.bind.password</name>
<value>123</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.url</name>
<value>ldap://127.0.0.1:389/dc=platalytics,dc=com</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.url</name>
<value>ldap://127.0.0.1:389/dc=platalytics,dc=com</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.base</name>
<value></value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.search.filter.user</name>
<value>(&(|(objectclass=person)(objectclass=applicationProcess))(cn={0}))</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.search.filter.group</name>
<value>(objectclass=groupOfNames)</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.search.attr.member</name>
<value>member</value>
</property>
<property>
<name>hadoop.security.group.mapping.ldap.search.attr.group.name</name>
<value>cn</value>
</property>
</configuration>