proposed net command structure
tridge at samba.org
Sat Nov 24 17:52:02 GMT 2001
> 1) I'm not sure about putting the method as a positional parameter. Why
> not have it as a flag...e.g. net user --ads or net user --method=ads or
> similar (there's got to be a better word that method) parm?
I thought of that, but the problem is that the different APIs will
have quite different suboptions. The main "net user" command will have
to offer only the lowest common denominator between them, but "net ads
user" could have much richer functionality because there are lots of
extra fields in ADS that might be set or queried.
So, most admins will be happy with "net user" but those who want to
set very detailed ADS options will probably want to use "net ads
user". If we have it as flags then the syntax will quickly become
unwieldy I think.
More information about the samba-technical