libnet_ChangePassword() Python binding

Jelmer Vernooij jelmer at samba.org
Fri Jul 17 06:22:03 MDT 2009


Hi Zahari,

Zahari Z. wrote:
> This is the Segmentation fault I get from gdb:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb7e5a8c0 (LWP 18543)]
> 0xb43b0a48 in cli_credentials_get_workstation (cred=0x0) at
> auth/credentials/credentials.c:501
> 501        if (cred->workstation_obtained == CRED_CALLBACK &&
>
> I am trying to writhe a binding for ChengePassword() function.
> Someone, if you see something fishy please let me know.
You don't seem to be filling in the required fields in the "r" variable;
I would expect that to be causing the crash.

Cheers,

Jelmer


More information about the samba-technical mailing list