Re: (ITS#8371) slapd crashes with ldappasswd
by quanah@zimbra.com
--On Friday, February 12, 2016 1:40 PM -0600 kevin martin=20
<ktmdms(a)gmail.com> wrote:
>
> Hmm, the configure command I used was:
>
>
> ./configure --with-tls=3Dopenssl --enable-modules --enable-syncprov
> --enable-seqmod =C2=A0--enable-sssvlv --enable-ppolicy --enable-accesslog
> --enable-passwd --enable-monitor --enable-bdb --enable-syslog
>
>
>
> but when I get to "make install" no contrib get's made or installed.
> =C2=A0sha2 is part of contrib/slapd-modules/passwd and I don't see =
anything
> in configure that allows you to source in any of the contrib stuff so
> yes, I appear to have missed compiling and installing the updated sha2
> modules.
Right, contrib items are not built as part of the overall process. They=20
are contributions, not part of the core product. You have to individually=20
build and install the ones you want.
--Quanah
--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
A division of Synacor, Inc
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by ktmdms@gmail.com
--001a113f36ea472c2d052b97d94d
Content-Type: text/plain; charset=UTF-8
Hmm, the configure command I used was:
./configure --with-tls=openssl --enable-modules --enable-syncprov
--enable-seqmod --enable-sssvlv --enable-ppolicy --enable-accesslog
--enable-passwd --enable-monitor --enable-bdb --enable-syslog
but when I get to "make install" no contrib get's made or installed. sha2
is part of contrib/slapd-modules/passwd and I don't see anything in
configure that allows you to source in any of the contrib stuff so yes, I
appear to have missed compiling and installing the updated sha2 modules.
Thanks for the help; I was hard pressed to figure this out myself!
Kevin
---
Regards,
Kevin Martin
On Fri, Feb 12, 2016 at 1:33 PM, Quanah Gibson-Mount <quanah(a)zimbra.com>
wrote:
> --On Friday, February 12, 2016 7:29 PM +0000 ktmdms(a)gmail.com wrote:
>
> --001a113f36ea7f617e052b97afc7
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: quoted-printable
>>
>> So after installing with STRIP=3D"" I noticed that the pw-sha2.a and .so
>> were a bit older than the openldap software so I recompiled that as well
>> and installed it and the crashing stopped. I've since installed the
>> stripped version again and it doesn't crash so I think the problem ended
>> up being in the pw-sha2 module.
>>
>
> Sounds like your build process doesn't correctly install/update all the
> components you're using then. ;)
>
> Closing this ITS.
>
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Platform Architect
> Zimbra, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
> A division of Synacor, Inc
>
--001a113f36ea472c2d052b97d94d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hmm, the configure command I used was:<div><br></div><div>=
./configure --with-tls=3Dopenssl --enable-modules --enable-syncprov --enabl=
e-seqmod =C2=A0--enable-sssvlv --enable-ppolicy --enable-accesslog --enable=
-passwd --enable-monitor --enable-bdb --enable-syslog<br></div><div><br></d=
iv><div>but when I get to "make install" no contrib get's mad=
e or installed. =C2=A0sha2 is part of contrib/slapd-modules/passwd and I do=
n't see anything in configure that allows you to source in any of the c=
ontrib stuff so yes, I appear to have missed compiling and installing the u=
pdated sha2 modules.</div><div><br></div><div>Thanks for the help; I was ha=
rd pressed to figure this out myself!</div><div><br></div><div>Kevin</div><=
/div><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_=
signature"><div dir=3D"ltr">---<div><span style=3D"font-size:12.8px"><br></=
span></div><div><span style=3D"font-size:12.8px"><br></span></div><div><spa=
n style=3D"font-size:12.8px">Regards,</span></div><div><div><br></div><div>=
Kevin Martin</div></div></div></div></div>
<br><div class=3D"gmail_quote">On Fri, Feb 12, 2016 at 1:33 PM, Quanah Gibs=
on-Mount <span dir=3D"ltr"><<a href=3D"mailto:quanah@zimbra.com" target=
=3D"_blank">quanah(a)zimbra.com</a>></span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">--On Friday, February 12, 2016 7:29 PM +0000 <a href=3D"mailto:k=
tmdms(a)gmail.com" target=3D"_blank">ktmdms(a)gmail.com</a> wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
--001a113f36ea7f617e052b97afc7<br>
Content-Type: text/plain; charset=3DUTF-8<br>
Content-Transfer-Encoding: quoted-printable<br>
<br>
So after installing with STRIP=3D3D""=C2=A0 I noticed that the pw=
-sha2.a and .so<span class=3D""><br>
were a bit older than the openldap software so I recompiled that as well<br=
>
and installed it and the crashing stopped.=C2=A0 I've since installed t=
he<br>
stripped version again and it doesn't crash so I think the problem ende=
d<br>
up being in the pw-sha2 module.<br>
</span></blockquote>
<br>
Sounds like your build process doesn't correctly install/update all the=
components you're using then. ;)<br>
<br>
Closing this ITS.<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--Quanah<br>
<br>
<br>
--<br>
<br>
Quanah Gibson-Mount<br>
Platform Architect<br>
Zimbra, Inc.<br>
--------------------<br>
Zimbra ::=C2=A0 the leader in open source messaging and collaboration<br>
A division of Synacor, Inc<br>
</div></div></blockquote></div><br></div>
--001a113f36ea472c2d052b97d94d--
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by quanah@zimbra.com
--On Friday, February 12, 2016 7:29 PM +0000 ktmdms(a)gmail.com wrote:
> --001a113f36ea7f617e052b97afc7
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
> So after installing with STRIP=3D"" I noticed that the pw-sha2.a and .so
> were a bit older than the openldap software so I recompiled that as well
> and installed it and the crashing stopped. I've since installed the
> stripped version again and it doesn't crash so I think the problem ended
> up being in the pw-sha2 module.
Sounds like your build process doesn't correctly install/update all the
components you're using then. ;)
Closing this ITS.
--Quanah
--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
A division of Synacor, Inc
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by ktmdms@gmail.com
--001a113f36ea7f617e052b97afc7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
So after installing with STRIP=3D"" I noticed that the pw-sha2.a and .so
were a bit older than the openldap software so I recompiled that as well
and installed it and the crashing stopped. I've since installed the
stripped version again and it doesn't crash so I think the problem ended up
being in the pw-sha2 module.
Kevin
---
Regards,
Kevin Martin
On Fri, Feb 12, 2016 at 11:41 AM, Michael Str=C3=B6der <michael(a)stroeder.co=
m>
wrote:
> ktmdms(a)gmail.com wrote:
> > Should I add STRIP=3D"" in the Makefile or is there a way to add that o=
n
> the
> > configure line?
>
> You can simply use
>
> make install STRIP=3D""
>
> Ciao, Michael.
>
--001a113f36ea7f617e052b97afc7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">So after installing with STRIP=3D"" =C2=A0I noti=
ced that the pw-sha2.a and .so were a bit older than the openldap software =
so I recompiled that as well and installed it and the crashing stopped.=C2=
=A0 I've since installed the stripped version again and it doesn't =
crash so I think the problem ended up being in the pw-sha2 module.<div><br>=
</div><div>Kevin</div></div><div class=3D"gmail_extra"><br clear=3D"all"><d=
iv><div class=3D"gmail_signature"><div dir=3D"ltr">---<div><span style=3D"f=
ont-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px"><br=
></span></div><div><span style=3D"font-size:12.8px">Regards,</span></div><d=
iv><div><br></div><div>Kevin Martin</div></div></div></div></div>
<br><div class=3D"gmail_quote">On Fri, Feb 12, 2016 at 11:41 AM, Michael St=
r=C3=B6der <span dir=3D"ltr"><<a href=3D"mailto:michael@stroeder.com" ta=
rget=3D"_blank">michael(a)stroeder.com</a>></span> wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><span class=3D""><a href=3D"mailto:ktmdms@gmail.com">ktmd=
ms(a)gmail.com</a> wrote:<br>
> Should I add STRIP=3D"" in the Makefile or is there a way to=
add that on the<br>
> configure line?<br>
<br>
</span>You can simply use<br>
<br>
make install STRIP=3D""<br>
<br>
Ciao, Michael.<br>
</blockquote></div><br></div>
--001a113f36ea7f617e052b97afc7--
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by michael@stroeder.com
ktmdms(a)gmail.com wrote:
> Should I add STRIP="" in the Makefile or is there a way to add that on the
> configure line?
You can simply use
make install STRIP=""
Ciao, Michael.
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by ktmdms@gmail.com
--001a113a557a968d8d052b96215c
Content-Type: text/plain; charset=UTF-8
Should I add STRIP="" in the Makefile or is there a way to add that on the
configure line?
Thanks.
Kevin
---
Regards,
Kevin Martin
On Fri, Feb 12, 2016 at 11:32 AM, Quanah Gibson-Mount <quanah(a)zimbra.com>
wrote:
> --On Friday, February 12, 2016 11:22 AM -0600 kevin martin <
> ktmdms(a)gmail.com> wrote:
>
>
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 0x7f6f7664d700 (LWP 30978)]
>> 0x0000000000467f2f in passwd_extop ()
>> (gdb) thr apply all bt full
>>
>
> Hi Kevin,
>
> You appear to be running a stripped binary lacking debug symbols. You
> need to ensure your slapd build is not stripped nor lacking debug symbols
> (-g as one of the CFLAGS). Adding STRIP="" to the make install bits will
> prevent the stripping.
>
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Platform Architect
> Zimbra, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
> A division of Synacor, Inc
>
--001a113a557a968d8d052b96215c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Should I add STRIP=3D"" in the Makefile or is th=
ere a way to add that on the configure line?<div><br></div><div>Thanks.</di=
v><div><br></div><div>Kevin</div></div><div class=3D"gmail_extra"><br clear=
=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr">---<div><span=
style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:=
12.8px"><br></span></div><div><span style=3D"font-size:12.8px">Regards,</sp=
an></div><div><div><br></div><div>Kevin Martin</div></div></div></div></div=
>
<br><div class=3D"gmail_quote">On Fri, Feb 12, 2016 at 11:32 AM, Quanah Gib=
son-Mount <span dir=3D"ltr"><<a href=3D"mailto:quanah@zimbra.com" target=
=3D"_blank">quanah(a)zimbra.com</a>></span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><span class=3D"">--On Friday, February 12, 2016 11:22 AM -0600 k=
evin martin <<a href=3D"mailto:ktmdms@gmail.com" target=3D"_blank">ktmdm=
s(a)gmail.com</a>> wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 0x7f6f7664d700 (LWP 30978)]<br>
0x0000000000467f2f in passwd_extop ()<br>
(gdb) thr apply all bt full<br>
</blockquote>
<br></span>
Hi Kevin,<br>
<br>
You appear to be running a stripped binary lacking debug symbols.=C2=A0 You=
need to ensure your slapd build is not stripped nor lacking debug symbols =
(-g as one of the CFLAGS).=C2=A0 Adding STRIP=3D"" to the make in=
stall bits will prevent the stripping.<div class=3D"HOEnZb"><div class=3D"h=
5"><br>
<br>
--Quanah<br>
<br>
<br>
--<br>
<br>
Quanah Gibson-Mount<br>
Platform Architect<br>
Zimbra, Inc.<br>
--------------------<br>
Zimbra ::=C2=A0 the leader in open source messaging and collaboration<br>
A division of Synacor, Inc<br>
</div></div></blockquote></div><br></div>
--001a113a557a968d8d052b96215c--
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by quanah@zimbra.com
--On Friday, February 12, 2016 11:22 AM -0600 kevin martin
<ktmdms(a)gmail.com> wrote:
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f6f7664d700 (LWP 30978)]
> 0x0000000000467f2f in passwd_extop ()
> (gdb) thr apply all bt full
Hi Kevin,
You appear to be running a stripped binary lacking debug symbols. You need
to ensure your slapd build is not stripped nor lacking debug symbols (-g as
one of the CFLAGS). Adding STRIP="" to the make install bits will prevent
the stripping.
--Quanah
--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
A division of Synacor, Inc
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by ktmdms@gmail.com
--001a113a557a0b02ca052b95eb6f
Content-Type: text/plain; charset=UTF-8
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6f7664d700 (LWP 30978)]
0x0000000000467f2f in passwd_extop ()
(gdb) thr apply all bt full
Thread 4 (Thread 0x7f6f77e4f700 (LWP 30977)):
#0 0x00007f6f7d62c753 in epoll_wait () from /lib64/libc.so.6
No symbol table info available.
#1 0x0000000000433cd3 in ?? ()
No symbol table info available.
#2 0x00007f6f7d8fbdc5 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#3 0x00007f6f7d62c17d in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7f6f7664d700 (LWP 30978)):
#0 0x0000000000467f2f in passwd_extop ()
No symbol table info available.
#1 0x0000000000466996 in fe_extended ()
No symbol table info available.
#2 0x000000000046671e in do_extended ()
No symbol table info available.
#3 0x000000000043810e in ?? ()
No symbol table info available.
#4 0x000000000043898b in ?? ()
No symbol table info available.
#5 0x00000000005306f9 in ?? ()
No symbol table info available.
#6 0x00007f6f7d8fbdc5 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007f6f7d62c17d in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7f6f75e4c700 (LWP 30979)):
#0 0x00007f6f7d8ff6d5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
No symbol table info available.
#1 0x000000000053074b in ?? ()
No symbol table info available.
#2 0x00007f6f7d8fbdc5 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#3 0x00007f6f7d62c17d in clone () from /lib64/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread 0x7f6f7eb53840 (LWP 30975)):
#0 0x00007f6f7d8fcef7 in pthread_join () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x0000000000435909 in slapd_daemon ()
No symbol table info available.
#2 0x000000000041eccf in main ()
No symbol table info available.
---
Regards,
Kevin Martin
On Fri, Feb 12, 2016 at 11:01 AM, Quanah Gibson-Mount <quanah(a)zimbra.com>
wrote:
> --On Friday, February 12, 2016 4:30 PM +0000 ktmdms(a)gmail.com wrote:
>
> Full_Name: Kevin Martin
>> Version: 2.4.44
>> OS: Oracle Linux 7
>> URL:
>> Submission from: (NULL) (160.34.110.215)
>>
>
> What else would you like to help figure this out?
>>
>
> As noted in <http://www.openldap.org/faq/data/cache/59.html>, when slapd
> crashes, one should provide a backtrace from gdb.
>
> I.e.:
>
> Start slapd
>
> gdb /path/to/slapd pid
>
> (gdb) cont
>
> Then execute your ldappasswd command in another window. When slapd
> crashes, it'll drop back into gdb.
>
> (gdb) thr apply all bt full
>
> Provide that output back to the ITS.
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Platform Architect
> Zimbra, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
> A division of Synacor, Inc
>
--001a113a557a0b02ca052b95eb6f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Program received signal SIGSEGV, Segmentation fault.<=
/div><div>[Switching to Thread 0x7f6f7664d700 (LWP 30978)]</div><div>0x0000=
000000467f2f in passwd_extop ()</div><div>(gdb) thr apply all bt full</div>=
<div><br></div><div>Thread 4 (Thread 0x7f6f77e4f700 (LWP 30977)):</div><div=
>#0 =C2=A00x00007f6f7d62c753 in epoll_wait () from /lib64/libc.so.6</div><d=
iv>No symbol table info available.</div><div>#1 =C2=A00x0000000000433cd3 in=
?? ()</div><div>No symbol table info available.</div><div>#2 =C2=A00x00007=
f6f7d8fbdc5 in start_thread () from /lib64/libpthread.so.0</div><div>No sym=
bol table info available.</div><div>#3 =C2=A00x00007f6f7d62c17d in clone ()=
from /lib64/libc.so.6</div><div>No symbol table info available.</div><div>=
<br></div><div>Thread 3 (Thread 0x7f6f7664d700 (LWP 30978)):</div><div>#0 =
=C2=A00x0000000000467f2f in passwd_extop ()</div><div>No symbol table info =
available.</div><div>#1 =C2=A00x0000000000466996 in fe_extended ()</div><di=
v>No symbol table info available.</div><div>#2 =C2=A00x000000000046671e in =
do_extended ()</div><div>No symbol table info available.</div><div>#3 =C2=
=A00x000000000043810e in ?? ()</div><div>No symbol table info available.</d=
iv><div>#4 =C2=A00x000000000043898b in ?? ()</div><div>No symbol table info=
available.</div><div>#5 =C2=A00x00000000005306f9 in ?? ()</div><div>No sym=
bol table info available.</div><div>#6 =C2=A00x00007f6f7d8fbdc5 in start_th=
read () from /lib64/libpthread.so.0</div><div>No symbol table info availabl=
e.</div><div>#7 =C2=A00x00007f6f7d62c17d in clone () from /lib64/libc.so.6<=
/div><div>No symbol table info available.</div><div><br></div><div>Thread 2=
(Thread 0x7f6f75e4c700 (LWP 30979)):</div><div>#0 =C2=A00x00007f6f7d8ff6d5=
in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0</div><div=
>No symbol table info available.</div><div>#1 =C2=A00x000000000053074b in ?=
? ()</div><div>No symbol table info available.</div><div>#2 =C2=A00x00007f6=
f7d8fbdc5 in start_thread () from /lib64/libpthread.so.0</div><div>No symbo=
l table info available.</div><div>#3 =C2=A00x00007f6f7d62c17d in clone () f=
rom /lib64/libc.so.6</div><div>No symbol table info available.</div><div>--=
-Type <return> to continue, or q <return> to quit---</div><div>=
<br></div><div>Thread 1 (Thread 0x7f6f7eb53840 (LWP 30975)):</div><div>#0 =
=C2=A00x00007f6f7d8fcef7 in pthread_join () from /lib64/libpthread.so.0</di=
v><div>No symbol table info available.</div><div>#1 =C2=A00x000000000043590=
9 in slapd_daemon ()</div><div>No symbol table info available.</div><div>#2=
=C2=A00x000000000041eccf in main ()</div><div>No symbol table info availab=
le.</div><div><br></div><div><br></div></div><div class=3D"gmail_extra"><br=
clear=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr">---<div=
><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font=
-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">Regard=
s,</span></div><div><div><br></div><div>Kevin Martin</div></div></div></div=
></div>
<br><div class=3D"gmail_quote">On Fri, Feb 12, 2016 at 11:01 AM, Quanah Gib=
son-Mount <span dir=3D"ltr"><<a href=3D"mailto:quanah@zimbra.com" target=
=3D"_blank">quanah(a)zimbra.com</a>></span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">--On Friday, February 12, 2016 4:30 PM +0000 <a href=3D"mailto:k=
tmdms(a)gmail.com" target=3D"_blank">ktmdms(a)gmail.com</a> wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Full_Name: Kevin Martin<br>
Version: 2.4.44<br>
OS: Oracle Linux 7<br>
URL:<br>
Submission from: (NULL) <a href=3D"tel:%28160.34.110.215" value=3D"+1603411=
0215" target=3D"_blank">(160.34.110.215</a>)<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
What else would you like to help figure this out?<br>
</blockquote>
<br>
As noted in <<a href=3D"http://www.openldap.org/faq/data/cache/59.html" =
rel=3D"noreferrer" target=3D"_blank">http://www.openldap.org/faq/data/cache=
/59.html</a>>, when slapd crashes, one should provide a backtrace from g=
db.<br>
<br>
I.e.:<br>
<br>
Start slapd<br>
<br>
gdb /path/to/slapd pid<br>
<br>
(gdb) cont<br>
<br>
Then execute your ldappasswd command in another window.=C2=A0 When slapd cr=
ashes, it'll drop back into gdb.<br>
<br>
(gdb) thr apply all bt full<br>
<br>
Provide that output back to the ITS.<br>
<br>
--Quanah<br>
<br>
<br>
--<br>
<br>
Quanah Gibson-Mount<br>
Platform Architect<br>
Zimbra, Inc.<br>
--------------------<br>
Zimbra ::=C2=A0 the leader in open source messaging and collaboration<br>
A division of Synacor, Inc<br>
</blockquote></div><br></div>
--001a113a557a0b02ca052b95eb6f--
7 years, 9 months
Re: (ITS#8371) slapd crashes with ldappasswd
by quanah@zimbra.com
--On Friday, February 12, 2016 4:30 PM +0000 ktmdms(a)gmail.com wrote:
> Full_Name: Kevin Martin
> Version: 2.4.44
> OS: Oracle Linux 7
> URL:
> Submission from: (NULL) (160.34.110.215)
> What else would you like to help figure this out?
As noted in <http://www.openldap.org/faq/data/cache/59.html>, when slapd
crashes, one should provide a backtrace from gdb.
I.e.:
Start slapd
gdb /path/to/slapd pid
(gdb) cont
Then execute your ldappasswd command in another window. When slapd
crashes, it'll drop back into gdb.
(gdb) thr apply all bt full
Provide that output back to the ITS.
--Quanah
--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
A division of Synacor, Inc
7 years, 9 months
(ITS#8371) slapd crashes with ldappasswd
by ktmdms@gmail.com
Full_Name: Kevin Martin
Version: 2.4.44
OS: Oracle Linux 7
URL:
Submission from: (NULL) (160.34.110.215)
Running Openldap 2.4.42 and/or 2.4.44 I am able to crash slapd at will running
ldappasswd as root changing another users password. On another openldap server
running 2.4.42 the same change works flawlessly. Here's my setup:
Command run:
ldappasswd -d1 -ZZ "uid=chaliburt,ou=People,dc=ccd,dc=com" -D
"cn=Manager,dc=ccd,dc=com" -H ldap://ldapx.mgt.ccd -W -S
New password:
Re-enter new password:
Enter LDAP Password:
ldap_result: Can't contact LDAP server (-1)
Bad Server:
Oracle Linux 7 3.8.13-118.2.5.el7uek.x86_64
openldap 2.4.44
]# ldd /usr/local/libexec/slapd
linux-vdso.so.1 => (0x00007ffca8b85000)
libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f8a8ea45000)
libdb-5.3.so => /lib64/libdb-5.3.so (0x00007f8a8e687000)
l libssl.so.10 => /lib64/libssl.so.10 (0x00007f8a8e41a000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f8a8e033000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8a8de19000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8a8dbfd000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8a8d83f000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8a8d63b000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f8a8d3ef000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f8a8d10a000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f8a8cf06000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f8a8ccd4000)
libz.so.1 => /lib64/libz.so.1 (0000007f8a8cabe000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8a8ec4f000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f8a8c8af000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f8a8c6ab000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8a8c487000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8a8c226000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f8a8c001000)
last bits of an strace of slapd shows:
[pid 26360] sendto(3, "<167>Feb 11 15:30:01 slapd[26357"..., 109, MSG_NOSIGNAL,
NULL, 0 <unfinished ...>
[pid 26359] epoll_wait(6, <unfinished ...>
[pid 26360] <... sendto resumed> ) = 109
[pid 26360] --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
[pid 26361] +++ killed by SIGSEGV +++
[pid 260%5] +++ killed by SIGSEGV +++
[pid 26359] +++ killed by SIGSEGV +++
+++ killed by SIGSEGV +++
slapd.log shows:
Feb 12 06:53:48 ldapx slapd[30367]: conn=1000 fd=19 ACCEPT from
IP=172.17.206.55:42250 (IP=0.0.0.0:389)
b b 12 06:53:48 ldapx slapd[30367]: conn=1000 op=0 EXT
oid=1.3.6.1.4.1.1466.20037
Feb 12 06:53:48 ldapx slapd[30367]: conn=1000 op=0 STARTTLS
Feb 12 06:53:48 ldapx slapd[30367]: conn=1000 op=0 RESULT oid= err=0 text=
Feb 12 06:53:48 ldapx slapd[30367]: conn=1000 fd=19 TLS established tls_ssf=256
ssf=256
Feb 12 06:53:56 ldapx slapd[30367]: conn=1000 op=1 BIND
dn="cn=Manager,dc=ccd,dc=com" method=128
Feb 12 06:53:56 ldapx slapd[30367]: conn=1000 op=1 BIND
dn="cn=Manager,dc=ccd,dc=com" mech=SIMPLE ssf=0
Feb 12 06:53:56 ldapx slapd[30367]: co%3=1000 op=1 RESULT tag=97 err=0 text=
Feb 12 06:53:56 ldapx slapd[30367]: conn=1000 op=2 EXT
oid=1.3.6.1.4.1.4203.1.11.1
Feb 12 06:53:56 ldapx slapd[30367]: conn=1000 op=2 PASSMOD
id="uid=chaliburt,ou=People,dc=ccd,dc=com" new
then ththing after this.
Good openldap server:
Oracle Linux 7 3.8.13-118.2.5.el7uek.x86_64
openldap 2.4.42
# ldd /usr/local/libexec/slapd
linux-vdso.so.1 => (0x00007ffd17779000)
libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f5e152e2000)
libdb-5.3.so => /lib64/libdb-5.3.so (0x00007f5e14f24000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f5e14cb7000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f5e148d0000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f5e146b6000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5e1449a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5e140dc000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f5e13ed8000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f5e13c8c000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f5e139a7000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f5e137a3000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f5e13571000)
libz.so.1 => /lib64/libz.so.1 (0x00007f5e1335b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5e154ec000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f5e1314c000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f5e12f48000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5e12d24000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f5e12ac3000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f5e1289e000)
What else would you like to help figure this out?
7 years, 9 months