cvs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-dev] Re: cvs-chpass.patch (former: cvs-passwd.patch)


From: Derek R. Price
Subject: [Cvs-dev] Re: cvs-chpass.patch (former: cvs-passwd.patch)
Date: Mon, 26 Jun 2006 17:32:14 -0400
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Prasad J Pandit wrote:
>   - You all decide & tell me the name and alias of the command I should
>     use.
> 
>   - From now onwords, I'll also have a look at cvsNT passwd source so as
>     to make it more compatible.
> 
>   - and whatever you tell me, should I take care of.

How about this.  Since you have implemented something slightly different
than CVSNT:

1.  Call your command `passwd', as you did originally.


2.  In client mode, accept as options all of the options CVSNT accepts
in addition to your new options, and forward them to the server,
allowing the server to reject them if it wishes.  These are (from
<http://www.cvsnt.org/manual/html/passwd.html>): -a, -x, -X, -r
SYS_USER, -R, and -D DOMAIN.  The complete CVSNT syntax is:

        cvs passwd [-axXR] [-r SYS_USER] [-D DOMAIN] [USERNAME]


3.  In local and server mode, accept only the options you wish to
implement, including any options not implemented by CVSNT, but if you
have implemented any similar functionality, try to merge it under the
same syntax/options as CVSNT.


4.  Use the same client/server protocol for passwd as was defined by
CVSNT.  Without looking at your patch, I would guess this shouldn't
change your implementation much.  Glancing at the CVSNT client
implementation, it looks like it is just using send_arg for the
password, and sending "*" for USERNAME when it isn't specified (treating
the command as if the syntax was:

        cvs passwd [-axXR] [-r SYS_USER] [-D DOMAIN] USERNAME [NEWPASS]

and a username of "*" means, "the current user").

Regards,

Derek
- --
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEoFJeLD1OTBfyMaQRAnu1AJ41QKYmbTmY4fHfVfbEY7mstj+f1gCgyLyE
61qOD0N092OAcEQ3T9l3T6A=
=S4gU
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]