[IDEA+RFC] Command line util for modifying services

Christopher R. Hertel crh at nts.umn.edu
Tue Sep 11 07:23:10 GMT 2001

> > It would be nice if it used the SMB URL syntax...
> >
> >Chris -)-----
> Interesting idea.   In the current implementation we have followed
> smbclient usage for the three options for specifying a target server for
> the call  (since NT/Win2K net command did not offer the equivalent except
> for the single example of the NET VIEW command).  The target server may be
> chosen by specifying one of the following:
>      -S  <server_name>    or
>      -I   <ip_address>        or in a few cases (e.g. enumerating servers)
>      -w <workgroup_or_domain_name>
> So far using none of the above target options will default to using
> localhost as the target but that could be changed in a few cases since
> there are certainly a few instances in which an smb URL would make sense
> e.g.  "net share delete smb://server_name/share_name" makes sense but in
> those cases we probably should support the same thing without the "smb:" as
> well  (as the net command from the OS/2 e-Business Server did) i.e.
>      "net share delete //server_name/share_name"

This does make some sense as a shorthand, since the smb: part is
"obvious".  If you do go this route, though, please do support the use of 
the prefix.

Chris -)-----

Christopher R. Hertel -)-----                   University of Minnesota
crh at nts.umn.edu              Networking and Telecommunications Services

    Ideals are like stars; you will not succeed in touching them
    with your hands...you choose them as your guides, and following
    them you will reach your destiny.  --Carl Schultz

More information about the samba-technical mailing list