On Mon, Aug 8, 2011 at 6:35 PM, Chris Meyer <chris.meyer(a)gmail.com> wrote:
Hi Thomas & Roman,
I am still having issues with the LDAP and Group adds. I have cleared the
database, and basically started from scratch. I am also running the latest
release (3.1) with the provided 3.1 enterprise XAR file as a test. I then
added a new group: XWikiReaders.
Here is my new configuration after removing the mapping for XWikiAllGroup.
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Mapps XWiki groups to LDAP groups, separator is "|"
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=XWikiAdmins,cn=admins,cn=groups,dc=company,dc=com|XWiki.XWikiReaders=cn=Person,cn=Common,cn=Groups,dc=company,dc=com
When I log in with any LDAP authenticated user, it is adding the user to
XWikiAllGroup, however it is not adding to the XWikiReaders group. I have
verified in the LDAP that the user is part of the "Person" group in the
LDAP. Is it possible I have something wrong with the formatting of the *
xwiki.authentication.ldap.group_mapping* variable? I have tried various
valid groups in the LDAP as well, non-seem to be working.
I have even removed the mapping for XWikiAdmin only leaving the group I
created... no luck.
xwiki.authentication.ldap.group_mapping=XWiki.XWikiReaders=cn=authenticated_users,cn=readers_test,cn=groups,dc=company,dc=com
Any thoughts?
You should try to enabled debug log and see what's going on exactly
when you authenticate. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HEnableL…
Chris
On Mon, Aug 8, 2011 at 4:12 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote;wrote:
On Sat, Aug 6, 2011 at 5:26 PM, cmeyer
<chris.meyer(a)gmail.com> wrote:
I did get it working, the settings in the
xwiki.cfg were correct. It
ended up
being that the LDAP Admin package that I first
attempted this config with
was over ridding the xwiki.cfg values, even through the LDAP Admin
package
was throwing Groovy error every time I tried to
use it.
Only issue I have now is with the LDAP group and XWiki group sync. For
users
in the admin group it works fine, but for users
in the All group, it
doesnt
add the users to that group when the log in first
time.
You don't need to explicitly map XWikiAllGroup group, every new LDAP
user is automatically added to it by default.
Maybe the issue you have are related to LDAP Admin contrib, I don't
know it very well.
Thanks,
Chris
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Using-xWiki-with-LDAP-Oracle-OID-tp665832…
Sent from the XWiki- Users mailing list archive
at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne