On Mon, Dec 8, 2008 at 12:20 PM, Bartłomiej Radziszewski
<br(a)debian.linux.pl> wrote:
Hi Thomas,
Thx for replay.
Yep I know about synchronization ldap to xwiki database.
I want to use xwiki like central managment system for other services like
for example SVN (For authentication to the SVN i'm using htaccess with
ldap).
You mean synchronize the other way ? When something change in XWiki,
it has to modify LDAP entry ?
XWiki does not support this by default. But you can do that with a
script or a plugin if know JAVA and a little LDAP apis. In your plugin
you can register for receive notifications of user modifications and
then connect to LDAP and modify the LDAP user entry. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications
In the meantime you can add an "idea" or "improvement" entry on
http://jira.xwiki.org/jira/browse/XWIKI about "Synchronizing any XWiki
user modification back to LDAP server" or something like that but I
think you will have to wait quite a long time to see it unless someone
provide a good patch/contrib for it ;)
So.. after user registration i need to have the same user in ldap.
It is posible in xwiki?
Thx and Greetings!
Bart
Hi Bart,
2008/12/6 Bartłomiej Radziszewski <br(a)debian.linux.pl>pl>:
hello Thomas,
If i good know You are developing all ldap staff in xwiki.
I'm searching simple way how to synchronize xwiki users to ldap
posixAccount.. i need only login, pass and mail attributes.. do You have
idea how to make it?
You don't need to synchronize LDAP login or pass, the LDAP
authenticator validate login/pass directly on LDAP server then the
informations like name, mail etc... are synchronized with XWiki.
To define which information to synchronize between LDAP and XWiki user
profile you can use xwiki.authentication.ldap.fields_mapping.
For example : xwiki.authentication.ldap.fields_mapping=email=mail if
you want only email.
See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HGeneric…
for more details on LDAP authentication configuration.
Thanks and Greetings,
Bart
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
--
Thomas Mortagne