having run_rpc_command retunring something else that int

Jeremy Allison jra at samba.org
Fri Mar 2 11:03:13 MST 2012


On Fri, Mar 02, 2012 at 09:52:31AM -0800, Matthieu Patou wrote:
> Hello all,
> 
> I'm running in an issue where net rpc vampire keytab is returning an
> non intuitive error message, in order to make more meaningful I
> would like to check the status of the RPC call and print a more
> helpful message in certain cases, but I can't as run_rpc_command
> returns just an int and not a WERROR or a NTSTATUS.
> 
> Would anyone mind if it's changed ?

No - please fix it up to return an NTSTATUS.

FYI. Home sick with flu today. Someone at the
Microsoft plugfest is a germ-ridden disease
carrier :-).

Jeremy.


More information about the samba-technical mailing list