[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: useradd segmentation fault



On Sat, 08 Nov 2014, Joris Bolsens wrote:
> I can't be 100% certain because I'm not sure what any of this means,
> but it would seem I messed up somewhere as it shows `No Symbol Table
> info available` for libnss_ldap.

Awesome. It looks like it's segfaulting in libnss_ldap, which you didn't
build symbols for (and unfortunately, they're not currently available).

apt-get build-dep libnss-ldap;
DEB_BUILD_OPTS="nostrip,noopt" apt-get source -b libnss-ldap;

will give you those symbols. 

Then you can rerun /usr/sbin/useradd foo; and re-analyze the coredump.

Please double check the bt full; output for any obvious password strings
too before posting to this mailing list. [I should have told you to do
that too, but I don't see any below, so you should be OK.]
 
And also don't send the core file to the BTS either, unless you're going
to change your ldap machine passwords.


-- 
Don Armstrong                      http://www.donarmstrong.com

The game of science is, in principle, without end. He who decides one
day that scientific statements do not call for any further test, and
that they can be regarded as finally verified, retires from the game.
 -- Sir Karl Popper _The Logic of Scientific Discovery_ §11


Reply to: