kpasswdd dumps on OpenBSD6.3

2018-08-02 Thread ASV
Hi everyone, I'm experiencing a frustrating issue with Heimdal 7.5.0p0 installed on OpenBSD 6.3 and at this point I'm at a dead end. Everything is working well but kpasswdd. Everytime I try to reset a password from any computer after few seconds the daemon core dumps! (ON A WORKSTATION) % kpasswd

Re: kpasswdd dumps on OpenBSD6.3

2018-08-03 Thread ASV
til -lwind -lheimbase -lhx509 -lhcrypto -lcrypto -lheimsqlite -Wl,-rpath,/usr/local/heimdal/lib On Thu, 2018-08-02 at 12:44 -0400, Viktor Dukhovni wrote: > > On Aug 2, 2018, at 12:33 PM, ASV wrote: > > > > Program received signal SIGSEGV, Segmentation fault. >

Re: kpasswdd dumps on OpenBSD6.3

2018-08-03 Thread ASV
kbind 0 41873 kpasswdd CALL kbind(0x7f7f8290,24,0xc5f5073165aed820) 41873 kpasswdd RET kbind 0 41873 kpasswdd PSIG SIGSEGV SIG_DFL code SEGV_MAPERR<1> addr=0xc8 trapno=6 41873 kpasswdd NAMI "kpasswdd.core" On Fri, 2018-08-03 at 10:59 -0400, Viktor Dukhovni wrote: >

Re: kpasswdd dumps on OpenBSD6.3

2018-08-04 Thread ASV
On Aug 4, 2018, at 2:36 PM, ASV wrote: > > > > You've been 23 secs faster to reply than me to correct the email > > with > > the wrong output! :D > > > > So, the correct one has been sent already. About the source code, > > well >

Re: kpasswdd dumps on OpenBSD6.3

2018-08-04 Thread ASV
On Fri, 2018-08-03 at 14:05 -0400, Viktor Dukhovni wrote: > > On Aug 3, 2018, at 1:43 PM, ASV wrote: > > > > No, no crashes using "kadmin -l". > > This shows that "kadmin" and the libkadm5srv.so library work fine. > > Which libraries is "

Re: kpasswdd dumps on OpenBSD6.3

2018-08-04 Thread ASV
Please DISCARD the previous email where I've erroneously posted the libraries linked to kpasswd and not to kpasswdd. On Fri, 2018-08-03 at 14:05 -0400, Viktor Dukhovni wrote: > > On Aug 3, 2018, at 1:43 PM, ASV wrote: > > > > No, no crashes using "kadmin -l".

Re: kpasswdd dumps on OpenBSD6.3

2018-08-04 Thread ASV
, Viktor Dukhovni wrote: > > On Aug 4, 2018, at 1:43 PM, ASV wrote: > > > > On Fri, 2018-08-03 at 14:05 -0400, Viktor Dukhovni wrote: > > > > On Aug 3, 2018, at 1:43 PM, ASV wrote: > > > > > > > > No, no crashes using "kadmin -l". >

Re: kpasswdd dumps on OpenBSD6.3

2018-08-05 Thread ASV
0x10202 66050 cs 0x2b 43 ss 0x23 35 ds 0x23 35 es 0x23 35 fs 0x23 35 gs 0x23 35 On Sat, 2018-08-04 at 15:44 -0400, Viktor Dukhovni wrote: > > On Aug 4, 2018, at 3:28 PM, ASV wrote: > &g

Re: kpasswdd dumps on OpenBSD6.3

2018-08-05 Thread ASV
Thank you Antoine, I'll try and post the results ASAP. On Sat, 2018-08-04 at 23:01 +0200, Antoine Jacoutot wrote: > > > Presumably you did not install an executable with the debug > > > symbols. > > > > About this I do not know what to say, I've seen the CFLAGS in the > > compiling output lines

Re: kpasswdd dumps on OpenBSD6.3

2018-08-05 Thread ASV
wrote: > On Aug 5, 2018, at 5:20 AM, ASV wrote: > > > > Good morning, > > this looks more exhaustive to me. :) > > You have debugging symbols in the "kpasswdd" executable, but NOT in > the > libkadm5srv.so library. Please also install the

Re: kpasswdd dumps on OpenBSD6.3

2018-08-05 Thread ASV
an expected behaviour. On Sun, 2018-08-05 at 16:01 -0400, Viktor Dukhovni wrote: > > On Aug 5, 2018, at 3:58 PM, ASV wrote: > > > > Anyway, looking forward for the patch. I'm glad I've helped the > > project > > somehow. Thanks a lot for your time and responsiveness. &

Re: kpasswdd dumps on OpenBSD6.3

2018-08-05 Thread ASV
4:15 -0400, Viktor Dukhovni wrote: > > On Aug 5, 2018, at 12:33 PM, ASV wrote: > > > > Here we go: > > > > (gdb) frame 2 > > #2 0x1fe05dc02bfb in change (auth_context=0x1fe261682080, > > admin_principal=0x1fe318614860, version=65408, s=8, >

Re: kpasswdd dumps on OpenBSD6.3

2018-08-05 Thread ASV
Awesome! I'll modify it manually as it's gonna take some time to get into the OpenBSD ports anyway. Thanks. On Sun, 2018-08-05 at 16:01 -0400, Viktor Dukhovni wrote: > https://github.com/heimdal/heimdal/commit/dd249257e397a26c48164122c89 > 2c96a10b64c44

Re: kpasswdd dumps on OpenBSD6.3

2018-08-07 Thread ASV
the principal itself. Am I wrong? On Mon, 2018-08-06 at 10:57 -0400, Viktor Dukhovni wrote: > > On Aug 6, 2018, at 3:52 AM, ASV wrote: > > > > There are sections which are scarcely written and perhaps not even > > correct (like the incremental propagation on

Re: kpasswdd dumps on OpenBSD6.3

2018-08-06 Thread ASV
. Is there a way to improve the documentation somehow? There are sections which are scarcely written and perhaps not even correct (like the incremental propagation one). On Sun, 2018-08-05 at 18:15 -0400, Viktor Dukhovni wrote: > > On Aug 5, 2018, at 5:58 PM, ASV wrote: > > > &g