Dilli Arumugam created KNOX-239:
-----------------------------------
Summary: ldif template files for ldapgroups should use consistent
naming attribute for user and group member
Key: KNOX-239
URL: https://issues.apache.org/jira/browse/KNOX-239
Project: Apache Knox
Issue Type: Bug
Reporter: Dilli Arumugam
Assignee: Dilli Arumugam
Priority: Minor
See a snippet from templates/users.ldapgroups.ldif
# 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
DN of of tom is uid=tom,ou=people,dc=hadoop,dc=apache,dc=org.
However, member attribute value in group is
cn=tom,ou=people,dc=hadoop,dc=apache,dc=org
We should use the same naming attribute uid in both places.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)