2008/12/17 Bartłomiej Radziszewski
<br(a)debian.linux.pl>pl>:
> hello,
>
> I have a question about ldap posixGroups and xwiki groups.
>
> it is posible synchronize ldap groups to xwiki dynamically? for example
> when i will add group to ldap then it will created in xwiki?
>
> I know about opition:
>
> #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# mapps XWiki groups to LDAP groups, separator is "|"
> #
>
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
> #
> XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
>
>
> ..but after created ldap group i need to add new group to xwiki.cfg file
> and restart xwiki app.. this is not useful solution. :( Anybody know
> other solution?
>
>
Yes you can set the mapping configuration (and any other LDAP
configuration, even indicate if LDAP is enabled or not) at
XWiki.XWikiPreferences level in the ldap_group_mapping field. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HGeneric…
for more details.
So i have a question. After created new posixGroup in ldap i need to add
this group to ldap_group_mapping and restart xwiki?