[cvsnt] Re: Permission problem with cvs...

Bo Berglund bo.berglund at telia.com
Sun Oct 13 12:32:02 BST 2002


Follow-up:
I tested the same commands on my own server at home (no domain and
using local users instead of domain).
In this case what I want to do works right off the bat!
cvs passwd -r bob -a setupmgr
cvs login (as setupmgr)
cvs ls (shows the modules)
etc)
This is on 57f if that changes things.

So there is something mysterious going on when I work towards the
server that is part of a domain.
Are there impersonation problems for pserver when the CVSNT server is
a member of a domain?
What I need is for the setupmgr to connect through pserver in order to
get a way to include the password in the script and so have the whole
export done from within a batch file irrespective of who runs the
batchfile.
I planned on using something similar to:
set CVSROOT=:pserver:setupmgr:<his password>@server:/repository
cvs export ....

/Bo

On Sun, 13 Oct 2002 12:43:51 +0200, Bo Berglund
<bo.berglund at telia.com> wrote:

>Thanks for your quick reply!
>I gave Everybody full control as well as the CV usergroups and SYSTEM
>that were there before but that did not help. Still can't create
>directory error.
>
>I tried opening up the SYSTEM command window as you suggested but that
>failed, the CMD process got created but no visible window showed up.
>Might be because I have access to this W2K server ony by means of
>Terminal Services and maybe the remote desktop does not show
>interactive windows...
>However setting up an at command to create a new folder worked, this
>folder showed up, but is apparently owned by myself. But I might be
>looking in the wrong place for the owner, see below...
>
>>Open the directory to 'everyone', start a large checkout/in and check the
>>permissions of the temp directory whilst it's still there.  That'll tell
>>you who is trying to create it.
>
>Did that as myself (sspi) from another PC and the temp dir got
>created. How can I determine for sure who is actually creating this
>dir??
>I tried rightclick and select properties/security. Then on the
>Advanced/Owner tab it says:
>Administrators (group) and
>Bo Berglund (bob)
>Does this indicate that the temp dir gets created by bob in this case
>(I am connecting using sspi when I do the large checkout)??
>
>What would happen if I use pserver in this case then? (Of course I
>cannot snatch this since this is where it fails.)
>
>>Setup an interactive shell as SYSTEM (at <now+1 minute> /INTERACTIVE
>>cmd.exe) then try to change directory/make directory & see if it works.
>>
>>> Is there some problem with the impersonation so that when I log in via
>>> pserver as setupmgr I am not properly aliased to DOMAIN\bob as I
>>> thought?
>>
>>If DOMAIN is the default domain for the server and it's let you in then it
>>should have worked.
>>
>I tried cvs passwd -r DOMAIN\bob setupmgr
>This placed the DOMAIN\bob as the aliased user but it gave no
>different result to having just bob as the alias...
>
>??
>
>
>/Bo
>(Bo Berglund, developer in Sweden)


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list