You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mauro de Toledo Ribeiro <mr...@cpqd.com.br> on 2004/03/18 19:39:37 UTC

Question about "Error resolving case" problem

Hi, 

I Have a complicated question to post, so I´ll try my best to explain it:

My Enviroment:
==============
Server: Win2K Server
Clients: Win2K Pro, WinNT, Linux Connectiva 8/9
WebServer: Apache/2.0.48 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2 mod_auth_sspi/1.0.1 DAV/2 SVN/1.0.0

My Goal:
========
To make a CGI script execute (in server-side, of course) a svn command like:

'svn co http://server/path/to/repo \\clientIP\WorkArea\path'. 

While in a Network (INTRANET), clientIP **IS** a share that **DO EXIST** in each of my client machines, and access permission is set to 'Everyone-Full Control'. 

My problem:
===========
When executing the script in command-line dialog or via batch file (cmd) everything goes fine. The network share can be accessed and files from my repo HEAD revision are copied to client machine. 

BUT, when runnig the same script over web environment, SUBVERSION returns this error 

[svn: Error resolving case of '\\10.202.00.00\WorkArea']

Both scripts access the same method under the same class in a Perl module (e.g. the same place).

My Questions:
============
1-) What could generate this subversion error? 
2-) Would some characters are being passed without proper encoding ?

Any Help will be great!

Tks,
Mauro Ribeiro

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


Re: Question about "Error resolving case" problem

Posted by "D.J. Heap" <dj...@shadyvale.net>.
Mauro de Toledo Ribeiro wrote:
[snip]
> 
> My Questions:
> ============
> 1-) What could generate this subversion error? 
> 2-) Would some characters are being passed without proper encoding ?
> 
> Any Help will be great!
> 


You are just using a working copy on the network share, right?  As Erik 
mentioned, putting a repository on a network filesystem is not supported.

You mentioned that you are running this from a web environment.  What 
user is it running under?  Most web-users (such as IUSR_MACHINENAME or 
ASPNET which are the defaults for IIS/ASP.Net) are not given 
network-security rights on purpose and so cannot access any network 
shares at all.  Have you tried doing a simple 'dir \\server\share' 
command or something similar from the script in the web environment? 
This seems to me to be the most likely cause.

If the user you are running under does have logon/network rights to the 
shared filesystem, then have you tried using a mapped drive and using 
the drive letter instead of the UNC path?  It could be that Subversion 
or APR don't understand UNC paths...I'm not sure anyone has ever tried it.

As Ben also indicated, you should make sure you have APR_ICONV_PATH set 
correctly in your client's environment variables (probably put it in 
System environment variables if you are using Subversion with multiple 
users).

DJ


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

Re: Question about "Error resolving case" problem

Posted by Erik Huelsmann <e....@gmx.net>.
Sorry for that answer.

I should have said something along the lines of 'The file:// protocol is the
only protocol which is unsafe to access a subversion repository over a
network. Your best bet is to use svn:// or http:// access methods for subversion
in a network environment. (Although svn+ssh:// also works - it has some
peculiarities.)" 

bye,

Erik.

PS: Moving this to the users@ list, since this typically belongs there.

> Hi,
> 
> Just a short warning - in case you did not read the README, book, INSTALL
> or
> other documents available on Subversion - DON'T access your repository
> through a network share. Just don't.
> 
> bye,
> 
> Erik.
> 
> PS: Serious evil will come to you if you do.
> 
> 
> 
> > While in a Network (INTRANET), clientIP **IS** a share that **DO EXIST**
> > in each of my client machines, and access permission is set to
> > 'Everyone-Full Control'. 
> 
> -- 
> +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz
> +++
> 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


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

Re: Question about "Error resolving case" problem

Posted by Erik Huelsmann <e....@gmx.net>.
Hi,

Just a short warning - in case you did not read the README, book, INSTALL or
other documents available on Subversion - DON'T access your repository
through a network share. Just don't.

bye,

Erik.

PS: Serious evil will come to you if you do.



> While in a Network (INTRANET), clientIP **IS** a share that **DO EXIST**
> in each of my client machines, and access permission is set to
> 'Everyone-Full Control'. 

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


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