You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by dk...@micron.com on 2006/01/05 20:26:44 UTC

Authorization Problem

We are running SVN 1.2 on Apache 2.0.52, Windows 2003 Server, using LDAP
authentication into Active Directory. 

I have a Windows batch file that executes a build of a C# solution. In
the batch file I export two projects from Subversion with syntax like
this:

	svn export --force --quiet --non-interactive

Occasionally I get the following error:

	svn: PROPFIND request failed on
'/mfg/gps/DotNetComponents/GpsClassLib/trunk'
	svn: PROPFIND of '/mfg/gps/DotNetComponents/GpsClassLib/trunk':
authorization failed (http://svn)

Usually, if I just execute the batch again, I don't see this error. Any
ideas why this is happening, and how to make it stop? I am scheduling
this job daily via the Scheduled Tasks, and it is failing about half the
time.

Looking through the Apache logs, I see these errors for other
repositories and users as well. Here is an entry from the log:
[Tue Jan 03 06:02:48 2006] [warn] [client 123.456.78.910] [2556]
auth_ldap authenticate: user myuser authentication failed; URI
/mfg/gps/DotNetComponents/GpsClassLib/trunk [LDAP: ldap_simple_bind_s()
failed][Unavailable]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Authorization Problem

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 1/5/06, dkrobbins@micron.com <dk...@micron.com> wrote:
> We are running SVN 1.2 on Apache 2.0.52, Windows 2003 Server, using LDAP
> authentication into Active Directory.
>
> I have a Windows batch file that executes a build of a C# solution. In
> the batch file I export two projects from Subversion with syntax like
> this:
>
>         svn export --force --quiet --non-interactive
>
> Occasionally I get the following error:
>
>         svn: PROPFIND request failed on
> '/mfg/gps/DotNetComponents/GpsClassLib/trunk'
>         svn: PROPFIND of '/mfg/gps/DotNetComponents/GpsClassLib/trunk':
> authorization failed (http://svn)
>
> Usually, if I just execute the batch again, I don't see this error. Any
> ideas why this is happening, and how to make it stop? I am scheduling
> this job daily via the Scheduled Tasks, and it is failing about half the
> time.
>
> Looking through the Apache logs, I see these errors for other
> repositories and users as well. Here is an entry from the log:
> [Tue Jan 03 06:02:48 2006] [warn] [client 123.456.78.910] [2556]
> auth_ldap authenticate: user myuser authentication failed; URI
> /mfg/gps/DotNetComponents/GpsClassLib/trunk [LDAP: ldap_simple_bind_s()
> failed][Unavailable]

That sounds like an LDAP problem, not a subversion problem.  Figure
out why your LDAP server is occasionally unavailable and you'll solve
your problem.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


RE: Authorization Problem

Posted by Lieven Govaerts <lg...@mobsol.be>.
 
ldap_simple_bind_s is the function that binds to the AD server, ie. opens
a connection and binds with user and password. The [Unavailable] part
seems to imply difficulty to connect to the AD server.

I have a similar setup, but with Apache on a Linux server, and that works
very well mostly all the time. 

Lieven.

> -----Original Message-----
> From: dkrobbins@micron.com [mailto:dkrobbins@micron.com] 
> Sent: donderdag 5 januari 2006 21:27
> To: users@subversion.tigris.org
> Subject: Authorization Problem
> 
> We are running SVN 1.2 on Apache 2.0.52, Windows 2003 Server, 
> using LDAP authentication into Active Directory. 
> 
> I have a Windows batch file that executes a build of a C# 
> solution. In the batch file I export two projects from 
> Subversion with syntax like
> this:
> 
> 	svn export --force --quiet --non-interactive
> 
> Occasionally I get the following error:
> 
> 	svn: PROPFIND request failed on
> '/mfg/gps/DotNetComponents/GpsClassLib/trunk'
> 	svn: PROPFIND of '/mfg/gps/DotNetComponents/GpsClassLib/trunk':
> authorization failed (http://svn)
> 
> Usually, if I just execute the batch again, I don't see this 
> error. Any ideas why this is happening, and how to make it 
> stop? I am scheduling this job daily via the Scheduled Tasks, 
> and it is failing about half the time.
> 
> Looking through the Apache logs, I see these errors for other 
> repositories and users as well. Here is an entry from the log:
> [Tue Jan 03 06:02:48 2006] [warn] [client 123.456.78.910] 
> [2556] auth_ldap authenticate: user myuser authentication 
> failed; URI /mfg/gps/DotNetComponents/GpsClassLib/trunk 
> [LDAP: ldap_simple_bind_s() failed][Unavailable]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.13/221 - Release 
> Date: 4/01/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 4/01/2006
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org