[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: First commit fails??

From: André Pönitz <andre_at_wasy.de>
Date: 2005-03-16 17:48:40 CET

> On 2005-03-16 09:07:09 -0500, Brian Fohl wrote:
> > When someone commits a file for the first time, it always fails
> > authenication. After that, on a second try, they are able to
> > authenticate and commit fine. What gives? Is this a known bug? I
> > haven't been able to find anything on it.
> >
> > We are running SVN 1.13 on Apache 2, Windows 2000 Server, using LDAP
> > authentication into Active Directory.
> >
> > Thanks,
> > Brian
> I had this problem too, [...]

I had a similar one.

In our case the (Win2003) LDAP server simply was simply not able to
do the search properly. When done by hand (i.e. using ldapsearch
from the Linux machine running Apache) everything was fine, but
when run by Apache, the same search failed sometimes.

Our Voodoo-experienced admins finally 'solved' the problem by renaming
the 'User-XXX' groups into 'Benutzer-XXX'. Rationale was that a
search on the whole LDAP-tree (we had several user groups scattered
all over the place) would be performed alphabetically, so 'B' would
be hit earlier than 'U' and the chance that the server timed out would
be reduced.

It is still a bit unclear to me whether this theoretically could work
(especially since the Apache requests had an 'infinite' time out set),
but practically it _did_.

So try to keep the scope of your search limited (i.e. start as deeply
nested as posssible in the LDAP tree), and if that fails, try to
move your objects closer to 'A'...


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 17:51:19 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.