[SAMBA4][PATCH] dd client for samba 4

Andrew Bartlett abartlet at samba.org
Tue Jan 17 02:39:39 GMT 2006


On Tue, 2006-01-17 at 13:16 +1100, James Peach wrote:
> Hi all,
> 
> The attached patch implements a dd clone that can perform IO to/from CIFS
> servers. Samba 4 folks, could you please review this before I check it in?

How critical is standard DD syntax?  It seems a real pity to avoid the
standard popt we provide for the rest of Samba4.  

This would avoid your credentials problem. (Supporting the SMB url would
be nice, but it sucks for conveying username, domain and password
info). 

Also, it ensures you correctly setup debug, loadparm and many other
systems.  We hook our 'must be done by every samba program' code into
popt, because it's called at the 'right time'.

On coding style, it just doesn't seem to match that in which the rest of
Samba4 is written.  Now, this hasn't been a hard and fast rule in
Samba3, but in Samba4's prog_guide.txt the Linux kernel style has been
specified.  (I mostly noticed the type-before-function stuff).

This does look like an interesting utility, and I hope we can work this
stuff out.

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/5c451217/attachment.bin


More information about the samba-technical mailing list