net command: list shares, add share, del share + net options
abartlet at samba.org
Wed May 18 10:25:01 GMT 2005
On Wed, 2005-05-18 at 12:17 +0200, LEOCADIE Grégory wrote:
> in this patch, I have implemented net options in utils/net/net.c by
> using samba3 model.
> I have created a new structure (cli_net_options with its initialisation
> function : cli_net_options_init) that permit to put net options together
> and to use them with the net context.
I would try and avoid short options, particularly at this early stage of
Samba4, because we are going to get nasty collisions unless we think
about it very carefully.
We had a number of these in 3.0, and it never really got sorted out
What I really want to see is these options implemented for your
particular subcommand, and not globally available. I don't know if popt
is up to this kind of thing or not, but some research into that could
save us a lot of pain...
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050518/43482e2c/attachment.bin
More information about the samba-technical