Patch for * share command options

Simo Sorce simo.sorce at xsec.it
Thu Feb 19 16:30:18 GMT 2004


Ops better with the patch attached :-)

On Thu, 2004-02-19 at 16:51, Simo Sorce wrote:
> Hello,
> I've put up this patch to overcome the fact that current code do not let
> you create a share from srvmgr.exe if the unix path does not exist.
> 
> I find this behaviour make the functionality nearly unusable, so patched
> the code to let the script decide by itslef what to do.
> Also tryed to address possible errors but not arguing too much.
> 
> If it seem ok I'm going to commit it in HEAD and 3.0
> 
> Simo.
> 
> P.S: This behaviour matches the one present in lanman.c api_RNetShareAdd
> function, a it doesn't check the code if I've read it correctly, so this
> patch also make RAP and RPC consistent regarding this functionality
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Garofalo, 39 - 20133 - Milano
mobile: +39 329 328 7702
tel. +39 02 2953 4143 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: share_cmd.patch
Type: text/x-patch
Size: 5676 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20040219/11e908c4/share_cmd.bin


More information about the samba-technical mailing list