[cvsnt] Re: Limiting access to CVSROOT and some CVS commands. ..

Lehman, Curtis CLehman at carrieraccess.com
Thu Aug 5 23:59:22 BST 2004


Ok, I admit I am really confused and a novice at CVS so please help me
understand. 

I thought clehman is a valid user. clehman is what I use to login to my
windows PC, it's what's shown via the "cvs lsacl <project>" as the "Owner:"
for the other projects I created via an import command, It's what I use as
my login with sspi protocol and is what is in my CVSROOT, it's what I added
to the admin file, and it was accepted by the "cvs chacl clehman:rwc
CVSROOT". I don't understand why your saying it's meaningless and a
nonexistent user?

In terms of having SystemAuth=yes committed out and CVSROOT not being able
to be checked out anyone other than me as screwy... Well I double checked
and that's how it's working.

My admin file had just clehman on one line all by itself. Is this the
correct format? Do I need a project name or DEFAULT in front of the clehman?

Thanks,
Curtis Lehman

-----Original Message-----
From: Tony Hoyle [mailto:tmh at nodomain.org]
Sent: Thursday, August 05, 2004 4:31 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Re: Limiting access to CVSROOT and some CVS commands.
..

Lehman, Curtis wrote:

> I don't understand. I have created the admin file with clehman in it. I
> uncomment the SystemAuth=yes in the config file.  I even have projects
that
> list clehman as an owner. How come I can't change owner of CVSROOT  from
> nothing to clehman, i.e. "cvs chown clehman CVSROOT" fails. I wasn't able
to
> set someone else as an owner of a different project either. How is this
not
> a bug? It really does seem like chown command doesn't work at all. What is
> the purpose of the "Owner:" anyhow?

Without a user called clehman on the system it's meaningless to try to
do any operations using that name.

> When I do a cvs lsacl I get "Owner: <not set>". When I do a cvs chown

> S -> Machine is standalone
> S -> NetUserGetInfo returned NERR_UserNotFound - failing
> cvs server: User clehman does not exist

That's pretty clear - you're trying to set the owner to a completely
nonexistant user.

> So, I committed back out the "SystemAuth=yes" in the config file and
removed
> the admin file from the CVSROOT. I then simply used "cvs chacl clehman:rwc
> CVSROOT" to add me, which it did. Then when I do a "cvs lsacl CVSROOT" I

If that even slightly works then there's something really screwed up.
You shouldn't even be able to log in under that name as it's a
nonexistant user.

You don't have 'Simple File Sharing' enabled???  That disables the
system security.

Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt




More information about the cvsnt mailing list