Re: slapd - slow starting

2006-07-11 Thread Daniel O'Connor
On Tuesday 11 July 2006 15:49, Doug Barton wrote: > This is bad advice for 2 reasons. First, the OP stated that he's using > 6.1-Stable, which already has the local_startup changes merged, so all > proper rc.d scripts will be run in the same rcorder, whether they are in > the base (/etc/rc.d) or in

Re: slapd - slow starting

2006-07-10 Thread Doug Barton
Daniel O'Connor wrote: > On Monday 10 July 2006 19:57, Dominik Zalewski wrote: >> I'm using FreeBSD 6.1-STABLE on i386. I have installed openldap-server , >> pam_ldap , nss_ldap. During booting and when I >> do /usr/local/etc/rc.d/slapd.sh start , its taking very long time to start. >> Here is what

Re: slapd - slow starting

2006-07-10 Thread Daniel O'Connor
On Monday 10 July 2006 22:30, Dominik Zalewski wrote: > Still the same problem. I tried also to change bind_policy to soft. > Can you show me your nss_ldap.conf ? Ah yes, that's the fix.. I have these in nss_ldap.conf timeout 5 bind_timeout5 bind_policy sof

Re: slapd - slow starting

2006-07-10 Thread UEMURA (fka. MAENAKA) Tetsuya
Posted on Mon, 10 Jul 2006 15:27:39 +0200 by author Eric Masson <[EMAIL PROTECTED]> > Chicken & Egg problem, the system queries the ldap backend to get > informations about the account it will use to start the ldap backend. Indeed. So that by adding `bind_policy soft' to nss_ldap.conf to force nss

Re: slapd - slow starting

2006-07-10 Thread Eric Masson
Dominik Zalewski <[EMAIL PROTECTED]> writes: Hi, > Problem is after I change things in /dev/nsswitch.conf. If I live it like > this: > > group: compat > passwd: compat > > I start slapd using /etc/rc.d/slapd start , then I change /etc/nsswitch.conf > to: > > group: files ldap > passwd: files ld

Re: slapd - slow starting

2006-07-10 Thread Dominik Zalewski
On Monday 10 July 2006 14:43, Daniel O'Connor wrote: > On Monday 10 July 2006 19:57, Dominik Zalewski wrote: > > I'm using FreeBSD 6.1-STABLE on i386. I have installed openldap-server , > > pam_ldap , nss_ldap. During booting and when I > > do /usr/local/etc/rc.d/slapd.sh start , its taking very lo

Re: slapd - slow starting

2006-07-10 Thread Dominik Zalewski
On Monday 10 July 2006 14:49, UEMURA (fka. MAENAKA) Tetsuya wrote: > Posted on Mon, 10 Jul 2006 13:27:23 +0300 > by author Dominik Zalewski <[EMAIL PROTECTED]> > > > Here are my ldap.conf and nss_ldap.conf > > #bind_policy hard > > Change "hard" to "soft" and your problem would go away. I did it.

Re: slapd - slow starting

2006-07-10 Thread Dominik Zalewski
On Monday 10 July 2006 14:43, Daniel O'Connor wrote: > On Monday 10 July 2006 19:57, Dominik Zalewski wrote: > > I'm using FreeBSD 6.1-STABLE on i386. I have installed openldap-server , > > pam_ldap , nss_ldap. During booting and when I > > do /usr/local/etc/rc.d/slapd.sh start , its taking very lo

Re: slapd - slow starting

2006-07-10 Thread UEMURA (fka. MAENAKA) Tetsuya
Posted on Mon, 10 Jul 2006 13:27:23 +0300 by author Dominik Zalewski <[EMAIL PROTECTED]> > Here are my ldap.conf and nss_ldap.conf > #bind_policy hard Change "hard" to "soft" and your problem would go away. -- UEMURA (fka. MAENAKA) Tetsuya <[EMAIL PROTECTED]>

Re: slapd - slow starting

2006-07-10 Thread Daniel O'Connor
On Monday 10 July 2006 19:57, Dominik Zalewski wrote: > I'm using FreeBSD 6.1-STABLE on i386. I have installed openldap-server , > pam_ldap , nss_ldap. During booting and when I > do /usr/local/etc/rc.d/slapd.sh start , its taking very long time to start. > Here is what I'm getting in logfile: You

slapd - slow starting

2006-07-10 Thread Dominik Zalewski
Hi, I'm using FreeBSD 6.1-STABLE on i386. I have installed openldap-server , pam_ldap , nss_ldap. During booting and when I do /usr/local/etc/rc.d/slapd.sh start , its taking very long time to start. Here is what I'm getting in logfile: slapd[43485]: daemon: shutdown requested and initiated. s