[SAMBA4] net commands hierarchy?
Jelmer Vernooij
jelmer at samba.org
Fri Jan 1 06:01:35 MST 2010
Hi Tridge,
On Fri, 2010-01-01 at 07:56 +1100, tridge at samba.org wrote:
> > I think except for domainlevel and pwsettings that these should probably
> > be integrated as "net user <command>". Is that sensible?
> yes, sounds good! The domainlevel and pwsettings commands could go
> under "net domain" or similar.
Ok, I'll have a look at integrating them that way.
> btw, I noticed the option parsing for the combined C/Python is a bit
> fussy. For example, you can't put python option before the command
> name on the command line. This goes against the expected behaviour for
> modern unix commands. Can we fix that do you think?
We should be able to do a bit better than we do at the moment - we can
skip every argument that starts with a "-". However, it'll be hard to
skip options with arguments that are specified separately (--configfile
smb.conf rather than --configfile=smb.conf) since we don't actually know
the possible arguments yet when we try to figure out the subcommand
that's being run.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100101/801753f3/attachment.pgp>
More information about the samba-technical
mailing list