Yes, that's true. All information are loaded correctly, but if I try to
authenticate via LDAP, bind() method doesn't work correctly and I have
to "hardcode" login info manually into code. So, I found out, that
problem is loading username and password from xwiki.cfg.
I have stable 1.5 version on Tomcat and Windows Server 2003.
Regards
Petr
Thomas Mortagne napsal(a):
On Fri, Aug 1, 2008 at 12:50 PM,
<petr(a)imaturita.cz> wrote:
Hi,
I didn't add any information into XWikiPreferences. So, why WXiki
doesn't use details from xwiki.cfg? I don't want to make changes in Java
code.
In you case all LDAP information are loaded from xwiki.cfg except
bind_DN and bind_pass ? or there is no LDAP configuration loaded at
all ?
Regards
Petr
Thomas Mortagne napsal(a):
Hi,
On Fri, Aug 1, 2008 at 10:57 AM, <petr(a)imaturita.cz> wrote:
Hi all,
I found out, that Xwiki 1.5 doesn't load LDAP connection info from
xwiki.cfg:
xwiki.authentication.ldap.bind_DN=xxx
xwiki.authentication.ldap.bind_pass=xxx
XWiki 1.5 does load LDAP connection
informations from xwiki.cfg for
sure, unless you overwrite it in XWiki.XWikiPreferences. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
I had to put these details directly into code
(into bind method),
recompile core class and then it works.
Any solution?
Thanks
Petr
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs