Actions:
|
2014-07-16 03:38 AEST by Glen Starrett - The extnt protocol specifies that it can take parameters not included on the
command line from the ini file:
C:\Users\Glen Starrett\Documents>extnt -H
Usage: extnt.exe hostname [-l username] [-p protocol] [-d directory] [command..]
-l username Username to use (default current user).
-p protocol Protocol to use(default sspi).
-d directory Directory part of root string.
-P password Password to use.
Unspecified parameters are also read from [<hostname>] section in extnt.ini.
It does take username, protocol, and directory from the ini file however it does
not take password. For example, if you have this specified:
[pluto-ss]
protocol=sserver
hostname=pluto
directory=/test
username=myuser
password=mypassword
This does NOT work:
C:\Users\Glen Starrett\Documents>set CVS_EXT=extnt %h
C:\Users\Glen Starrett\Documents>cvs -d :ext:pluto-ss:/test ls
[extnt] connect aborted: server pluto rejeced access to /test
Where this DOES work:
C:\Users\Glen Starrett\Documents>set CVS_EXT=extnt %h -l %u -P mypassword
C:\Users\Glen Starrett\Documents>cvs -d :ext:myuser@pluto-ss:/test ls
Listing modules on server
This also doesn't work, apparently if you specify a password on the extnt line
it also requires the username to be passed in from there as well:
C:\Users\Glen Starrett\Documents>set CVS_EXT=extnt %h -P mypassword
C:\Users\Glen Starrett\Documents>cvs -d :ext:myuser@pluto-ss:/test ls
[extnt] connect aborted: server pluto rejeced access to /test
C:\Users\Glen Starrett\Documents>cvs -d :ext:pluto-ss:/test ls
[extnt] connect aborted: server pluto rejeced access to /test |