Trouble Using RPC for Share Management
jelmer at samba.org
Mon Nov 22 08:53:48 MST 2010
On Sun, 2010-11-21 at 14:44 +0000, Ricardo Jorge wrote:
> I'm having some trouble using the RPC functions. Basically, they don't work.
> I can list shares without a problem but I can't Add or Delete them.
> I keep get RuntimeError: (1, 'WERR_BADFUNC') when adding or deleting (have
> not got to setting info). I'm using some Microsoft documentation on MSDN for
> reference on parameters (
> I ran Samba4 with debug level 3:
> This message shows up so apparently everything is being loaded ok:
> > (...)
> > DCERPC endpoint server 'srvsvc' registered
> > (...)
> This happens when I try to add or delete a share:
Thanks for the detailed problem description; looking at this quickly I
don't see anything obvious that you're doing wrong so it looks like
there's a bug here. I'll see if I can turn your script into a testcase
for Samba this week.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the samba-technical