On Mon, Apr 28, 2008 at 6:59 PM, Stefan Woehrer <stefan_woehrer(a)yahoo.de>
wrote:
After tests some cases I think you were right and really found a bug
in LDAP authenticator properties parsing. Sorry for the battle :)
See
It really looks like XWiki tries to get some
ldap group information
which
are not available... And what about the DocumentDoesNotExist - Page?
This is the page where you are when you try to login to the wiki, it
has nothing to do with LDAP authentication.
Thanks,
Steve
Thomas Mortagne wrote:
On Mon, Apr 28, 2008 at 4:49 PM, Stefan Woehrer
<stefan_woehrer(a)yahoo.de>
wrote:
Hi,
Now I have
"xwiki.authentication.ldap.group_mapping="
XWiki.XWikiPreferences overwrite xwiki.cfg so if you have something in
it it will not try to look in xwiki.cfg.
>
> without any success - I get the same error message as before.
>
> I have attached my cfg file (don't mind the 'na's in the file -
that's
> just
> because I cut out sensitive information.)
>
>
http://www.nabble.com/file/p16940613/xwiki_pub.cfg xwiki_pub.cfg
>
> Thank you,
> Steve
>
>
>
>
>
>
> Thomas Mortagne wrote:
> >
> > Simply empty "group_mapping" property value should work.
> >
> > On Mon, Apr 28, 2008 at 4:27 PM, Stefan Woehrer
> <stefan_woehrer(a)yahoo.de>
> > wrote:
> >>
> >> Hi,
> >>
> >> The line with group mapping is commented out like this:
> >>
> >>
>
#xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
> >> #
> >> XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
> >>
> >> When I look on the XWiki.XWikiPreferences page I can see LDAP
group
> >> mapping
> >> fields to fill in (when I look on the page objects).
> >> I don't want to use group Mapping because in my structure it
makes
> no
> >> sense.
> >> How could I turn it off properly? Obviously, simply commenting
the
> stuff
> >> out
> >> doesn't work...
> >>
> >>
> >>
> >> Thanks,
> >> Steve
> >>
> >>
> >> Thomas Mortagne wrote:
> >> >
> >> > Hi,
> >> >
> >> > The error "Error parsing ldap_group_mapping attribute.."
appear
> when
> >> > you have a "group_mapping" property defined with a wrong
value
> (not in
> >> > the form "xwikigroup=ldapgroup|xwikigroup2=ldapgroup2" and
not
> empty)
> >> > in xwiki.cfg or XWiki.XWikiPreferences page object.
> >> >
> >> > On Mon, Apr 28, 2008 at 2:58 PM, Stefan Woehrer
> >> <stefan_woehrer(a)yahoo.de>
> >> > wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I'm using XE 1.3.1
> >> >>
> >> >> The "stdout_20080425.log" is full of error messages
like
this
> one:
> >> >>
> >> >> "2008-04-25 10:52:27,064
> >> >> [
http://svxwiki/xwiki/bin/view/Main/DocumentDoesNotExist]
> >> [http-80-4]
> >> >> ERROR
> >> >> ldap.XWikiLDAPConfig - Error parsing
> ldap_group_mapping
> >> >> attribute: "
> >> >>
> >> >> I get approximately 3 errors of that kind every SECOND (as
you
> may
> >> >> guess,
> >> >> the system is kind of slow if there are working >5 ppl with
it
> >> >> simultaniously).
> >> >>
> >> >> In the xwiki.cfg i have the following ldap configurations:
> >> >>
> >> >>
> >> >>
> >>
>
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> >> >>
xwiki.authentication.ldap=1
> >> >> xwiki.authentication.ldap.server=svad01
> >> >> xwiki.authentication.ldap.port=389
> >> >> xwiki.authentication.ldap.validate_password=0
> >> >> xwiki.authentication.ldap.UID_attr=sAMAccountName
> >> >>
> >> >>
> >>
>
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
> >> >>
xwiki.authentication.ldap.update_user=0 # (set to 0 without
any
> >> success)
> >> >> xwiki.authentication.ldap.mode_group_sync=create
> >> >> xwiki.authentication.ldap.trylocal=1
> >> >>
> >> >> xwiki.authentication.ldap.bind_DN=,
> >> xwiki.authentication.ldap.bind_pass
> >> >> and
> >> >> xwiki.authentication.ldap.base_DN are set correctly.
> >> >>
> >> >> Can I provide you with any more information?
> >> >>
> >> >> Thanks,
> >> >> Steve
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Thomas Mortagne wrote:
> >> >> >
> >> >> > On Sun, Apr 27, 2008 at 3:58 PM, Stefan Wöhrer
> >> >> <stefan_woehrer(a)yahoo.de>
> >> >> > wrote:
> >> >> >> Hi,
> >> >> >>
> >> >> >> lately I've had problems with XWiki and Tomcat
running
on
> >> Windows
> >> >> Server
> >> >> >> 2003. The login's via Active Directory. About 10
people
> worked
> >> with
> >> >> the
> >> >> >> wiki when Tomcat CPU load suddenly increased to 100%.
Only
> >> rebooting
> >> >> it
> >> >> >> helped :-( To work with the system is impossible, since
the
> >> problem
> >> >> >> occured three times in three hours of
"work"...
> >> >> >> In a quick view inside the logfiles i saw a bunch of
ldap
> group
> >> >> mapping
> >> >> >> errors - although group mapping is disabled in the
config
> file!
> >> >> >> I can check the logfiles in detail on Monday.
> >> >> >>
> >> >> >> Does anyone experience the same problem / does anyone
have
> an
> >> idea
> >> >> on
> >> >> >> how to search for the reason?
> >> >> >>
> >> >> >> cya,
> >> >> >> Steve
> >> >> >>
> >> >> >>
> >> >> >> ---------------------------------
> >> >> >> Lesen Sie Ihre E-Mails auf dem Handy..
> >> >> >> _______________________________________________
> >> >> >> users mailing list
> >> >> >> users(a)xwiki.org
> >> >> >>
http://lists.xwiki.org/mailman/listinfo/users
> >> >> >>
> >> >> >
> >> >> > Hi,
> >> >> >
> >> >> > Which XWiki Platform (or XE, XEM, etc.) version do you use
?
> >> >> >
> >> >> > Could you attach you log file and the LDAP configuration
you
> use ?
> >> >> > That way we could maybe have a more precise view of the
> problem.
> >> >> >
> >> >> > Thanks,
> >> >> >
> >> >> > --
> >> >> > Thomas Mortagne
> >> >> > _______________________________________________
> >> >> > users mailing list
> >> >> > users(a)xwiki.org
> >> >> >
http://lists.xwiki.org/mailman/listinfo/users
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
http://www.nabble.com/Tomcat---100--CPUa-tp16924175p16938316.html
> >> >> Sent from the XWiki-
Users mailing list archive at
Nabble.com.
>>
>>
>> >>
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >> users(a)xwiki.org
>> >>
http://lists.xwiki.org/mailman/listinfo/users
>> >>
>> >
>> >
>> >
>> > --
>> > Thomas Mortagne
>> > _______________________________________________
>> > users mailing list
>> > users(a)xwiki.org
>> >
http://lists.xwiki.org/mailman/listinfo/users
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Tomcat---100--CPUa-tp16924175p16940085.html
>>
>>
>> Sent from the XWiki- Users mailing list archive at
Nabble.com.
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
>
>
--
View this message in context:
http://www.nabble.com/Tomcat---100--CPUa-tp16924175p16940613.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
View this message in context:
http://www.nabble.com/Tomcat---100--CPUa-tp16924175p16943301.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org