Displaying 1 result from an estimated 1 matches for "samba_kdc_get_pac_blob".
2010 Apr 19
1
Samba4 segfault
...059258e in krb5_kdc_process_krb5_request ()
#6 0x00000000005fc1dc in kdc_process ()
#7 0x00000000005fc4bb in kdc_tcp_call_loop ()
...
Looking at the code, the error is quite easy to find:
source4/kdc/wdc-samba4.c: krb5_error_code samba_wdc_get_pac()
calls
1.) source4/kdc/pac-glue.c: samba_kdc_get_pac_blob()
/* The user account may be set not to want the PAC */
...
*_pac_blob = NULL;
and then calls
2. source4/kdc/pac-glue.c: samba_make_krb5_pac()
which tries to use uninitalized "pac_blob" and segfaults
A simple patch is attached that solved the problem for me.
Bye,...