[SAMBA-TNG] using and createing libsmb and libmsrpc
Luke Kenneth Casson Leighton
lkcl at samba.org
Thu Jan 20 02:01:03 GMT 2000
> > ohh, just one function call. see
> > rpcclient/cmd_samr.c:cmd_sam_ntchange_pwd() as an example of what to do.
> > this calls msrpc_sam_ntchange_pwd() which does everything you need. about
> > the only thing you _will_ need to do (at the moment), is call the
> > following two functions:
>
> > init_connections();
> > init_policy_hnd(64);
>
> > and that should really be it! in fact, you shouldn't really need to call
> > init_connections() because the static variables it uses should be NULL
> > anyway.
>
> Hmm. Alright, I'll take a look at it.
btw i just took out the call to init_policy_hnd() :-) :-)
More information about the samba-technical
mailing list