[Pkg-openldap-devel] Bug#917129: slapd-smbk5pwd: crashes when enabling krb5

Ryan Tandy ryan at nardis.ca
Sun Dec 23 01:52:18 GMT 2018


Package: slapd-smbk5pwd
Version: 2.4.46+dfsg-5
Severity: important

# ldapmodify -H ldapi:// -Y EXTERNAL << eof
> dn: olcOverlay=smbk5pwd,olcDatabase={1}mdb,cn=config
> changetype: add
> objectClass: olcSmbK5PwdConfig
> olcSmbK5PwdEnable: krb5
> eof
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "olcOverlay=smbk5pwd,olcDatabase={1}mdb,cn=config"
ldap_result: Can't contact LDAP server (-1)

Thread 3 "slapd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb58b8700 (LWP 1713)]
initialize_kadm5_error_table_r (list=0x7fffa8104fb8,
    list at entry=<error reading variable: value has been optimized out>) at kadm5_err.c:101
101	kadm5_err.c: No such file or directory.
(gdb) bt
#0  initialize_kadm5_error_table_r (list=0x7fffa8104fb8,
    list at entry=<error reading variable: value has been optimized out>) at kadm5_err.c:101
#1  0x00007ffff67fa14a in krb5_add_et_list (context=context at entry=0x7fffa8104f50, func=<optimized out>)
    at add_et_list.c:54
#2  0x00007ffff6870ed5 in _kadm5_s_init_context (ctx=ctx at entry=0x7fffb58b5e00,
    params=params at entry=0x7ffff6a3c480 <conf>, context=0x7fffa8104f50) at context_s.c:241
#3  0x00007ffff6872f6c in kadm5_s_init_with_context (context=<optimized out>,
    client_name=0x7ffff6a3a025 "kadmin/admin", realm_params=0x7ffff6a3c480 <conf>,
    server_handle=0x7ffff6a3c4b8 <kadm_context>, api_version=<optimized out>, struct_version=<optimized out>,
    service_name=<optimized out>) at init_s.c:53
#4  0x00007ffff6a378a4 in smbk5pwd_modules_init (pi=<optimized out>) at smbk5pwd.c:1009
#5  0x00007ffff6a37e78 in smbk5pwd_cf_func (c=0x7fffb58b61c0) at smbk5pwd.c:916
#6  0x000055555558397b in config_set_vals (Conf=0x7ffff6a3c100 <smbk5pwd_cfats>, c=0x7fffb58b61c0)
    at ../../../../servers/slapd/config.c:353
#7  0x00005555555845ed in config_parse_add (ct=ct at entry=0x7ffff6a3c100 <smbk5pwd_cfats>, c=c at entry=0x7fffb58b61c0,
    valx=valx at entry=0) at ../../../../servers/slapd/config.c:697
#8  0x000055555557b2c3 in config_add_internal (e=<optimized out>, ca=ca at entry=0x7fffb58b61c0,
    rs=rs at entry=0x7fffb58b7850, renum=renum at entry=0x7fffb58b618c, op=<optimized out>, cfb=<optimized out>,
    cfb=<optimized out>) at ../../../../servers/slapd/bconfig.c:5217
#9  0x000055555557c179 in config_back_add (op=0x7fffa8002940, rs=0x7fffb58b7850)
    at ../../../../servers/slapd/bconfig.c:5444
#10 0x000055555559532d in fe_op_add (op=0x7fffa8002940, rs=0x7fffb58b7850) at ../../../../servers/slapd/add.c:334
#11 0x0000555555596169 in do_add (op=0x7fffa8002940, rs=0x7fffb58b7850) at ../../../../servers/slapd/add.c:194
#12 0x000055555558e56c in connection_operation (ctx=ctx at entry=0x7fffb58b79b0, arg_v=arg_v at entry=0x7fffa8002940)
    at ../../../../servers/slapd/connection.c:1158
#13 0x000055555558f09d in connection_read_thread (ctx=0x7fffb58b79b0, argv=0xc)
    at ../../../../servers/slapd/connection.c:1294
#14 0x00007ffff7f7d9fd in ldap_int_thread_pool_wrapper (xpool=0x55555572c410)
    at ../../../../libraries/libldap_r/tpool.c:696
#15 0x00007ffff76c0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#16 0x00007ffff75f188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95



More information about the Pkg-openldap-devel mailing list