[xwiki-users] Problem configuring LDAP group mapping with diacritics in AD group names

2015-12-02 Thread Miroslav Galajda
Hi,

I have problem with LDAP group mapping in xwiki.cfg against AD with group
names containing diacritics. What encoding to use in xwiki.cfg? After
turning logging on for XWikiLDAPUtils class, I found from the logs that
those problematic groups are logged with wrong encoding, end the result is
that the group cannot be found.

Best regards
Miroslav Galajda
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem configuring LDAP group mapping with diacritics in AD group names

2015-12-02 Thread Thomas Mortagne
xwiki.cfg file is parsed as a Java properties file so you have to use
the ISO 8859-1 encoding. Never used http://native2ascii.net/ myself
but it seems to do the trick.

On Wed, Dec 2, 2015 at 9:42 AM, Miroslav Galajda
 wrote:
>
> Hi,
>
> I have problem with LDAP group mapping in xwiki.cfg against AD with group
> names containing diacritics. What encoding to use in xwiki.cfg? After
> turning logging on for XWikiLDAPUtils class, I found from the logs that
> those problematic groups are logged with wrong encoding, end the result is
> that the group cannot be found.
>
> Best regards
> Miroslav Galajda
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users




--
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem configuring LDAP group mapping with diacritics in AD group names

2015-12-02 Thread Miroslav Galajda
Hi, converting to ISO 8859-1 helped me. Thank you very much.

Mirec

On 2 December 2015 at 10:11, Thomas Mortagne 
wrote:

> xwiki.cfg file is parsed as a Java properties file so you have to use
> the ISO 8859-1 encoding. Never used http://native2ascii.net/ myself
> but it seems to do the trick.
>
> On Wed, Dec 2, 2015 at 9:42 AM, Miroslav Galajda
>  wrote:
> >
> > Hi,
> >
> > I have problem with LDAP group mapping in xwiki.cfg against AD with group
> > names containing diacritics. What encoding to use in xwiki.cfg? After
> > turning logging on for XWikiLDAPUtils class, I found from the logs that
> > those problematic groups are logged with wrong encoding, end the result
> is
> > that the group cannot be found.
> >
> > Best regards
> > Miroslav Galajda
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users