On Tue, Nov 20, 2012 at 10:00 AM, Csaba <csaba.szasz(a)urss.ro> wrote:
Hi,
I would like to configure the XWIKI LDAP and I encountered a specific issue
defining more than one base_DN. Is this possible at all?
No, its not officially supported yet. Should be part of
http://jira.xwiki.org/browse/XWIKI-2577 but nobody is assigned to work on
it anytime soon (contribution welcomed ;)).
That said there is the hack explained on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCa…
I never tried it myself and you are not guaranty that this will work
forever.
I have 2 types of Users:
1. o=org1, c=c1, dc=company
2. o=org2, c=c2, dc=company
These Users also have a common Group:
xwiki.authentication.ldap.user_group=cn=APP-SYTA-
EMPLOYEES,cn=appgroups,cn=groups,dc=company
My question is: how do I configure the LDAP in this case, so that both
types of
users have access to xwiki? Should I use only the group configuration??
Now is configured as follows and it works for one type of users (the ones
belonging in org1, c1 in LDAP):
xwiki.authentication.ldap.base_DN=o=org1,c=c1,dc=company
xwiki.authentication.ldap.bind_DN=uid={0},o=org1,c=c1,dc=company
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.user_group=cn=APP-SYTA-
EMPLOYEES,cn=appgroups,cn=groups,dc=company
I would appreciate some help. Thanks a lot in advance!
Best regards!
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne