Using 2 domain to authenticate to XWiki

Hi,

XWiki version 7.1.2.

It is possible to use 2 differents domain to authithcate to XWiki ? (I see some ideas in https://design.xwiki.org/xwiki/bin/view/Design/MutiLDAPserverssupport but no implementation)

May be it possible to use 2 application server (with one database) with different parameretes in xwiki.cfg (LDAP section)?

Yes it’s possible provided the user indicate a login which allows extracting the domain from it (like uid@domain for example). That’s what xwiki.authentication.ldap.remoteUser* properties are about in https://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/.

Hi, thank you!

I see that version 9.0 LDAP Authenticator not working with XWiki 7.1.2.

If i have 2 domains, for example domain1.local and domain2.local and 2 users username1 in domain1.local and username2 in domain2.local then each time when users need login to xwiki one of them must enter username1@domain1.local and another enter username2@domain2.local, does it’s right ?

It’s indeed expecting 7.4 minimum.

Yes the way it works right now the user must provide in the login a way to identify the domain. It does not to have to be <ui>@<domain> but you need to define a syntax which contains some way to deduce the domain from the login.

1 Like