[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5354) slapd repeatedly hangs and stops reponding
- To: Howard Chu <hyc@symas.com>
- Subject: Re: (ITS#5354) slapd repeatedly hangs and stops reponding
- From: Oren Laadan <orenl@cs.columbia.edu>
- Date: Mon, 11 Feb 2008 00:45:35 -0500
- Cc: OpenLDAP Software List <openldap-software@openldap.org>
- In-reply-to: <47ACAD77.3000405@symas.com>
- Organization: Columbia University
- References: <200802080137.m181bVvl070754@boole.openldap.org> <47ABFF9E.2020701@sys-net.it> <47AC784D.3050901@cs.columbia.edu> <47AC835F.3020108@symas.com> <47AC9B1B.5050004@cs.columbia.edu> <47AC9E81.8030409@symas.com> <47ACAAC9.1020802@cs.columbia.edu> <47ACAD77.3000405@symas.com>
- User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Hi,
Thanks to a suggestion in the -software list, (see
http://www.openldap.org/lists/openldap-software/200802/msg00136.html)
one solution for my config is to use the local DB as a subordinate
of an ldap backend that works with the remote server. (also suggested
by Howard Chu, but the config wasn't suitable). The resulting config is:
http://www.openldap.org/lists/openldap-software/200802/msg00153.html
Howard Chu wrote:
Oren Laadan wrote:
Howard Chu wrote:
[SNIP]
Taking a step back: we have a departmental LDAP server for user auth,
(posix) groups, autofs maps and so on. In my group, we add to the DB
groups and autofs maps that do not exist on the remote server, so a
user on our machines can belong to additional groups.
[SNIP]
not know if I can structure it differently. Ideally I could add entries
to the remote database, but that is impossible. The remote server
gives DN dc=MAIN,dc=EXAMPLE,dc=COM, which is what I made the local
server give (via the meta backend) and which is what the clients are
using as their base DN.
Since it appears that you just need to make your data work with
pam_ldap/nss_ldap I suggest you (1) keep your local data in a distinct
subtree and (2) read the pam/nss_ldap documentation regarding the use of
multiple service search descriptors. There's no reason to be using
suffixmassage here.
Thanks for the suggestion; nss_ldap can have a directive "nss_base_<map>"
to specify server(s) for a particular map. This indeed does the trick to
extend passwd and group. I didn't find a metion of autofs maps, though.
I ended up using the 'subordinate' trick at the server size is it seems
more generic and require a change only at the server. It seems to work.
Thanks to all those that tried to help !
Oren.