Thomas Mortagne wrote: > On Thu, Dec 18, 2008 at 9:04 AM, Bartłomiej Radziszewski > <[email protected]> wrote: > >> Thomas Mortagne wrote: >> >>> 2008/12/17 Bartłomiej Radziszewski <[email protected]>: >>> >>> >>>> 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#HGenericLDAPconfiguration >>> 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? >> > > No, all you put in XWiki.XWikiPreference is dynamically taken into > account so you don't need to restart. > > Ok i have found this object in Xwiki.XwikiPreferences, i can right now delete all ldap configuration from xwiki.cfg and move it to this object right? >>>> thx for help and greets! >>>> >>>> -- >>>> Bartłomiej Radziszewski >>>> mobile: +48 509 561 540 >>>> e-mail: [email protected] >>>> JID: [email protected] >>>> ICQ: #305569725 >>>> >>>> >>>> _______________________________________________ >>>> users mailing list >>>> [email protected] >>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>>> >>>> >>> >>> >>> >> -- >> Bartłomiej Radziszewski >> mobile: +48 509 561 540 >> e-mail: [email protected] >> JID: [email protected] >> ICQ: #305569725 >> >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> >> > > > >
-- Bartłomiej Radziszewski mobile: +48 509 561 540 e-mail: [email protected] JID: [email protected] ICQ: #305569725 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
