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

Re: Weird export behaviour on Win2K in post-commit hook

From: <tom_at_opgenorth.net>
Date: 2004-04-15 19:14:10 CEST

----- Original Message Follows -----
> tom@opgenorth.net wrote:
> I'll pile on and say it is ultimately a matter of
> permissions. Services under Win32 (like Apache) are
> typically run under a local, non-priveledged account
> (with 3 special rights that permit them to operate as a
> service). These accounts, by design, have no rights to
> any networked resources.
I figured I'd try one more thing: having the application
impersonate a user that can access the share. After a bit
of digging, I did find some C# examples on how to
impersonate another user in Windows. However, as it turns
out, the examples don't work under Win2K Pro, one needs at
least XP. Apparently, under versions of Windows before XP,
the default security policy prevents the LogonUser() API
from working without changes to the default security policy
(which I can't do at this client site).

So I guess in this case, I have to share out a folder from
the Subversion box. I personally like this better too -
it's a lot simpler if nothing else.

Once I add some comments and clean up the code a bit , I'll
either send a ZIP to the list (if it isn't to big)/post a
URL, or somehow make it accessible for those who are
interested in using/enhancing this.

Much thanks to all who replied, I appreciate all the help I
got.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 15 19:14:37 2004

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.