Ldap and Ubuntu server a no go - serious problems here.

George Farris farrisg at mala.bc.ca
Fri Sep 16 15:57:57 CDT 2005


On Fri, 2005-09-16 at 22:44 +0200, Ivan Krstic wrote:
> George Farris wrote:
> > Well this doesn't say anything about how your /etc/pam.d files are
> > configured, do you have anything different in /etc/pam_ldap.conf
> > or /etc/libnss-ldap.conf.
> 
> Those files have nothing to do with OpenLDAP. They tell other subsystems
> from where to get their information, and can't easily be responsible for
> any problems you're having with slapd.
> 
Well technically not with ldap directly but with ldap as an entire
system they are directly related.

> The list of questions I asked was not something I would ask a regular
> user, but someone who came to the -devel list to relate his problems,
> presumably because he wants them solved. I'm sure you understand we're
> in an unpleasant situation here: the slapd that ships with Hoary works
> fine for any number of people, but it doesn't work for you, and you're
> not able to provide details that would help us to figure out why that
> is. Basically, that means you can either try compiling a more recent
> version of OpenLDAP, switch to the Fedora DS, or switch distributions.
> 
Well I wouldn't say I'm unable to provide the results but I may require
a small amount of direction using gdb for example and I am willing to do
that.  Presumably what you're after is a backtrace with gdb???  How do I
connect and get a backtrace?

> I was mentioning both 2.2.x and 2.3.x in the context of compiling it
> yourself to determine whether the specific version is giving you trouble.
> 

I can compile 2.3.x , Breezy however already has 2.2.x and we are having
the same issue with that on a the other machine.


> You say you ran slapd on FC2 on the same machine with no trouble. I
> might suspect BDB bugginess as a problem, but that doesn't explain why
> you keep having issues with LDBM as well. Are the crashes when using
> LDBM in any way distinguishable from those when you're using BDB? I
> assume you've dumped out a LDIF for your database, deleted the old
> database, reloaded the LDIF, and regenerated indices, to no avail?

Yes when I canverted to ldbm I stopped slapd, grabbed the database with
slapcat -l myldif.ldif, rm -f /var/lib/ldap/*, slapadd -l myldif.ldif

Hmmm, I may have forgotten to regenerate the indicies when I converted
to ldbm, I ll have another go at that just in case, however I wouldn't
expect slapd to completely hang because of it.

Thanks.


-- 
George Farris   farrisg at mala.bc.ca
Malaspina University-College






More information about the ubuntu-devel mailing list