Samba and ldap troubles.

George Farris farrisg at mala.bc.ca
Wed Sep 28 10:01:57 CDT 2005


On Sat, 2005-09-03 at 02:00 +1000, Jeff Waugh wrote:
> <quote who="George Farris">
> 
> > It seems Openldap may be the problem to the point of having to reboot the
> > system.  I'm wondering if the choice of using bdb as the database was a
> > wise one.  Fedora used ldbm and we've never had a problem.
> 
> I've always stuck to ldbm myself, bdb is a maintenance pain and a stability
> nightmare. :-)
> 

Well after a long run of a couple of weeks it turns out the the trouble
seems to be with /etc/pam.d/common-session.

Once I changed this from:
#
session   sufficient      pam_unix.so
session   sufficient      pam_ldap.so

to

session   sufficient      pam_unix.so
#session   sufficient      pam_ldap.so

Everything has been running since.  One or possibly more cron jobs do
not like this.

I now have a Hoary with ldbm, a Breezy with bdb and a Breezy with ldbm
running for many days.

I have seem many, many examples of configuration of these files out on
the net and they are all slightly different.  One actually suggests
"session optional pam_ldap.so" which I haven't tried yet, it may work.

Comments?

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






More information about the ubuntu-devel mailing list