[SAMBA4][PATCH] dd client for samba 4

Andrew Bartlett abartlet at samba.org
Tue Jan 17 10:26:01 GMT 2006

On Tue, 2006-01-17 at 16:18 +1100, James Peach wrote:
> On Tue, 17 Jan 2006 03:16 pm, James Peach wrote:
> > On Tue, 17 Jan 2006 03:06 pm, tridge at samba.org wrote:
> [snip]
> > > Having code like sdd.c in Samba that re-invents popt, and avoids using
> > > all the existing command line handling code for options (especially
> > > auth options) is something that I'm very reluctant to do, so it would
> > > require some very strong justifications!
> >
> > I guess I don't feel as strongly about this. I expect to use this for
> > generating client load. Strictly speaking I don't need _any_
> > authentication.
> >
> > Maybe I could add the popt handling prior to looking at any dd arguments?
> >     sdd [common samba options] [dd-style options]
> The attached patch implements this ...

You still don't use cmdline_credentials.  This global variable is what

I think tridge has a point about making this an smbclient command.  Once
this is all done, what will be the difference between the operation of
the modified sdd and smbclient -c 'dd .....'?

Why the change to popt.h?  

Andrew Bartlett
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
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060117/926ac19b/attachment.bin

More information about the samba-technical mailing list