-
|
Hello. Ozone 2.0.0. I use the following config: <property><name>hadoop.security.group.mapping</name><value>org.apache.hadoop.security.LdapGroupsMapping</value></property>
<property><name>hadoop.security.group.mapping.ldap.url</name><value>ldap://xxx:389</value></property>
<property><name>hadoop.security.group.mapping.ldap.base</name><value>dc=domain,dc=com</value></property>
<property><name>hadoop.security.group.mapping.ldap.userbase</name><value>ou=People,dc=domain,dc=com</value></property>
<property><name>hadoop.security.group.mapping.ldap.groupbase</name><value>ou=Groups,dc=domain,dc=com</value></property>
<property><name>hadoop.security.group.mapping.ldap.bind.user</name><value>cn=bind,ou=ServiceAccounts,dc=domain,dc=com</value></property>
<property><name>hadoop.security.group.mapping.ldap.bind.password.file</name><value>/opt/hadoop/etc/hadoop/ldap_bind_password.txt</value></property>
<property><name>hadoop.security.group.mapping.ldap.search.filter.user</name><value>(&(objectClass=posixAccount)(uid={0}))</value></property>
<property><name>hadoop.security.group.mapping.ldap.search.filter.group</name><value>(objectClass=posixGroup)</value></property>
<property><name>hadoop.security.group.mapping.ldap.search.attr.member</name><value>memberUid</value></property>
<property><name>hadoop.security.group.mapping.ldap.search.attr.group.name</name><value>cn</value></property>
but I have the following ACL But So, I suspect, that Ozone considers the primary group of Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Seems, that the problem is not related to Ozone, but rather to my LDAP config. But it looks really strange, since my LDAP search returns expected result (2 groups are listed for and I believe, that I configured the system correctly to make some similar LDAP call as above with the following properties: So, why don't I get the following expected output with such a config? |
Beta Was this translation helpful? Give feedback.
-
|
For those who are interesting: this was a LDAP configuration problem. So, if I want be a member of groups Here are the details of |
Beta Was this translation helpful? Give feedback.
For those who are interesting: this was a LDAP configuration problem.
The
memberUidattribute of theposixGroupobject must be equal to theuidNumberattribute value of the correspondingposixAccountobject, not to theuidone.So, if I want
myuserbe a member of groups
hadoopandmyuser, I have to define them as follows: