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

Re: First commit fails??

From: Dominic Anello <danello_at_danky.com>
Date: 2005-03-16 16:46:25 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, with the difference that we were running
Apache under Linux using mod_auth_ldap to auth against an AD server.
Unfortunately I can't say exactly what resolved it. I can say it
didn't have anything to do with the Apache or SVN setup, since we didn't
change anything between the time the problem appeared and it went away.

When this failure occurred, we'd see something like the following in the
apache error.log:
[Tue Oct 26 17:45:49 2004] [warn] [client 111.222.333.444] [29238] auth_ldap authenticate: user DOMAIN\\user_name authentication failed; URI /ec-svn/trunk/eCommerce [User not found][No such object]

Here's the search URL we're using:
AuthLDAPURL ldap://ad-server/CN=Users,DC=domain,DC=company,DC=com?sAMAccountName?sub?(objectClass=user)

I have to confess I know next to nothing about AD. When this started
happening for a user, I'd open their user account in the AD users and
groups utility, edit the comment, and save. This would fix the problem
until the AD server was rebooted. It may have been some sort of
replication issue, as the problem went away when we moved our SVN server
to a different office and pointed it to a different AD server in the
same domain.

Sorry I couldn't be more specific, but maybe someone with more AD
experience can point you in the right direction!

-Dominic

-- 
It all made sense until The Box.

  • application/pgp-signature attachment: stored
Received on Wed Mar 16 16:43:25 2005

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