It means it will be replaced at runtime and it's usually the safest (avoid putting clear password in a file) if the users are allowed to search in the LDAP repository.
Note that you have various example for more precise use cases in http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/UseCases/. On Wed, Mar 15, 2017 at 10:07 PM, Douglas Landau <dougl...@westmarine.com> wrote: > What does this mean? > #-# LDAP credentials, empty = anonymous access, otherwise specify full dn > #-# {0} is replaced with the user name, {1} with the password > #xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP > #xwiki.authentication.ldap.bind_pass={1} > > Does this mean that {0} is going to be replaced at runtime, or that I should > replace it? > > Thanks > > > -----Original Message----- > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau > Sent: Wednesday, March 15, 2017 1:44 PM > To: XWiki Users > Subject: Re: [xwiki-users] LDAP Auth again > > Hmm. I've set these two lines to: > > xwiki.authentication.ldap.bind_DN=cn={0},dc=westmarine,dc=net > xwiki.authentication.ldap.bind_pass={1} > > ... and still get a Java stacktrace surrounded by these: > > 2017-03-15 13:39:12,357 > [http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin] > DEBUG x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't > try to authenticate, it probably means the user is in non logged mode. > 2017-03-15 13:39:12,357 > [http://dwswiki9.westmarine.net:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin] > DEBUG x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null > > I don't understand why the provided user is null. > > Does Anybody? I apologize for the dumb question. But I have no idea where > to go from here. > > Thanks > Doug > > > The information contained in this transmission may contain West Marine > proprietary, confidential and/or privileged information. It is intended only > for the use of the person(s) named above. If you are not the intended > recipient, you are hereby notified that any review, dissemination, > distribution or duplication of this communication is strictly prohibited. > If you are not the intended recipient, please contact the sender by reply > email and destroy all copies of the original message. To reply to our email > administrator directly, please send an email to netad...@westmarine.com. > > The information contained in this transmission may contain West Marine > proprietary, confidential and/or privileged > information. It is intended only for the use of the person(s) named above. > If you are not the intended recipient, you are > hereby notified that any review, dissemination, distribution or duplication > of this communication is strictly prohibited. > If you are not the intended recipient, please contact the sender by reply > email and destroy all copies of the original > message. To reply to our email administrator directly, please send an email > to netad...@westmarine.com. -- Thomas Mortagne