Trouble Using RPC for Share Management
Jelmer Vernooij
jelmer at samba.org
Mon Nov 22 08:53:48 MST 2010
Hi Ricardo,
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 (
> http://msdn.microsoft.com/en-us/library/bb525393%28v=VS.85%29.aspx)
>
> 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.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101122/e4583d06/attachment.pgp>
More information about the samba-technical
mailing list