[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: /etc/nsswitch cause delay in start
- To: alexs@ulgsm.ru
- Subject: Re: /etc/nsswitch cause delay in start
- From: vishesh kumar <linuxtovishesh@gmail.com>
- Date: Fri, 27 Nov 2009 20:53:01 +0530
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=7pa8LkH6mY35rYtbSo0IZ0UrselsRbbvAnWj+4rm64A=; b=JUci7GPCDkkuwzGrNUAW6ABfKmY01jcAYHOAgRiYL2oVIORw7hILgMxfmoR89Nkt5q 4i9hwG2dq7Lbq7NVUJ+Zs/l7MHlpt30eDfkQf+ywg41AM+LCU97tWxL8gIG7wJJGen/w 94/m6AFHU8XLbziAfsjJonnrq7J2u3885aB9g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=H1BhkujoumSJnaTOMPpUTMnsu6Eo33tFjzFHVbg0TeonELRGcRebH+2A64XxVR1+Uf sNRas5wW8VoRdV/KkyOxGsvYhfpdDz5E7Ovz25jAP6gumFiomTu4hg5bqEQ5R0vs9OAA h4zf8rkDS+z+9LqJt7UCMbKZucQkU7xNUX/SQ=
- In-reply-to: <20091125053855.GA16198@mail.ulgsm.ru>
- References: <e61979140911242055s600da8cdxd2148bb1c9e66967@mail.gmail.com> <20091125053855.GA16198@mail.ulgsm.ru>
Thanks
putting following entries in /etc/nsswitch.conf done my job
nss_reconnect_tries 3
nss_initgroups_ignoreusers root,ldap,named,haldaemon,radiusd,linux_admin
Thanks
On 11/25/09, alexs@ulgsm.ru <alexs@ulgsm.ru> wrote:
> * vishesh kumar <linuxtovishesh@gmail.com> [2009-11-25 10:25:07 +0530]:
>
>> Dear friends
>>
>> I am facing a unique problem in openldap 2.3.43 on rhel 5. 2. If i
>> specify
>> ldap in /etc/nsswitch.conf like
>>
>> passwd files ldap
>> shadow files ldap
>> group files ldap
>>
>>
>> And then start my ldap server, it takes lots of time to start ldap server.
>>
>> If i remove ldap from /etc/nsswitch.conf , it start immediately.
>
> It is try resolv ldap user thru ldap, when ldap started.
> I don`t know how to do it in right way, I edit starting slapd scripts,
> which remove ldap record from nsswitch.conf before start and add it back
> afters start.
>
> Anothe way make soft bind in nss_ldap (it`s in freebsd)
>
>
>
>>
>>
>> Can anyone suggest be any solution for this problem.
>>
>> Thanks
>>
>> --
>> http://linuxinterviews.blogspot.com
>
> --
> Email: alexs@ulgsm.ru
> Email/Jabber: alexs@ulgsm.ru
>
--
http://linuxinterviews.blogspot.com