<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-14175</id>
	<title>Nabble - PADL Lists</title>
	<updated>2008-07-08T01:41:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/PADL-Lists-f14175.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PADL-Lists-f14175.html" />
	<subtitle type="html">PADL wrote the LDAP nameservice libraries which are now part of every major Linux distribution, and have made substantial contributions to the security and directory service infrastructure of Darwin, the core of Mac OS X. PADL Lists home is &lt;a href=&quot;http://www.padl.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18335767</id>
	<title>Re: Kerberos Autorenew and Autorefresh</title>
	<published>2008-07-08T01:41:15Z</published>
	<updated>2008-07-08T01:41:15Z</updated>
	<author>
		<name>Howard Wilkinson</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Thomas Glanzmann wrote:
&lt;blockquote cite=&quot;mid:20080702101530.GA13599@cip.informatik.uni-erlangen.de&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hallo Howard,

* Howard Wilkinson &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18335767&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howard@...&lt;/a&gt; [080702 11:37]:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;About a year ago I contributed some code to the nss_ldap core which 
appeared in the mainstream for release 258. This code supports auto renew 
and auto refresh of Kerberos tickets using either a previously created 
cache or a keytab. I have been running kstart to get the initial ticket but 
tried to turn this feature off and let the initial ticket be created by the 
code in nss_ldap. This has not worked for me :-[  and I was wondering if 
anybody else has tried and succeeded with this.
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;So can I get a poll of anybody who is using these features and what sort of 
success they have had with them.
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;I am going to debug my problem over the next few days but if anybody has a 
working config and would be willing to share I would be grateful
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
never used it, thought about it, but I saw this morning the following
bugreport including patch, hopefully it helps you get going. Please let
me know if you succeed because I'm heavily thinking about such a setup.

&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://bugzilla.padl.com/show_bug.cgi?id=368&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.padl.com/show_bug.cgi?id=368&lt;/a&gt;

        Thomas
  &lt;/pre&gt;
&lt;/blockquote&gt;
I have just posted a patch set again 259 which should make all of this
work! I posted it against bug 298 in the bugzilla database. If people
could try this out and let me know how they get on I would be grateful.&lt;br&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Kerberos-Autorenew-and-Autorefresh-tp18234162p18335767.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18300857</id>
	<title>I am now on Refriendz!</title>
	<published>2008-07-06T01:45:04Z</published>
	<updated>2008-07-06T01:45:04Z</updated>
	<author>
		<name>jmaan ray</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;I would like to invite you to visit my Refriendz page and see my latest photos.
&lt;br&gt;&lt;br&gt;In order to visit my space, you must go to:
&lt;br&gt;&lt;a href=&quot;http://www.refriendz.com/?do=Login.Invite&amp;rid=jmaan&amp;email=pamldap@padl.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.refriendz.com/?do=Login.Invite&amp;rid=jmaan&amp;email=pamldap@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;(If this link does not work, please copy and paste it into your browser or go to www.refriendz.com and enter 'jmaan' as Invitation ID to Login to the web site.)
&lt;br&gt;&lt;br&gt;P.S. Refriendz is Invitation-Only, so do not miss your chance to visit my page!
&lt;br&gt;&lt;br&gt;Cheers!
&lt;br&gt;&lt;br&gt;jmaan
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;Unsubscribe: to opt out of ALL future emails from Refriendz, visit:
&lt;br&gt;&lt;a href=&quot;http://www.refriendz.com/?do=Login.RemoveEntry&amp;email=pamldap@padl.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.refriendz.com/?do=Login.RemoveEntry&amp;email=pamldap@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please do not reply directly to this email. &amp;nbsp;This mailbox is not monitored and you will not receive a response.
&lt;br&gt;&lt;br&gt;Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/I-am-now-on-Refriendz%21-tp18300857p18300857.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18279810</id>
	<title>Re: Re: Solaris 10: As soon as nscd is running getpwnam on a ldap account fails</title>
	<published>2008-07-04T05:45:09Z</published>
	<updated>2008-07-04T05:45:09Z</updated>
	<author>
		<name>Luke Howard</name>
	</author>
	<content type="html">&lt;br&gt;On 04/07/2008, at 9:46 PM, Tim Small wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was wondering if there had been any progress on this issue? &amp;nbsp;I've &amp;nbsp;
&lt;br&gt;&amp;gt; hit the same thing recently myself.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In particular, would it be possible to manually downgrade to an &amp;nbsp;
&lt;br&gt;&amp;gt; older nscd binary as a workaround, and if so, any ideas what the &amp;nbsp;
&lt;br&gt;&amp;gt; implications of this would be (apart from any future security &amp;nbsp;
&lt;br&gt;&amp;gt; updates etc.)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It also occurred to me that downloading and compiling the nscd &amp;nbsp;
&lt;br&gt;&amp;gt; source from opensolaris might be a useful debugging route...
&lt;/div&gt;&lt;br&gt;&lt;br&gt;I took a look at the OpenSolaris nss_ldap code today. The interface &amp;nbsp;
&lt;br&gt;has changed significantly -- it will be a fair bit of work to support &amp;nbsp;
&lt;br&gt;the new interfaces (not impossible, though).
&lt;br&gt;&lt;br&gt;-- Luke
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p18279810.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18278979</id>
	<title>Re: Solaris 10: As soon as nscd is running getpwnam on a ldap account fails</title>
	<published>2008-07-04T04:46:30Z</published>
	<updated>2008-07-04T04:46:30Z</updated>
	<author>
		<name>Tim Small</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I was wondering if there had been any progress on this issue? &amp;nbsp;I've hit 
&lt;br&gt;the same thing recently myself.
&lt;br&gt;&lt;br&gt;In particular, would it be possible to manually downgrade to an older 
&lt;br&gt;nscd binary as a workaround, and if so, any ideas what the implications 
&lt;br&gt;of this would be (apart from any future security updates etc.)?
&lt;br&gt;&lt;br&gt;It also occurred to me that downloading and compiling the nscd source 
&lt;br&gt;from opensolaris might be a useful debugging route...
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Tim.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;South East Open Source Solutions Limited
&lt;br&gt;Registered in England and Wales with company number 06134732. &amp;nbsp;
&lt;br&gt;Registered Office: 71 Tylehurst Drive, Redhill, Surrey, RH1 6EL
&lt;br&gt;VAT number: 900 6633 53 &amp;nbsp;&lt;a href=&quot;http://seoss.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://seoss.co.uk/&lt;/a&gt;&amp;nbsp;+44-(0)1273-808309
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p18278979.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18278121</id>
	<title>Re: Solaris 10: As soon as nscd is running getpwnam on a ldap account fails</title>
	<published>2008-07-04T03:41:55Z</published>
	<updated>2008-07-04T03:41:55Z</updated>
	<author>
		<name>Tim Small</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I was wondering if there had been any progress on this issue? &amp;nbsp;I've hit the
&lt;br&gt;same thing recently myself.
&lt;br&gt;&lt;br&gt;In particular, would it be possible to manually downgrade to an older nscd
&lt;br&gt;binary as a workaround, and if so, any ideas what the implications of this
&lt;br&gt;would be?
&lt;br&gt;&lt;br&gt;It also occurred to me that downloading and compiling the nscd source from
&lt;br&gt;opensolaris might be a useful debugging route...
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Tim.
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p18277063.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p18277063.html&lt;/a&gt;&lt;br&gt;Sent from the NSS LDAP mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p18278121.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18265940</id>
	<title>Re: pam_ldap and openssh</title>
	<published>2008-07-03T11:43:38Z</published>
	<updated>2008-07-03T11:43:38Z</updated>
	<author>
		<name>Neil Levine</name>
	</author>
	<content type="html">I think I am getting the same issue. ldapwhoami and apache2+mod_authnz_ldap work fine, but ssh does not. Did you manage to get any further with this?
&lt;br&gt;&lt;br&gt;Neil
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Jokke Heikkila wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I found this exact same problem from archives back at 2005-12 but &amp;nbsp;
&lt;br&gt;didn't find the answer. The problem is that i have (Debian) box, which &amp;nbsp;
&lt;br&gt;is set up to authenticate against openldap server for anybody who ssh &amp;nbsp;
&lt;br&gt;in. That doesn't work since for some reason the pam_ldap is suplying &amp;nbsp;
&lt;br&gt;garbage password to ldap server. Below is a tcpdump on a simple bind &amp;nbsp;
&lt;br&gt;with normal ldap tools and next the same when trying to login with ssh.
&lt;br&gt;&lt;br&gt;&lt;br&gt;debianBox:~# ldapwhoami -x -D uid=kopsuopi,cn=users,dc=kuva,dc=fi -w &amp;nbsp;
&lt;br&gt;secret
&lt;br&gt;dn:uid=kopsuopi,cn=users,dc=kuva,dc=fi
&lt;br&gt;Result: Success (0)
&lt;br&gt;&lt;br&gt;&lt;br&gt;0000 &amp;nbsp;00 0a 95 a5 e7 e8 00 13 &amp;nbsp;72 53 67 e9 08 00 45 00 &amp;nbsp; ........ &amp;nbsp;
&lt;br&gt;rSg...E.
&lt;br&gt;0010 &amp;nbsp;00 6b 0c 07 40 00 40 06 &amp;nbsp;a9 66 c1 a7 80 eb c1 &amp;nbsp;
&lt;br&gt;a7 &amp;nbsp; .k..@.@. .f......
&lt;br&gt;0020 &amp;nbsp;80 e5 e9 79 01 85 2a e3 &amp;nbsp;19 f1 51 17 f6 76 80 &amp;nbsp;
&lt;br&gt;18 &amp;nbsp; ...y..*. ..Q..v..
&lt;br&gt;0030 &amp;nbsp;00 2e 85 7d 00 00 01 01 &amp;nbsp;08 0a b6 44 15 f5 14 &amp;nbsp;
&lt;br&gt;45 &amp;nbsp; ...}.... ...D...E
&lt;br&gt;0040 &amp;nbsp;0f 5d 30 35 02 01 01 60 &amp;nbsp;30 02 01 03 04 23 75 69 &amp;nbsp; .]05...` &amp;nbsp;
&lt;br&gt;0....#ui
&lt;br&gt;0050 &amp;nbsp;64 3d 6b 6f 70 73 75 6f &amp;nbsp;70 69 2c 63 6e 3d 75 73 &amp;nbsp; d=kopsuo &amp;nbsp;
&lt;br&gt;pi,cn=us
&lt;br&gt;0060 &amp;nbsp;65 72 73 2c 64 63 3d 6b &amp;nbsp;75 76 61 2c 64 63 3d 66 &amp;nbsp; ers,dc=k &amp;nbsp;
&lt;br&gt;uva,dc=f
&lt;br&gt;0070 &amp;nbsp;69 80 06 73 65 63 72 65 &amp;nbsp; 
&lt;br&gt;74 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i..secre t &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;------ 
&lt;br&gt;PASSWORD SEND CORRECTLY
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And the dump with same user trying to ssh in:
&lt;br&gt;&lt;br&gt;0000 &amp;nbsp;00 0a 95 a5 e7 e8 00 13 &amp;nbsp;72 53 67 e9 08 00 45 00 &amp;nbsp; ........ &amp;nbsp;
&lt;br&gt;rSg...E.
&lt;br&gt;0010 &amp;nbsp;00 91 6a e9 40 00 40 06 &amp;nbsp;4a 5e c1 a7 80 eb c1 a7 &amp;nbsp; ..j.@.@. &amp;nbsp;
&lt;br&gt;J^......
&lt;br&gt;0020 &amp;nbsp;80 e5 c4 a6 01 85 aa 66 &amp;nbsp;eb 87 ee 86 94 4c 80 &amp;nbsp;
&lt;br&gt;18 &amp;nbsp; .......f .....L..
&lt;br&gt;0030 &amp;nbsp;00 5b 85 a3 00 00 01 01 &amp;nbsp;08 0a bc b8 81 ea 14 52 &amp;nbsp; . 
&lt;br&gt;[...... .......R
&lt;br&gt;0040 &amp;nbsp;47 2c 30 5b 02 01 03 60 &amp;nbsp;37 02 01 03 04 23 75 69 &amp;nbsp; G,0[...` &amp;nbsp;
&lt;br&gt;7....#ui
&lt;br&gt;0050 &amp;nbsp;64 3d 6b 6f 70 73 75 6f &amp;nbsp;70 69 2c 63 6e 3d 75 73 &amp;nbsp; d=kopsuo &amp;nbsp;
&lt;br&gt;pi,cn=us
&lt;br&gt;0060 &amp;nbsp;65 72 73 2c 64 63 3d 6b &amp;nbsp;75 76 61 2c 64 63 3d 66 &amp;nbsp; ers,dc=k &amp;nbsp;
&lt;br&gt;uva,dc=f
&lt;br&gt;0070 &amp;nbsp;69 80 0d 08 0a 0d 7f 49 &amp;nbsp;4e 43 4f 52 52 45 43 54 &amp;nbsp; i......I &amp;nbsp;
&lt;br&gt;NCORRECT	&amp;lt;------PASSWORD ??
&lt;br&gt;0080 &amp;nbsp;a0 1d 30 1b 04 19 31 2e &amp;nbsp;33 2e 36 2e 31 2e 34 2e &amp;nbsp; ..0...1. &amp;nbsp;
&lt;br&gt;3.6.1.4.
&lt;br&gt;0090 &amp;nbsp;31 2e 34 32 2e 32 2e 32 &amp;nbsp;37 2e 38 2e 35 2e 31 &amp;nbsp; &amp;nbsp; &amp;nbsp;1.42.2.2 &amp;nbsp;
&lt;br&gt;7.8.5.1
&lt;br&gt;&lt;br&gt;&lt;br&gt;I've been strugling with this some time now and any clarification &amp;nbsp;
&lt;br&gt;where to look on this is greatly appreciated.
&lt;br&gt;&lt;br&gt;Jokke H.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/pam_ldap-and-openssh-tp15287230p18265940.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18235473</id>
	<title>Re: Kerberos Autorenew and Autorefresh</title>
	<published>2008-07-02T03:15:30Z</published>
	<updated>2008-07-02T03:15:30Z</updated>
	<author>
		<name>Thomas Glanzmann</name>
	</author>
	<content type="html">Hallo Howard,
&lt;br&gt;&lt;br&gt;* Howard Wilkinson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18235473&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howard@...&lt;/a&gt;&amp;gt; [080702 11:37]:
&lt;br&gt;&amp;gt; About a year ago I contributed some code to the nss_ldap core which 
&lt;br&gt;&amp;gt; appeared in the mainstream for release 258. This code supports auto renew 
&lt;br&gt;&amp;gt; and auto refresh of Kerberos tickets using either a previously created 
&lt;br&gt;&amp;gt; cache or a keytab. I have been running kstart to get the initial ticket but 
&lt;br&gt;&amp;gt; tried to turn this feature off and let the initial ticket be created by the 
&lt;br&gt;&amp;gt; code in nss_ldap. This has not worked for me :-[ &amp;nbsp;and I was wondering if 
&lt;br&gt;&amp;gt; anybody else has tried and succeeded with this.
&lt;br&gt;&lt;br&gt;&amp;gt; So can I get a poll of anybody who is using these features and what sort of 
&lt;br&gt;&amp;gt; success they have had with them.
&lt;br&gt;&lt;br&gt;&amp;gt; I am going to debug my problem over the next few days but if anybody has a 
&lt;br&gt;&amp;gt; working config and would be willing to share I would be grateful
&lt;br&gt;&lt;br&gt;never used it, thought about it, but I saw this morning the following
&lt;br&gt;bugreport including patch, hopefully it helps you get going. Please let
&lt;br&gt;me know if you succeed because I'm heavily thinking about such a setup.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bugzilla.padl.com/show_bug.cgi?id=368&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.padl.com/show_bug.cgi?id=368&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thomas
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Kerberos-Autorenew-and-Autorefresh-tp18234162p18235473.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18234162</id>
	<title>Kerberos Autorenew and Autorefresh</title>
	<published>2008-07-01T08:30:15Z</published>
	<updated>2008-07-01T08:30:15Z</updated>
	<author>
		<name>Howard Wilkinson</name>
	</author>
	<content type="html">About a year ago I contributed some code to the nss_ldap core which 
&lt;br&gt;appeared in the mainstream for release 258. This code supports auto 
&lt;br&gt;renew and auto refresh of Kerberos tickets using either a previously 
&lt;br&gt;created cache or a keytab. I have been running kstart to get the initial 
&lt;br&gt;ticket but tried to turn this feature off and let the initial ticket be 
&lt;br&gt;created by the code in nss_ldap. This has not worked for me :-[ &amp;nbsp;and I 
&lt;br&gt;was wondering if anybody else has tried and succeeded with this.
&lt;br&gt;&lt;br&gt;So can I get a poll of anybody who is using these features and what sort 
&lt;br&gt;of success they have had with them.
&lt;br&gt;&lt;br&gt;I am going to debug my problem over the next few days but if anybody has 
&lt;br&gt;a working config and would be willing to share I would be grateful
&lt;br&gt;&lt;br&gt;Howard.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Kerberos-Autorenew-and-Autorefresh-tp18234162p18234162.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18079193</id>
	<title>Re: client timeout - update</title>
	<published>2008-06-23T13:23:50Z</published>
	<updated>2008-06-23T13:23:50Z</updated>
	<author>
		<name>Erib</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Buchan Milne wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wednesday 11 June 2008 17:03:23 Eric Ritchie wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; I'm using LDAP for passwd, group, automap and netgroup functions, it is
&lt;br&gt;&amp;gt;&amp;gt; a replacement for NIS. When the OS is using LDAP for these functions,
&lt;br&gt;&amp;gt;&amp;gt; such as id or finger, it uses /lib/libnss_ldap.so and the /etc/ldap.conf
&lt;br&gt;&amp;gt;&amp;gt; file. When I run any of the ldap commands, such as ldapsearch, it uses
&lt;br&gt;&amp;gt;&amp;gt; /usr/lib/libldap and /etc/openldap/ldap.conf. I'm more concerned with
&lt;br&gt;&amp;gt;&amp;gt; the OS hanging when it tries to perform an LDAP lookup than ldapsearch
&lt;br&gt;&amp;gt;&amp;gt; hanging. So I would need a newer libnss_ldap to take advantage of new
&lt;br&gt;&amp;gt;&amp;gt; OpenLDAP features.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Most likely it would be sufficient to install newer OpenLDAP libraries, and 
&lt;br&gt;&amp;gt; compile nss_ldap against the newer libraries.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;OpenLDAP 2.4.10 NETWORK_TIMEOUT feature definitely works much better. I 
&lt;br&gt;installed the ldapsearch program and the client libraries. When I 
&lt;br&gt;shutdown a server, ldapsearch hangs for just a second and then connects 
&lt;br&gt;to the next server, before it would hang for a really long time.
&lt;br&gt;Recompiling nss_ldap is a little over my head. I tried downloading 
&lt;br&gt;nss_ldap from PADL and compiling it with the latest LDAP libraries but 
&lt;br&gt;its still ignoring the NETWORK_TIMEOUT setting. If I set bind_timelimit 
&lt;br&gt;to 1, there is still about a 10 second delay when the OS is querying 
&lt;br&gt;LDAP, it doesn't seem to matter if I set bind_policy to soft, getting 
&lt;br&gt;nss_ldap to support the new NETWORK_TIMEOUT would really help.
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; However, in my case, bind_policy soft is sufficient to prevent problems when a 
&lt;br&gt;&amp;gt; server &amp;quot;fails&amp;quot; (well, more often the client's networking isn't correctly 
&lt;br&gt;&amp;gt; configured). But, if the client can't reach the server (bad routing, firewall 
&lt;br&gt;&amp;gt; dropping packets instead of denying), then I would expect the behaviour you 
&lt;br&gt;&amp;gt; are seeing, or if the LDAP server were to hang on an open connection (but I 
&lt;br&gt;&amp;gt; haven't seen that in a few years).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Buchan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Eric Ritchie
&lt;br&gt;Interactive Brokers LLC
&lt;br&gt;203-618-5868
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/client-timeout-tp17762669p18079193.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17870580</id>
	<title>SASL DIGEST-MD5?</title>
	<published>2008-06-16T11:25:56Z</published>
	<updated>2008-06-16T11:25:56Z</updated>
	<author>
		<name>rors777</name>
	</author>
	<content type="html">Greetings,
&lt;br&gt;&lt;br&gt;I'm trying to get DIGEST-MD5 authentication working in my nss_ldap config, but I seem to be having problems. Basically, I have a slapd server proxying to an Active Directory server. With a simple bind, it works just fine. As for the SASL authentication, I know it works through my slapd proxy because I've verified it with ldapsearch/ldapwhoami commands, but it doesn't work through nss_ldap.
&lt;br&gt;&lt;br&gt;[user@host ~]$ ldapsearch -LLL -U ldaptest@company.com &amp;quot;uid=ldaptest&amp;quot; cn
&lt;br&gt;SASL/DIGEST-MD5 authentication started
&lt;br&gt;Please enter your password:
&lt;br&gt;SASL username: ldaptest@company.com
&lt;br&gt;SASL SSF: 128
&lt;br&gt;SASL data security layer installed.
&lt;br&gt;dn: cn=Ldap Test,ou=Users,dc=company,dc=com
&lt;br&gt;cn: Ldap Test
&lt;br&gt;&lt;br&gt;However, when I try to id my user:
&lt;br&gt;[user@host ~]$ id ldaptest
&lt;br&gt;id: ldaptest: No such user
&lt;br&gt;&lt;br&gt;The following is the output from my slap debug logging when I run the 'id' command:
&lt;br&gt;slapd[11329]: conn=22 fd=11 ACCEPT from IP=10.1.0.220:5947 (IP=0.0.0.0:389)
&lt;br&gt;slapd[11329]: conn=22 op=0 BIND dn=&amp;quot;&amp;quot; &lt;b&gt;method=128&lt;/b&gt;&lt;br&gt;slapd[11329]: conn=22 op=0 RESULT tag=97 err=0 text=
&lt;br&gt;slapd[11329]: conn=22 op=1 SRCH base=&amp;quot;ou=Users,dc=company,dc=com&amp;quot; scope=2 deref=0 filter=&amp;quot;(&amp;(?objectClass=user)(?SAMACCOUNTNAME=ldaptest))&amp;quot;
&lt;br&gt;slapd[11329]: conn=22 op=1 SRCH attr=sAMAccountName userPassword uidNumber gidNumber cn unixHomeDirectory loginShell gecos description objectClass
&lt;br&gt;slapd[11329]: conn=22 op=2 UNBIND
&lt;br&gt;slapd[11329]: conn=22 op=1 SEARCH RESULT tag=101 err=48 nentries=0 text=
&lt;br&gt;slapd[11329]: conn=22 fd=11 closed
&lt;br&gt;&lt;br&gt;And, the output when I successfully run the ldapsearch command above:
&lt;br&gt;slapd[11329]: conn=26 fd=11 ACCEPT from IP=10.1.0.220:54539 (IP=0.0.0.0:389)
&lt;br&gt;slapd[11329]: conn=26 op=0 BIND dn=&amp;quot;&amp;quot; &lt;b&gt;method=163&lt;/b&gt;&lt;br&gt;slapd[11329]: conn=26 op=0 RESULT tag=97 err=14 text=SASL(0): successful result:
&lt;br&gt;slapd[11329]: conn=26 op=1 BIND dn=&amp;quot;&amp;quot; method=163
&lt;br&gt;slapd[11329]: conn=26 op=1 BIND authcid=&amp;quot;ldaptest@company.com&amp;quot; authzid=&amp;quot;ldaptest@company.com&amp;quot;
&lt;br&gt;slapd[11329]: conn=26 op=1 BIND dn=&amp;quot;uid=ldaptest@company.com,cn=digest-md5,cn=auth&amp;quot; mech=DIGEST-MD5 sasl_ssf=128 ssf=128
&lt;br&gt;slapd[11329]: conn=26 op=1 RESULT tag=97 err=0 text=
&lt;br&gt;slapd[11329]: conn=26 op=2 SRCH base=&amp;quot;ou=Users,dc=company,dc=com&amp;quot; scope=2 deref=0 filter=&amp;quot;(uid=ldaptest)&amp;quot;
&lt;br&gt;slapd[11329]: conn=26 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
&lt;br&gt;slapd[11329]: conn=26 op=3 UNBIND
&lt;br&gt;slapd[11329]: conn=26 fd=11 closed
&lt;br&gt;&lt;br&gt;From the looks of it to me, nss_ldap is not using the correct 'method' when it's doing the search, as indicated in bold above. My /etc/ldap.conf looks like this:
&lt;br&gt;&lt;br&gt;host ldaphost.company.com
&lt;br&gt;base ou=Users,dc=company,dc=com
&lt;br&gt;scope sub
&lt;br&gt;timelimit 120
&lt;br&gt;bind_timelimit 1200
&lt;br&gt;bind_policy soft
&lt;br&gt;idle_timelimit 3600
&lt;br&gt;nss_base_passwd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ou=Users,dc=company,dc=com?sub
&lt;br&gt;nss_base_shadow &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ou=Users,dc=company,dc=com?sub
&lt;br&gt;nss_base_group &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ou=Groups,dc=company,dc=com?one
&lt;br&gt;nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman
&lt;br&gt;nss_map_objectclass posixAccount user
&lt;br&gt;nss_map_objectclass shadowAccount user
&lt;br&gt;nss_map_attribute uid sAMAccountName
&lt;br&gt;nss_map_attribute homeDirectory unixHomeDirectory
&lt;br&gt;nss_map_attribute shadowLastChange pwdLastSet
&lt;br&gt;nss_map_objectclass posixGroup group
&lt;br&gt;nss_map_attribute uniqueMember member
&lt;br&gt;pam_login_attribute sAMAccountName
&lt;br&gt;pam_filter objectclass=user
&lt;br&gt;pam_password ad
&lt;br&gt;pam_sasl_mech DIGEST-MD5
&lt;br&gt;sasl_secprops &amp;nbsp; maxssf=0
&lt;br&gt;sasl_authid &amp;nbsp; &amp;nbsp; ldaptest@company.com
&lt;br&gt;&lt;br&gt;Am I using the wrong options in ldap.conf (pam_sasl_mech, etc.)? I've tried enabling the &amp;quot;use_sasl on&amp;quot; feature, but it seems to cause a &amp;quot;local error&amp;quot; in the logs when I try to search with that. Do I need to recompile with some special options enabled?
&lt;br&gt;&lt;br&gt;I'm using nss_ldap 2.53 -&amp;gt; openldap 2.4.9 -&amp;gt; AD (Windows 2K3 R2).
&lt;br&gt;&lt;br&gt;Any help is greatly appreciated. Thanks.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SASL-DIGEST-MD5--tp17870580p17870580.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17851627</id>
	<title>release 0.6.3 of nss-ldapd</title>
	<published>2008-06-15T07:48:23Z</published>
	<updated>2008-06-15T07:48:23Z</updated>
	<author>
		<name>Arthur de Jong-3</name>
	</author>
	<content type="html">A new release of nss-ldapd was made which fixes a number of bugs in the
&lt;br&gt;0.6.2 release ﻿and tries to focus in stabillity. This release is
&lt;br&gt;available from:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://ch.tudelft.nl/~arthur/nss-ldapd/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ch.tudelft.nl/~arthur/nss-ldapd/&lt;/a&gt;&lt;br&gt;&lt;br&gt;﻿Some more improvements to the retry and fail-over mechanism have been
&lt;br&gt;made and support for groups with up to around 150000 members has been
&lt;br&gt;added. The nslcd daemon can now be run under a separate user and group
&lt;br&gt;and SASL authentication has been improved.
&lt;br&gt;&lt;br&gt;For more information and changes in this release, please see the URL
&lt;br&gt;above. Any feedback is greatly appreciated. Thanks for all the feedback
&lt;br&gt;already provided.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-- arthur - &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17851627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arthur@...&lt;/a&gt; - &lt;a href=&quot;http://ch.tudelft.nl/~arthur&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ch.tudelft.nl/~arthur&lt;/a&gt;&amp;nbsp;--
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/17851627/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/release-0.6.3-of-nss-ldapd-tp17851627p17851627.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17781891</id>
	<title>Re: client timeout</title>
	<published>2008-06-11T08:03:23Z</published>
	<updated>2008-06-11T08:03:23Z</updated>
	<author>
		<name>Erib</name>
	</author>
	<content type="html">I'm using LDAP for passwd, group, automap and netgroup functions, it is 
&lt;br&gt;a replacement for NIS. When the OS is using LDAP for these functions, 
&lt;br&gt;such as id or finger, it uses /lib/libnss_ldap.so and the /etc/ldap.conf 
&lt;br&gt;file. When I run any of the ldap commands, such as ldapsearch, it uses 
&lt;br&gt;/usr/lib/libldap and /etc/openldap/ldap.conf. I'm more concerned with 
&lt;br&gt;the OS hanging when it tries to perform an LDAP lookup than ldapsearch 
&lt;br&gt;hanging. So I would need a newer libnss_ldap to take advantage of new 
&lt;br&gt;OpenLDAP features.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;&lt;br&gt;Howard Chu wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Eric Ritchie wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm having an issue with client response when a server fails. This may
&lt;br&gt;&amp;gt;&amp;gt; be the same issue discussed in the thread &amp;quot;No timeout for nss ldap&amp;quot;. I
&lt;br&gt;&amp;gt;&amp;gt; have 3 servers running openldap 2.3.39. I have several Redhat 4 clients.
&lt;br&gt;&amp;gt;&amp;gt; I configured the uri line with the 3 servers on each client:
&lt;br&gt;&amp;gt;&amp;gt; uri ldap://1.2.3.4 ldap://1.2.3.5 ldap://1.2.3.6
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I go to the first ldap server and stop slapd, there is no noticeable
&lt;br&gt;&amp;gt;&amp;gt; effect on the clients. If I shut down the server, or disable the
&lt;br&gt;&amp;gt;&amp;gt; network, the clients will hang. I have experimented with bind_timelimit
&lt;br&gt;&amp;gt;&amp;gt; and bind_policy. Changing the bind_policy did not seem to have any
&lt;br&gt;&amp;gt;&amp;gt; effect. Setting the bind_timelimit to 1 and running nscd seem to help
&lt;br&gt;&amp;gt;&amp;gt; clients the most. Is there any way I can configure the clients to better
&lt;br&gt;&amp;gt;&amp;gt; handle an LDAP server shutdown?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Upgrade to OpenLDAP 2.4; the ldap.conf syntax has been extended to 
&lt;br&gt;&amp;gt; allow you to configure connection timeouts.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Eric Ritchie
&lt;br&gt;Interactive Brokers LLC
&lt;br&gt;203-618-5868
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/client-timeout-tp17762669p17781891.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17763845</id>
	<title>Re: client timeout</title>
	<published>2008-06-10T12:14:12Z</published>
	<updated>2008-06-10T12:14:12Z</updated>
	<author>
		<name>Howard Chu</name>
	</author>
	<content type="html">Eric Ritchie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm having an issue with client response when a server fails. This may
&lt;br&gt;&amp;gt; be the same issue discussed in the thread &amp;quot;No timeout for nss ldap&amp;quot;. I
&lt;br&gt;&amp;gt; have 3 servers running openldap 2.3.39. I have several Redhat 4 clients.
&lt;br&gt;&amp;gt; I configured the uri line with the 3 servers on each client:
&lt;br&gt;&amp;gt; uri ldap://1.2.3.4 ldap://1.2.3.5 ldap://1.2.3.6
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I go to the first ldap server and stop slapd, there is no noticeable
&lt;br&gt;&amp;gt; effect on the clients. If I shut down the server, or disable the
&lt;br&gt;&amp;gt; network, the clients will hang. I have experimented with bind_timelimit
&lt;br&gt;&amp;gt; and bind_policy. Changing the bind_policy did not seem to have any
&lt;br&gt;&amp;gt; effect. Setting the bind_timelimit to 1 and running nscd seem to help
&lt;br&gt;&amp;gt; clients the most. Is there any way I can configure the clients to better
&lt;br&gt;&amp;gt; handle an LDAP server shutdown?
&lt;/div&gt;&lt;br&gt;Upgrade to OpenLDAP 2.4; the ldap.conf syntax has been extended to allow you 
&lt;br&gt;to configure connection timeouts.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp;-- Howard Chu
&lt;br&gt;&amp;nbsp; &amp;nbsp;CTO, Symas Corp. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.symas.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.symas.com&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Director, Highland Sun &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://highlandsun.com/hyc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://highlandsun.com/hyc/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Chief Architect, OpenLDAP &amp;nbsp;&lt;a href=&quot;http://www.openldap.org/project/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openldap.org/project/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/client-timeout-tp17762669p17763845.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17762669</id>
	<title>client timeout</title>
	<published>2008-06-10T10:51:35Z</published>
	<updated>2008-06-10T10:51:35Z</updated>
	<author>
		<name>Erib</name>
	</author>
	<content type="html">I'm having an issue with client response when a server fails. This may 
&lt;br&gt;be the same issue discussed in the thread &amp;quot;No timeout for nss ldap&amp;quot;. I 
&lt;br&gt;have 3 servers running openldap 2.3.39. I have several Redhat 4 clients. 
&lt;br&gt;I configured the uri line with the 3 servers on each client:
&lt;br&gt;uri ldap://1.2.3.4 ldap://1.2.3.5 ldap://1.2.3.6
&lt;br&gt;&lt;br&gt;If I go to the first ldap server and stop slapd, there is no noticeable 
&lt;br&gt;effect on the clients. If I shut down the server, or disable the 
&lt;br&gt;network, the clients will hang. I have experimented with bind_timelimit 
&lt;br&gt;and bind_policy. Changing the bind_policy did not seem to have any 
&lt;br&gt;effect. Setting the bind_timelimit to 1 and running nscd seem to help 
&lt;br&gt;clients the most. Is there any way I can configure the clients to better 
&lt;br&gt;handle an LDAP server shutdown?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Eric Ritchie
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/client-timeout-tp17762669p17762669.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17720821</id>
	<title>Re: Solaris 10: As soon as nscd is running getpwnam on a ldap account fails</title>
	<published>2008-06-08T09:06:11Z</published>
	<updated>2008-06-08T09:06:11Z</updated>
	<author>
		<name>Thomas Glanzmann</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;I used the opensolaris source browser to find some information about the
&lt;br&gt;missing symbols:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/mapfile-vers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/mapfile-vers&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getauuser.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getauuser.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_audit_user_constr(const char *dummy1,
&lt;br&gt;const char *dummy2,
&lt;br&gt;const char *dummy3,
&lt;br&gt;const char *dummy4,
&lt;br&gt;const char *dummy5)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(auuser_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (auuser_ops)/sizeof (auuser_ops[0]), _AUUSER,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auuser_attrs, _nss_ldap_au2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/gethostent6.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/gethostent6.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_ipnodes_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *dummy3)
&lt;br&gt;{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(ipnodes_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (ipnodes_ops)/sizeof (ipnodes_ops[0]), _HOSTS6,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ipnodes_attrs, _nss_ldap_hosts2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getnetmasks.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getnetmasks.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_netmasks_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *dummy3)
&lt;br&gt;{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(netmasks_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (netmasks_ops)/sizeof (netmasks_ops[0]), _NETMASKS,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netmasks_attrs, _nss_ldap_netmasks2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getprinter.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getprinter.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_printers_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *dummy3)
&lt;br&gt;{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(printers_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (printers_ops)/sizeof (printers_ops[0]), _PRINTERS,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printer_attrs, _nss_ldap_printers2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getprofattr.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getprofattr.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_prof_attr_constr(const char *dummy1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy3,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy4,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy5)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(profattr_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (profattr_ops)/sizeof (profattr_ops[0]), _PROFATTR,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prof_attrs, _nss_ldap_prof2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getprojent.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getprojent.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_project_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;const char *dummy3)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return (_nss_ldap_constr(project_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (project_ops) / sizeof (project_ops[0]),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _PROJECT, project_attrs, _nss_ldap_proj2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getkeyent.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getkeyent.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_publickey_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *dummy3)
&lt;br&gt;{
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(keys_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (keys_ops)/sizeof (keys_ops[0]),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _PUBLICKEY, keys_attrs, _nss_ldap_key2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/tsol_getrhent.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/tsol_getrhent.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_tnrhdb_constr(const char *dummy1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy3,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy4,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy5)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(tnrhdb_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (tnrhdb_ops)/sizeof (tnrhdb_ops[0]), _TNRHDB,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tnrhdb_attrs, _nss_ldap_tnrhdb2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/tsol_gettpent.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/tsol_gettpent.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_tnrhtp_constr(const char *dummy1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy3,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy4,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy5)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(tnrhtp_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (tnrhtp_ops)/sizeof (tnrhtp_ops[0]), _TNRHTP,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tnrhtp_attrs, _nss_ldap_tnrhtp2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getuserattr.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getuserattr.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_user_attr_constr(const char *dummy1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy3,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy4,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy5)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(userattr_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (userattr_ops)/sizeof (userattr_ops[0]), _USERATTR,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user_attrs, _nss_ldap_user2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getexecattr.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/getexecattr.c&lt;/a&gt;&lt;br&gt;&lt;br&gt;nss_backend_t *
&lt;br&gt;_nss_ldap_exec_attr_constr(const char *dummy1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy3,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy4,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy5,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy6,
&lt;br&gt;&amp;nbsp; &amp;nbsp; const char *dummy7)
&lt;br&gt;{
&lt;br&gt;#ifdef &amp;nbsp;DEBUG
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (void) fprintf(stdout,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;\n[getexecattr.c: _nss_ldap_exec_attr_constr]\n&amp;quot;);
&lt;br&gt;#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((nss_backend_t *)_nss_ldap_constr(execattr_ops,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sizeof (execattr_ops)/sizeof (execattr_ops[0]), _EXECATTR,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exec_attrs, _nss_ldap_exec2str));
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;after that I tried to implement the stubs, all returning ,,NULL'' however this
&lt;br&gt;did not make nscd work. Here is my patch if someone want's to build up on top
&lt;br&gt;of it.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thomas
&lt;br&gt;&lt;br /&gt;diff --git a/Makefile.am b/Makefile.am
&lt;br&gt;index 4b05f13..dcb883e 100644
&lt;br&gt;--- a/Makefile.am
&lt;br&gt;+++ b/Makefile.am
&lt;br&gt;@@ -21,7 +21,7 @@ man_MANS = nss_ldap.5
&lt;br&gt;&amp;nbsp;nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c ldap-rpc.c \
&lt;br&gt;&amp;nbsp;	ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c \
&lt;br&gt;&amp;nbsp;	ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c \
&lt;br&gt;-	ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \
&lt;br&gt;+	ldap-bp.c stubs.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \
&lt;br&gt;&amp;nbsp;	dnsconfig.c irs-nss.c pagectrl.c ldap-sldap.c ldap-init-krb5-cache.c
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;nss_ldap_so_LDFLAGS = @nss_ldap_so_LDFLAGS@
&lt;br&gt;diff --git a/Makefile.in b/Makefile.in
&lt;br&gt;index c5c098f..0c68864 100644
&lt;br&gt;--- a/Makefile.in
&lt;br&gt;+++ b/Makefile.in
&lt;br&gt;@@ -68,7 +68,7 @@ am_nss_ldap_so_OBJECTS = ldap-nss.$(OBJEXT) ldap-pwd.$(OBJEXT) \
&lt;br&gt;&amp;nbsp;	ldap-hosts.$(OBJEXT) ldap-network.$(OBJEXT) \
&lt;br&gt;&amp;nbsp;	ldap-proto.$(OBJEXT) ldap-spwd.$(OBJEXT) ldap-alias.$(OBJEXT) \
&lt;br&gt;&amp;nbsp;	ldap-service.$(OBJEXT) ldap-schema.$(OBJEXT) \
&lt;br&gt;-	ldap-ethers.$(OBJEXT) ldap-bp.$(OBJEXT) \
&lt;br&gt;+	ldap-ethers.$(OBJEXT) ldap-bp.$(OBJEXT) stubs.$(OBJEXT) \
&lt;br&gt;&amp;nbsp;	ldap-automount.$(OBJEXT) util.$(OBJEXT) ltf.$(OBJEXT) \
&lt;br&gt;&amp;nbsp;	snprintf.$(OBJEXT) resolve.$(OBJEXT) dnsconfig.$(OBJEXT) \
&lt;br&gt;&amp;nbsp;	irs-nss.$(OBJEXT) pagectrl.$(OBJEXT) ldap-sldap.$(OBJEXT) \
&lt;br&gt;@@ -211,7 +211,7 @@ man_MANS = nss_ldap.5
&lt;br&gt;&amp;nbsp;nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c ldap-rpc.c \
&lt;br&gt;&amp;nbsp;	ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c \
&lt;br&gt;&amp;nbsp;	ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c \
&lt;br&gt;-	ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \
&lt;br&gt;+	ldap-bp.c stubs.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \
&lt;br&gt;&amp;nbsp;	dnsconfig.c irs-nss.c pagectrl.c ldap-sldap.c ldap-init-krb5-cache.c
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;NSS_LDAP_SOURCES = ldap-nss.c ldap-grp.c ldap-pwd.c ldap-netgrp.c ldap-schema.c \
&lt;br&gt;@@ -308,6 +308,7 @@ distclean-compile:
&lt;br&gt;&amp;nbsp;@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap-alias.Po@am__quote@
&lt;br&gt;&amp;nbsp;@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap-automount.Po@am__quote@
&lt;br&gt;&amp;nbsp;@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap-bp.Po@am__quote@
&lt;br&gt;+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stubs.Po@am__quote@
&lt;br&gt;&amp;nbsp;@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap-ethers.Po@am__quote@
&lt;br&gt;&amp;nbsp;@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap-grp.Po@am__quote@
&lt;br&gt;&amp;nbsp;@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap-hosts.Po@am__quote@
&lt;br&gt;diff --git a/exports.solaris b/exports.solaris
&lt;br&gt;index 3ad3bd4..0dcd056 100644
&lt;br&gt;--- a/exports.solaris
&lt;br&gt;+++ b/exports.solaris
&lt;br&gt;@@ -13,6 +13,16 @@ nss_ldap.so.1 {
&lt;br&gt;&amp;nbsp;		_nss_ldap_services_constr;
&lt;br&gt;&amp;nbsp;		_nss_ldap_shadow_constr;
&lt;br&gt;&amp;nbsp;		_nss_ldap_netgroup_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_exec_attr_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_ipnodes_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_netmasks_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_printers_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_prof_attr_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_project_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_publickey_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_tnrhdb_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_tnrhtp_constr;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_nss_ldap_user_attr_constr;
&lt;br&gt;&amp;nbsp;		# libsldap library interfaces
&lt;br&gt;&amp;nbsp;		__ns_ldap_getMappedAttributes;
&lt;br&gt;&amp;nbsp;		__ns_ldap_getMappedObjectClass;
&lt;br&gt;diff --git a/ldap-sldap.c b/ldap-sldap.c
&lt;br&gt;index 5f8f85f..0af8b67 100644
&lt;br&gt;--- a/ldap-sldap.c
&lt;br&gt;+++ b/ldap-sldap.c
&lt;br&gt;@@ -247,7 +247,9 @@ __ns_ldap_getParam (const ParamIndexType type, void ***data,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#if 0
&lt;br&gt;&amp;nbsp; &amp;nbsp;debug (&amp;quot;&amp;lt;== __ns_ldap_getParam (ret=%s)&amp;quot;, NS_LDAP_ERR2STR (ret));
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;return ret;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;@@ -566,8 +568,10 @@ __ns_ldap_parseEntry (LDAPMessage * msg, ldap_state_t * state,
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;__ns_ldap_freeEntry (&amp;entry);
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;cookie-&amp;gt;ret = ret;
&lt;br&gt;+#if 0
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;debug (&amp;quot;&amp;lt;== __ns_ldap_parseEntry (failed to init result: %s)&amp;quot;,
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp; NS_LDAP_ERR2STR (ret));
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;return __ns_ldap_mapError (ret);
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;cookie-&amp;gt;result-&amp;gt;entry = entry;
&lt;br&gt;@@ -597,7 +601,9 @@ __ns_ldap_parseEntry (LDAPMessage * msg, ldap_state_t * state,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;cookie-&amp;gt;ret = ret;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#if 0
&lt;br&gt;&amp;nbsp; &amp;nbsp;debug (&amp;quot;&amp;lt;== __ns_ldap_parseEntry (ret=%s)&amp;quot;, NS_LDAP_ERR2STR (ret));
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;return __ns_ldap_mapError (ret);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;@@ -1150,8 +1156,10 @@ __ns_ldap_firstEntry (const char *service,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;*pCookie = cookie;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#if 0
&lt;br&gt;&amp;nbsp; &amp;nbsp;debug (&amp;quot;&amp;lt;== __ns_ldap_firstEntry ret=%s cookie=%p&amp;quot;, NS_LDAP_ERR2STR (ret),
&lt;br&gt;&amp;nbsp;	 cookie);
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;return ret;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;@@ -1185,7 +1193,9 @@ __ns_ldap_nextEntry (void *_cookie,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;_nss_ldap_leave ();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#if 0
&lt;br&gt;&amp;nbsp; &amp;nbsp;debug (&amp;quot;&amp;lt;== __ns_ldap_nextEntry ret=%s&amp;quot;, NS_LDAP_ERR2STR (ret));
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;return ret;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;@@ -1273,7 +1283,9 @@ __ns_ldap_list (const char *map,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;_nss_ldap_leave ();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#if 0
&lt;br&gt;&amp;nbsp; &amp;nbsp;debug (&amp;quot;&amp;lt;== __ns_ldap_list ret=%s&amp;quot;, NS_LDAP_ERR2STR (ret));
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;return ret;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;diff --git a/stubs.c b/stubs.c
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..f1b5127
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/stubs.c
&lt;br&gt;@@ -0,0 +1,136 @@
&lt;br&gt;+#include &amp;quot;config.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+#ifdef HAVE_PORT_BEFORE_H
&lt;br&gt;+#include &amp;lt;port_before.h&amp;gt;
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;+#if defined(HAVE_THREAD_H) &amp;&amp; !defined(_AIX)
&lt;br&gt;+#include &amp;lt;thread.h&amp;gt;
&lt;br&gt;+#elif defined(HAVE_PTHREAD_H)
&lt;br&gt;+#include &amp;lt;pthread.h&amp;gt;
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;+#include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;+#include &amp;lt;string.h&amp;gt;
&lt;br&gt;+#include &amp;lt;netdb.h&amp;gt;
&lt;br&gt;+#include &amp;lt;sys/types.h&amp;gt;
&lt;br&gt;+#include &amp;lt;sys/socket.h&amp;gt;
&lt;br&gt;+#include &amp;lt;netinet/in.h&amp;gt;
&lt;br&gt;+
&lt;br&gt;+#ifdef HAVE_LBER_H
&lt;br&gt;+#include &amp;lt;lber.h&amp;gt;
&lt;br&gt;+#endif
&lt;br&gt;+#ifdef HAVE_LDAP_H
&lt;br&gt;+#include &amp;lt;ldap.h&amp;gt;
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;ldap-nss.h&amp;quot;
&lt;br&gt;+#include &amp;quot;ldap-bp.h&amp;quot;
&lt;br&gt;+#include &amp;quot;util.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+#ifdef HAVE_PORT_AFTER_H
&lt;br&gt;+#include &amp;lt;port_after.h&amp;gt;
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;+#ifdef HAVE_NSS_H
&lt;br&gt;+static ent_context_t *bp_context = NULL;
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_audit_user_constr(const char *dummy1,
&lt;br&gt;+const char *dummy2,
&lt;br&gt;+const char *dummy3,
&lt;br&gt;+const char *dummy4,
&lt;br&gt;+const char *dummy5)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_ipnodes_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_netmasks_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_printers_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_prof_attr_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy5)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_project_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;+const char *dummy3)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_publickey_constr(const char *dummy1, const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_tnrhdb_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy5)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_tnrhtp_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy5)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_user_attr_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy5)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_exec_attr_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy5,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy6,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;const char *dummy7)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;diff --git a/stubs.h b/stubs.h
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..903dd56
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/stubs.h
&lt;br&gt;@@ -0,0 +1,65 @@
&lt;br&gt;+#ifndef _LDAP_NSS_LDAP_STUBS_H
&lt;br&gt;+#define _LDAP_NSS_LDAP_STUBS_H
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_audit_user_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy5);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_ipnodes_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_netmasks_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_printers_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_prof_attr_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy5);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_project_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_publickey_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_tnrhdb_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy5);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_tnrhtp_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy5);
&lt;br&gt;+
&lt;br&gt;+nss_backend_t *
&lt;br&gt;+_nss_ldap_user_attr_constr(const char *dummy1,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy2,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy3,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy4,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char *dummy5);
&lt;br&gt;+
&lt;br&gt;+#endif /* _LDAP_NSS_LDAP_STUBS_H */
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p17720821.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17720376</id>
	<title>Re: Solaris 10: As soon as nscd is running getpwnam on a ldap account fails</title>
	<published>2008-06-08T08:00:13Z</published>
	<updated>2008-06-08T08:00:13Z</updated>
	<author>
		<name>Thomas Glanzmann</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;I managed today to build an omnipotent nss_ldap and pam_krb5_310 that works with
&lt;br&gt;Solaris 10 U5 (still without nscd). I wonder why noone published howto to do
&lt;br&gt;that before. (Deps: libnet, openssl, krb5, sasl2, openldap).
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://git.informatik.uni-erlangen.de/?p=blastwave;a=blob;f=specs/nss-ldap;h=35348abd4e3c2d1cc858326b1d229ac066c7b6a6;hb=a314b8093d40a66eec8d3af4afc03176ad2897a0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.informatik.uni-erlangen.de/?p=blastwave;a=blob;f=specs/nss-ldap;h=35348abd4e3c2d1cc858326b1d229ac066c7b6a6;hb=a314b8093d40a66eec8d3af4afc03176ad2897a0&lt;/a&gt;&lt;br&gt;&lt;br&gt;However, I'm still stuck with nscd. So I called nm on the original
&lt;br&gt;nss_ldap.so.1 which Solaris provied on Update 5 with the latest
&lt;br&gt;patchset.
&lt;br&gt;&lt;br&gt;-bash-3.00$ /usr/ccs/bin/nm nss_ldap.so.1.off | grep GLOB | grep -v UNDEF
&lt;br&gt;[330] &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|ABS &amp;nbsp; &amp;nbsp;|SUNWprivate_1.1
&lt;br&gt;[324] &amp;nbsp; | &amp;nbsp; &amp;nbsp;114904| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_DYNAMIC
&lt;br&gt;[350] &amp;nbsp; | &amp;nbsp; &amp;nbsp;114688| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|15 &amp;nbsp; &amp;nbsp; |_GLOBAL_OFFSET_TABLE_
&lt;br&gt;[361] &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp;6252| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|9 &amp;nbsp; &amp;nbsp; &amp;nbsp;|_PROCEDURE_LINKAGE_TABLE_
&lt;br&gt;[368] &amp;nbsp; | &amp;nbsp; &amp;nbsp;118033| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|19 &amp;nbsp; &amp;nbsp; |_edata
&lt;br&gt;[333] &amp;nbsp; | &amp;nbsp; &amp;nbsp;118033| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|20 &amp;nbsp; &amp;nbsp; |_end
&lt;br&gt;[363] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 45422| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|14 &amp;nbsp; &amp;nbsp; |_etext
&lt;br&gt;[385] &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp;8615| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_audit_user_constr
&lt;br&gt;[369] &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp;7918| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_auth_attr_constr
&lt;br&gt;[380] &amp;nbsp; | &amp;nbsp; &amp;nbsp; &amp;nbsp;9324| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_bootparams_constr
&lt;br&gt;[373] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 10090| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_ethers_constr
&lt;br&gt;[359] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 13171| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_exec_attr_constr
&lt;br&gt;[384] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 14820| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_group_constr
&lt;br&gt;[331] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 17097| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_hosts_constr
&lt;br&gt;[326] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 18177| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_ipnodes_constr
&lt;br&gt;[376] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 24569| &amp;nbsp; &amp;nbsp; &amp;nbsp;54|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_netgroup_constr
&lt;br&gt;[362] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 25031| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_netmasks_constr
&lt;br&gt;[374] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 20303| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_networks_constr
&lt;br&gt;[398] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 29054| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_passwd_constr
&lt;br&gt;[390] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 30181| &amp;nbsp; &amp;nbsp; &amp;nbsp;58|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_printers_constr
&lt;br&gt;[321] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 25878| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_prof_attr_constr
&lt;br&gt;[358] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 26822| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_project_constr
&lt;br&gt;[356] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 27998| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_protocols_constr
&lt;br&gt;[395] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 19021| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_publickey_constr
&lt;br&gt;[341] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 31104| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_rpc_constr
&lt;br&gt;[367] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 33019| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_services_constr
&lt;br&gt;[387] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 33807| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_shadow_constr
&lt;br&gt;[349] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 35389| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_tnrhdb_constr
&lt;br&gt;[377] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 35924| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_tnrhtp_constr
&lt;br&gt;[364] &amp;nbsp; | &amp;nbsp; &amp;nbsp; 34654| &amp;nbsp; &amp;nbsp; &amp;nbsp;59|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|10 &amp;nbsp; &amp;nbsp; |_nss_ldap_user_attr_constr
&lt;br&gt;&lt;br&gt;After that I look at the exported symbols of nss_ldap (see also export.solaris
&lt;br&gt;in the nss_ldap distribution):
&lt;br&gt;&lt;br&gt;-bash-3.00$ /usr/ccs/bin/nm nss_ldap.so.1 | grep GLOB | grep -v UNDEF
&lt;br&gt;[16346] | &amp;nbsp; 3863200| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|22 &amp;nbsp; &amp;nbsp; |_DYNAMIC
&lt;br&gt;[16403] | &amp;nbsp; 3862036| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|21 &amp;nbsp; &amp;nbsp; |_GLOBAL_OFFSET_TABLE_
&lt;br&gt;[16364] | &amp;nbsp; &amp;nbsp;430276| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|15 &amp;nbsp; &amp;nbsp; |_PROCEDURE_LINKAGE_TABLE_
&lt;br&gt;[16428] | &amp;nbsp; &amp;nbsp;519264| &amp;nbsp; &amp;nbsp; 121|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_endEntry
&lt;br&gt;[16314] | &amp;nbsp; &amp;nbsp;519776| &amp;nbsp; &amp;nbsp; 205|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_err2str
&lt;br&gt;[16373] | &amp;nbsp; &amp;nbsp;518864| &amp;nbsp; &amp;nbsp; 237|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_firstEntry
&lt;br&gt;[16309] | &amp;nbsp; &amp;nbsp;512432| &amp;nbsp; &amp;nbsp; 153|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_freeEntry
&lt;br&gt;[16318] | &amp;nbsp; &amp;nbsp;511872| &amp;nbsp; &amp;nbsp; 129|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_freeError
&lt;br&gt;[16445] | &amp;nbsp; &amp;nbsp;512592| &amp;nbsp; &amp;nbsp; 157|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_freeResult
&lt;br&gt;[16282] | &amp;nbsp; &amp;nbsp;511408| &amp;nbsp; &amp;nbsp; &amp;nbsp;85|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_getMappedAttributes
&lt;br&gt;[16278] | &amp;nbsp; &amp;nbsp;511504| &amp;nbsp; &amp;nbsp; &amp;nbsp;85|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_getMappedObjectClass
&lt;br&gt;[16394] | &amp;nbsp; &amp;nbsp;512160| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_getParam
&lt;br&gt;[16411] | &amp;nbsp; &amp;nbsp;519392| &amp;nbsp; &amp;nbsp; 369|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_list
&lt;br&gt;[16261] | &amp;nbsp; &amp;nbsp;519104| &amp;nbsp; &amp;nbsp; 153|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |__ns_ldap_nextEntry
&lt;br&gt;[16473] | &amp;nbsp; 3978888| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|26 &amp;nbsp; &amp;nbsp; |_edata
&lt;br&gt;[16315] | &amp;nbsp; 4034680| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|27 &amp;nbsp; &amp;nbsp; |_end
&lt;br&gt;[16376] | &amp;nbsp; 3796500| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|20 &amp;nbsp; &amp;nbsp; |_etext
&lt;br&gt;[16323] | &amp;nbsp; &amp;nbsp;491712| &amp;nbsp; &amp;nbsp; &amp;nbsp;25|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_bootparams_constr
&lt;br&gt;[16281] | &amp;nbsp; &amp;nbsp;491168| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_ethers_constr
&lt;br&gt;[16361] | &amp;nbsp; &amp;nbsp;470240| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_group_constr
&lt;br&gt;[16272] | &amp;nbsp; &amp;nbsp;478544| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_hosts_constr
&lt;br&gt;[16420] | &amp;nbsp; &amp;nbsp;475520| &amp;nbsp; &amp;nbsp; 141|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_netgroup_constr
&lt;br&gt;[16412] | &amp;nbsp; &amp;nbsp;480208| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_networks_constr
&lt;br&gt;[16363] | &amp;nbsp; &amp;nbsp;463440| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_passwd_constr
&lt;br&gt;[16434] | &amp;nbsp; &amp;nbsp;481328| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_protocols_constr
&lt;br&gt;[16444] | &amp;nbsp; &amp;nbsp;476672| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_rpc_constr
&lt;br&gt;[16273] | &amp;nbsp; &amp;nbsp;484624| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_services_constr
&lt;br&gt;[16407] | &amp;nbsp; &amp;nbsp;482832| &amp;nbsp; &amp;nbsp; 109|FUNC |GLOB |0 &amp;nbsp; &amp;nbsp;|16 &amp;nbsp; &amp;nbsp; |_nss_ldap_shadow_constr
&lt;br&gt;[16418] | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0| &amp;nbsp; &amp;nbsp; &amp;nbsp; 0|OBJT |GLOB |0 &amp;nbsp; &amp;nbsp;|ABS &amp;nbsp; &amp;nbsp;|nss_ldap.so.1
&lt;br&gt;&lt;br&gt;What you can see here is, that a few symbols are gone and a few new are in. Has
&lt;br&gt;someone already had a look at this?
&lt;br&gt;&lt;br&gt;(u5) [/var/tmp/sithglan-pkg/nss_ldap-260] gdiff -ruN padl sun
&lt;br&gt;--- padl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2008-06-08 16:51:53.390905000 +0200
&lt;br&gt;+++ sun 2008-06-08 16:47:01.055021000 +0200
&lt;br&gt;@@ -1,22 +1,23 @@
&lt;br&gt;-__ns_ldap_endEntry
&lt;br&gt;-__ns_ldap_err2str
&lt;br&gt;-__ns_ldap_firstEntry
&lt;br&gt;-__ns_ldap_freeEntry
&lt;br&gt;-__ns_ldap_freeError
&lt;br&gt;-__ns_ldap_freeResult
&lt;br&gt;-__ns_ldap_getMappedAttributes
&lt;br&gt;-__ns_ldap_getMappedObjectClass
&lt;br&gt;-__ns_ldap_getParam
&lt;br&gt;-__ns_ldap_list
&lt;br&gt;-__ns_ldap_nextEntry
&lt;br&gt;+_nss_ldap_audit_user_constr
&lt;br&gt;+_nss_ldap_auth_attr_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_bootparams_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_ethers_constr
&lt;br&gt;+_nss_ldap_exec_attr_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_group_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_hosts_constr
&lt;br&gt;+_nss_ldap_ipnodes_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_netgroup_constr
&lt;br&gt;+_nss_ldap_netmasks_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_networks_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_passwd_constr
&lt;br&gt;+_nss_ldap_printers_constr
&lt;br&gt;+_nss_ldap_prof_attr_constr
&lt;br&gt;+_nss_ldap_project_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_protocols_constr
&lt;br&gt;+_nss_ldap_publickey_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_rpc_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_services_constr
&lt;br&gt;&amp;nbsp;_nss_ldap_shadow_constr
&lt;br&gt;+_nss_ldap_tnrhdb_constr
&lt;br&gt;+_nss_ldap_tnrhtp_constr
&lt;br&gt;+_nss_ldap_user_attr_constr
&lt;br&gt;&lt;br&gt;So, I guess the following symbols are missing and this is why my nscd keeps
&lt;br&gt;failing on me:
&lt;br&gt;&lt;br&gt;_nss_ldap_exec_attr_constr
&lt;br&gt;_nss_ldap_ipnodes_constr
&lt;br&gt;_nss_ldap_netmasks_constr
&lt;br&gt;_nss_ldap_printers_constr
&lt;br&gt;_nss_ldap_prof_attr_constr
&lt;br&gt;_nss_ldap_project_constr
&lt;br&gt;_nss_ldap_publickey_constr
&lt;br&gt;_nss_ldap_tnrhdb_constr
&lt;br&gt;_nss_ldap_tnrhtp_constr
&lt;br&gt;_nss_ldap_user_attr_constr
&lt;br&gt;&lt;br&gt;I'm also wondering if I am the only one who is needs this patch to get
&lt;br&gt;nss_ldap working _without_ debugging enabled under Solaris 10 using gcc,
&lt;br&gt;forte11 and forte12:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://git.informatik.uni-erlangen.de/?p=blastwave;a=blob;f=sources/nss_ldap.patch;h=c1371d22b1c691d3106c105a95bb8264f9368b55;hb=a314b8093d40a66eec8d3af4afc03176ad2897a0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.informatik.uni-erlangen.de/?p=blastwave;a=blob;f=sources/nss_ldap.patch;h=c1371d22b1c691d3106c105a95bb8264f9368b55;hb=a314b8093d40a66eec8d3af4afc03176ad2897a0&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thomas
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p17720376.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17713578</id>
	<title>Solaris 10: As soon as nscd is running getpwnam on a ldap account fails</title>
	<published>2008-06-07T13:43:02Z</published>
	<updated>2008-06-07T13:43:02Z</updated>
	<author>
		<name>Thomas Glanzmann</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;I have Solaris 10 Update 5 authenticating against a Windows 2003 R2 Active
&lt;br&gt;Directory. I used the Blastwave Packages (openldap, openssl, libnet, krb5) and
&lt;br&gt;Sun Studio 12 to compile nss_ldap. I also had to apply the attached patch
&lt;br&gt;otherwise no information at all are retrieved from the Active Directory.
&lt;br&gt;&lt;br&gt;I'm able to retrieve information from the AD and log in via kerberos
&lt;br&gt;(using a kerberos token and keyboard interactive using my _windows_
&lt;br&gt;password). I have no crypt/md5 password set.
&lt;br&gt;&lt;br&gt;However I'm facing a strange problem. As soon as I start nscd, getpwnam
&lt;br&gt;fails for me:
&lt;br&gt;&lt;br&gt;(mini) [~] ssh -l root 192.168.0.73
&lt;br&gt;Password:
&lt;br&gt;Last login: Sat Jun &amp;nbsp;7 22:08:29 2008 from u5
&lt;br&gt;Sun Microsystems Inc. &amp;nbsp; SunOS 5.10 &amp;nbsp; &amp;nbsp; &amp;nbsp;Generic January 2005
&lt;br&gt;You have new mail.
&lt;br&gt;# id testldap
&lt;br&gt;uid=10000(testldap) gid=10000(gruppe)
&lt;br&gt;# /etc/init.d/nscd start
&lt;br&gt;# id testldap
&lt;br&gt;id: invalid user name: &amp;quot;testldap&amp;quot;
&lt;br&gt;# /etc/init.d/nscd stop
&lt;br&gt;# id testldap
&lt;br&gt;uid=10000(testldap) gid=10000(gruppe)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thomas
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Solaris-10%3A-As-soon-as-nscd-is-running-getpwnam-on-a-ldap-account-fails-tp17713578p17713578.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17633335</id>
	<title>NSS overlay for slapd</title>
	<published>2008-06-03T12:19:37Z</published>
	<updated>2008-06-03T12:19:37Z</updated>
	<author>
		<name>Howard Chu</name>
	</author>
	<content type="html">For anyone interested, I've released an NSS overlay for slapd in OpenLDAP's 
&lt;br&gt;contrib/slapd-modules/nssov directory. This overlay uses the same protocol as 
&lt;br&gt;Arthur de Jong's nss-ldapd, but uses slapd to answer the requests directly 
&lt;br&gt;instead of going thru some other intermediate daemon. Since the overlay is 
&lt;br&gt;configured inside slapd, more of your LDAP configuration is centralized in a 
&lt;br&gt;single place, making overall administration simpler. It offers most of the 
&lt;br&gt;advantages of nss-ldapd, and also provides the possibility for local caching 
&lt;br&gt;of remotely mastered LDAP credentials (just use back-ldap+pcache), full 
&lt;br&gt;synchronization for disconnected operation (just use syncrepl), etc. etc.
&lt;br&gt;&lt;br&gt;Feedback welcome, here or on the openldap-technical mailing list. Currently it 
&lt;br&gt;is only in CVS HEAD; may be released in 2.4.11.
&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp;-- Howard Chu
&lt;br&gt;&amp;nbsp; &amp;nbsp;CTO, Symas Corp. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.symas.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.symas.com&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Director, Highland Sun &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://highlandsun.com/hyc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://highlandsun.com/hyc/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Chief Architect, OpenLDAP &amp;nbsp;&lt;a href=&quot;http://www.openldap.org/project/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openldap.org/project/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/release-0.6.1-of-nss-ldapd-tp16524438p17633335.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17196657</id>
	<title>How to configure netgroup with nss_ldap</title>
	<published>2008-05-12T12:53:38Z</published>
	<updated>2008-05-12T12:53:38Z</updated>
	<author>
		<name>Markus Moeller</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a Suse setup which uses nss_ldap for passwd and group and uses 
&lt;br&gt;pam_krb5 for authentication, which works fine.
&lt;br&gt;&lt;br&gt;Now I am trying to setup netgroups, but I don't get it to work. &amp;nbsp;The user mm 
&lt;br&gt;is defined in ldap and should only be able to login from a machine called 
&lt;br&gt;test, but the user can login with ssh from anywhere.
&lt;br&gt;&lt;br&gt;My nsswitch.conf is:
&lt;br&gt;&lt;br&gt;passwd: files ldap
&lt;br&gt;group: &amp;nbsp;files ldap
&lt;br&gt;hosts: &amp;nbsp;files mdns4_minimal [NOTFOUND=return] dns
&lt;br&gt;networks: &amp;nbsp; &amp;nbsp; &amp;nbsp; files dns
&lt;br&gt;services: &amp;nbsp; &amp;nbsp; &amp;nbsp; files
&lt;br&gt;protocols: &amp;nbsp; &amp;nbsp; &amp;nbsp;files
&lt;br&gt;rpc: &amp;nbsp; &amp;nbsp;files
&lt;br&gt;ethers: files
&lt;br&gt;netmasks: &amp;nbsp; &amp;nbsp; &amp;nbsp; files
&lt;br&gt;netgroup: &amp;nbsp; &amp;nbsp; &amp;nbsp; files ldap
&lt;br&gt;publickey: &amp;nbsp; &amp;nbsp; &amp;nbsp;files
&lt;br&gt;bootparams: &amp;nbsp; &amp;nbsp; files
&lt;br&gt;automount: &amp;nbsp; &amp;nbsp; &amp;nbsp;files
&lt;br&gt;aliases: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;files
&lt;br&gt;shadow: files ldap
&lt;br&gt;&lt;br&gt;&lt;br&gt;and passwd is:
&lt;br&gt;&lt;br&gt;at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
&lt;br&gt;avahi:x:106:107:User for Avahi:/var/run/avahi-daemon:/bin/false
&lt;br&gt;beagleindex:x:107:108:User for Beagle indexing:/var/cache/beagle:/bin/bash
&lt;br&gt;bin:x:1:1:bin:/bin:/bin/bash
&lt;br&gt;daemon:x:2:2:Daemon:/sbin:/bin/bash
&lt;br&gt;dhcpd:x:102:65534:DHCP server daemon:/var/lib/dhcp:/bin/false
&lt;br&gt;fetchmail:x:103:2:mail retrieval daemon:/var/lib/fetchmail:/bin/false
&lt;br&gt;ftp:x:40:49:FTP account:/srv/ftp:/bin/bash
&lt;br&gt;games:x:12:100:Games account:/var/games:/bin/bash
&lt;br&gt;haldaemon:x:101:102:User for haldaemon:/var/run/hal:/bin/false
&lt;br&gt;ldap:x:76:70:User for OpenLDAP:/var/lib/ldap:/bin/bash
&lt;br&gt;lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash
&lt;br&gt;mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
&lt;br&gt;man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash
&lt;br&gt;messagebus:x:100:101:User for D-Bus:/var/run/dbus:/bin/false
&lt;br&gt;mysql:x:60:103:MySQL database admin:/var/lib/mysql:/bin/false
&lt;br&gt;named:x:44:44:Name server daemon:/var/lib/named:/bin/false
&lt;br&gt;news:x:9:13:News system:/etc/news:/bin/bash
&lt;br&gt;nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash
&lt;br&gt;ntp:x:74:104:NTP daemon:/var/lib/ntp:/bin/false
&lt;br&gt;polkituser:x:105:106:PolicyKit:/var/run/PolicyKit:/bin/false
&lt;br&gt;postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
&lt;br&gt;quagga:x:104:105:Quagga routing daemon:/var/run/quagga:/usr/bin/false
&lt;br&gt;root:x:0:0:root:/root:/bin/bash
&lt;br&gt;squid:x:31:65534:WWW-proxy squid:/var/cache/squid:/bin/false
&lt;br&gt;sshd:x:71:65:SSH daemon:/var/lib/sshd:/bin/false
&lt;br&gt;suse-ncc:x:108:109:Novell Customer Center 
&lt;br&gt;User:/var/lib/YaST2/suse-ncc-fakehome:/bin/bash
&lt;br&gt;uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
&lt;br&gt;wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
&lt;br&gt;markus:x:1000:100:Markus Moeller:/home/markus:/bin/bash
&lt;br&gt;+@test::::::
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;#getent netgroup test
&lt;br&gt;test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(test, mm, )
&lt;br&gt;&lt;br&gt;#getent passwd
&lt;br&gt;at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
&lt;br&gt;avahi:x:106:107:User for Avahi:/var/run/avahi-daemon:/bin/false
&lt;br&gt;beagleindex:x:107:108:User for Beagle indexing:/var/cache/beagle:/bin/bash
&lt;br&gt;bin:x:1:1:bin:/bin:/bin/bash
&lt;br&gt;daemon:x:2:2:Daemon:/sbin:/bin/bash
&lt;br&gt;dhcpd:x:102:65534:DHCP server daemon:/var/lib/dhcp:/bin/false
&lt;br&gt;fetchmail:x:103:2:mail retrieval daemon:/var/lib/fetchmail:/bin/false
&lt;br&gt;ftp:x:40:49:FTP account:/srv/ftp:/bin/bash
&lt;br&gt;games:x:12:100:Games account:/var/games:/bin/bash
&lt;br&gt;haldaemon:x:101:102:User for haldaemon:/var/run/hal:/bin/false
&lt;br&gt;ldap:x:76:70:User for OpenLDAP:/var/lib/ldap:/bin/bash
&lt;br&gt;lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash
&lt;br&gt;mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
&lt;br&gt;man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash
&lt;br&gt;messagebus:x:100:101:User for D-Bus:/var/run/dbus:/bin/false
&lt;br&gt;mysql:x:60:103:MySQL database admin:/var/lib/mysql:/bin/false
&lt;br&gt;named:x:44:44:Name server daemon:/var/lib/named:/bin/false
&lt;br&gt;news:x:9:13:News system:/etc/news:/bin/bash
&lt;br&gt;nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash
&lt;br&gt;ntp:x:74:104:NTP daemon:/var/lib/ntp:/bin/false
&lt;br&gt;polkituser:x:105:106:PolicyKit:/var/run/PolicyKit:/bin/false
&lt;br&gt;postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
&lt;br&gt;quagga:x:104:105:Quagga routing daemon:/var/run/quagga:/usr/bin/false
&lt;br&gt;root:x:0:0:root:/root:/bin/bash
&lt;br&gt;squid:x:31:65534:WWW-proxy squid:/var/cache/squid:/bin/false
&lt;br&gt;sshd:x:71:65:SSH daemon:/var/lib/sshd:/bin/false
&lt;br&gt;suse-ncc:x:108:109:Novell Customer Center 
&lt;br&gt;User:/var/lib/YaST2/suse-ncc-fakehome:/bin/bash
&lt;br&gt;uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
&lt;br&gt;wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
&lt;br&gt;markus:x:1000:100:Markus Moeller:/home/markus:/bin/bash
&lt;br&gt;+@test::0:0:::
&lt;br&gt;mm:*:500:10000:Markus Moeller:/export/home/mm:/bin/ksh
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;Markus
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-configure-netgroup-with-nss_ldap-tp17196657p17196657.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17022810</id>
	<title>Re: openldap authentication</title>
	<published>2008-05-02T07:27:33Z</published>
	<updated>2008-05-02T07:27:33Z</updated>
	<author>
		<name>nowen</name>
	</author>
	<content type="html">Jyotishmaan Ray wrote:
&lt;br&gt;&amp;gt; Hello List,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Recently I had been exploring the authentication types- Weak and
&lt;br&gt;&amp;gt; Strong type of authentication mainly!!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you plz give some pointers in that direction as such to classify
&lt;br&gt;&amp;gt; the openldap authentication-weak or strong. Please justify??
&lt;br&gt;&lt;br&gt;Weak authentication is single- factor, e.g. password only. &amp;nbsp;Strong 
&lt;br&gt;authentication incorporates more than one factor, e.g. knowledge of a 
&lt;br&gt;PIN and possession of the ATM card. Typically, strong authentication is 
&lt;br&gt;not handled by the ldap store, but rather a dedicated authentication 
&lt;br&gt;system often via SASL.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;Nick
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nick Owen
&lt;br&gt;WiKID Systems, Inc.
&lt;br&gt;404-962-8983 (desk)
&lt;br&gt;&lt;a href=&quot;http://www.wikidsystems.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wikidsystems.com&lt;/a&gt;&lt;br&gt;Two-factor authentication, without the hassle factor.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/openldap-authentication-tp16987101p17022810.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16987101</id>
	<title>openldap authentication</title>
	<published>2008-04-30T07:51:48Z</published>
	<updated>2008-04-30T07:51:48Z</updated>
	<author>
		<name>Jyotishmaan</name>
	</author>
	<content type="html">&lt;br&gt;Hello List,
&lt;br&gt;&lt;br&gt;Recently I had been exploring the authentication types- Weak and Strong type of authentication mainly!!
&lt;br&gt;&lt;br&gt;Can you plz give some pointers in that direction as such to classify the openldap authentication-weak or strong. Please justify??
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks, 
&lt;br&gt;Jyotishmaan Ray 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ____________________________________________________________________________________
&lt;br&gt;Be a better friend, newshound, and 
&lt;br&gt;know-it-all with Yahoo! Mobile. &amp;nbsp;Try it now. &amp;nbsp;&lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/openldap-authentication-tp16987101p16987101.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16789174</id>
	<title>Re: pam_check_host_attr + PAM configuration</title>
	<published>2008-04-19T17:29:39Z</published>
	<updated>2008-04-19T17:29:39Z</updated>
	<author>
		<name>zf</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;zf wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I'm struggling for the past few days to setup host-based authentication on a CentOS 5 system using pam_check_host_attr directive but i really cannot understand how to make it work. I lack expertise in PAM so i'm trying many configurations found on the net about that subject but still none of these works either.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Damn, sometimes you miss the most obvious thing! Anyway, host-based authentication works as expected, my bad, i was changing a different sshd_config file so ssh didn't cooperate with PAM at all.
&lt;br&gt;&lt;br&gt;Sorry for that!
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/pam_check_host_attr-%2B-PAM-configuration-tp16781951p16789174.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16781951</id>
	<title>pam_check_host_attr + PAM configuration</title>
	<published>2008-04-19T04:11:22Z</published>
	<updated>2008-04-19T05:42:13Z</updated>
	<author>
		<name>zf</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm struggling for the past few days to setup host-based authentication on a CentOS 5 system using pam_check_host_attr directive but i really cannot understand how to make it work. I lack expertise in PAM so i'm trying many configurations found on the net about that subject but still none of these works either.
&lt;br&gt;&lt;br&gt;My /etc/ldap.conf is pretty simple and straightforward:
&lt;br&gt;-------------------------
&lt;br&gt;host 127.0.0.1
&lt;br&gt;base dc=people,dc=domain
&lt;br&gt;scope sub
&lt;br&gt;ssl no
&lt;br&gt;pam_check_host_attr yes
&lt;br&gt;-------------------------
&lt;br&gt;&lt;br&gt;partial /etc/nsswitch.conf :
&lt;br&gt;&lt;br&gt;-------------------
&lt;br&gt;passwd: &amp;nbsp; &amp;nbsp; files ldap
&lt;br&gt;shadow: &amp;nbsp; &amp;nbsp; files ldap
&lt;br&gt;group: &amp;nbsp; &amp;nbsp; &amp;nbsp;files ldap
&lt;br&gt;-------------------
&lt;br&gt;&lt;br&gt;partial /etc/ssh/sshd_config:
&lt;br&gt;&lt;br&gt;--------------
&lt;br&gt;UsePAM yes
&lt;br&gt;--------------
&lt;br&gt;&lt;br&gt;If anyone could guide me to setup PAM to support and respect this attribute, would be really appreciated.
&lt;br&gt;&lt;br&gt;TIA&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/pam_check_host_attr-%2B-PAM-configuration-tp16781951p16781951.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16764819</id>
	<title>Re: Nested groups</title>
	<published>2008-04-18T02:13:42Z</published>
	<updated>2008-04-18T02:13:42Z</updated>
	<author>
		<name>Andreas Moroder</name>
	</author>
	<content type="html">Luke Howard schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; nss_ldap supports nested groups simply by having a group member being a 
&lt;br&gt;&amp;gt; group itself. The group member must be a DN, so the uniqueMember or 
&lt;br&gt;&amp;gt; member attribute would typically used (not memberUid).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This isn't actually specified in RFC 2307.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You also need to have rfc2307bis support enabled in nss_ldap, by putting 
&lt;br&gt;&amp;gt; nss_schema rfc2307bis in ldap.conf.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- Luke
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Hello,
&lt;br&gt;&lt;br&gt;&lt;br&gt;in slapo.conf I have added this line
&lt;br&gt;nss_map_attribute uniqueMember member
&lt;br&gt;&lt;br&gt;and restarted the openldap server
&lt;br&gt;&lt;br&gt;Then I imported this object
&lt;br&gt;&lt;br&gt;dn: cn=atest, ou=groups, dc=sb-brixen,dc=it
&lt;br&gt;gidNumber: 987
&lt;br&gt;member: &amp;nbsp; &amp;nbsp;cn=informatik, ou=groups, dc=sb-brixen,dc=it
&lt;br&gt;userPassword:: e2NyeXB0fXg=
&lt;br&gt;objectClass: top
&lt;br&gt;objectClass: groupOfNames
&lt;br&gt;objectClass: posixGroup
&lt;br&gt;description: atest
&lt;br&gt;cn: atest
&lt;br&gt;&lt;br&gt;I restarted ncsd to
&lt;br&gt;&lt;br&gt;The user amoroder ( me ) is member of the group informatik ( and other 
&lt;br&gt;groups )
&lt;br&gt;&lt;br&gt;now I tried with &amp;nbsp;&amp;quot;id amoroder&amp;quot;
&lt;br&gt;I get as result all the groups I am mmebr of, but not the group atest(987).
&lt;br&gt;&lt;br&gt;What is wrong here. Are my assumptions wrong that amoroder should also 
&lt;br&gt;become member of the group at because &amp;quot;informatik&amp;quot; is member of atest ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nested-groups-tp16697081p16764819.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16758325</id>
	<title>Re: uri question</title>
	<published>2008-04-17T16:28:52Z</published>
	<updated>2008-04-17T16:28:52Z</updated>
	<author>
		<name>Luke Howard</name>
	</author>
	<content type="html">You can specify multiple URIs with a space between them.
&lt;br&gt;&lt;br&gt;On 18/04/2008, at 7:21 AM, Adam Williams wrote:
&lt;br&gt;&amp;gt; I have in my ldap.conf uri ldap://10.8.2.3/ for it to query my &amp;nbsp;
&lt;br&gt;&amp;gt; master ldap server for user shell accounts. &amp;nbsp;I now also have a slave &amp;nbsp;
&lt;br&gt;&amp;gt; openldap server, 10.8.2.2, so how can I specify in /etc/ldap.conf to &amp;nbsp;
&lt;br&gt;&amp;gt; also query 10.8.2.2 in the event that 10.8.2.3 is down?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;www.padl.com | www.fghr.net
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/uri-question-tp16757159p16758325.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16757159</id>
	<title>uri question</title>
	<published>2008-04-17T14:21:26Z</published>
	<updated>2008-04-17T14:21:26Z</updated>
	<author>
		<name>Squeezer99</name>
	</author>
	<content type="html">I have in my ldap.conf uri ldap://10.8.2.3/ for it to query my master 
&lt;br&gt;ldap server for user shell accounts. &amp;nbsp;I now also have a slave openldap 
&lt;br&gt;server, 10.8.2.2, so how can I specify in /etc/ldap.conf to also query 
&lt;br&gt;10.8.2.2 in the event that 10.8.2.3 is down?
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/uri-question-tp16757159p16757159.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16753169</id>
	<title>Changing password after it has expired</title>
	<published>2008-04-17T10:18:55Z</published>
	<updated>2008-04-17T10:18:55Z</updated>
	<author>
		<name>Howard Wilkinson</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Somebody on this list will know the definitive answer(s) to this
question. I have been knocking holes in the wall with my head all day
and cannot get an answer that makes sense.&lt;br&gt;
&lt;br&gt;
In active directory you can set a password as expired and when the user
logs in they get to type their old password to prove they are who they
say they are and then new passwords to get the change to happen.&lt;br&gt;
&lt;br&gt;
I want to achieve this via the LDAP interface but cannot find any
references that say if it is possible. I suspect that what really
happens under the cover is that the 'LDAP' code checks that the hash of
the presented old password matches the value in the AD and then uses a
privileged account rather&amp;nbsp; than the user to do the actual change (I am
thinking of the IISADMPWD application here!) What I had hoped I could
find would be an options that would allow a bind to succeed using the
users credentials (old password/username) that could only change the
password. But I have not.&lt;br&gt;
&lt;br&gt;
Am I right in that this is done by knowing that the HASH matches or is
there a hidden control to the AD LDAP interface I am missing?&lt;br&gt;
&lt;div class=&quot;moz-signature&quot;&gt;-- &lt;br&gt;
&lt;title&gt;Signature&lt;/title&gt;
&lt;div class=&quot;Section1&quot;&gt;
&lt;table class=&quot;MsoNormalTable&quot; style=&quot;width: 100%;&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;&gt;
  &lt;tbody&gt;
    &lt;tr style=&quot;&quot;&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;Howard Wilkinson&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;Phone:&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;+44(20)76907075&lt;/p&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=&quot;&quot;&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;Coherent Technology Limited&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;Fax:&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&lt;/p&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=&quot;&quot;&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;23 Northampton Square,&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;Mobile:&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;+44(7980)639379&lt;/p&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=&quot;&quot;&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;United Kingdom, EC1V 0HL&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;Email:&lt;/p&gt;
      &lt;/td&gt;
      &lt;td style=&quot;padding: 1.5pt;&quot; valign=&quot;top&quot;&gt;
      &lt;p class=&quot;MsoNormal&quot;&gt;&lt;a name=&quot;howardcohtech.com&quot; target=&quot;_top&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16753169&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;howard@...&lt;/a&gt;&lt;/p&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Changing-password-after-it-has-expired-tp16753169p16753169.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16740126</id>
	<title>Disbling and Eanbling an openldap ACCOUNT</title>
	<published>2008-04-16T22:40:25Z</published>
	<updated>2008-04-16T22:40:25Z</updated>
	<author>
		<name>Jyotishmaan</name>
	</author>
	<content type="html">Hello List
&lt;br&gt;&lt;br&gt;Though i can disable a user &amp;nbsp;(with the addition of the attribute- shadowExpire) from successful authentication and hence log on- i am not in a position to enable the same user ?
&lt;br&gt;&lt;br&gt;Can any one suggest a way to delete this attribute ? I see no ways to delete an attribute from the GUI or the command line ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;But then if there is &amp;nbsp;are any other wayz using ACLS , ppolicy &amp;nbsp;etc disable a user account at will and enable it again at a later time whenevr they want. 
&lt;br&gt;&lt;br&gt;Please let me tell you that my set up is that of openldap in linux fedora 8.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am trying since yesterday night.
&lt;br&gt;&lt;br&gt;Please give some pointers!!!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks, &amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks, 
&lt;br&gt;Jyotishmaan Ray 
&lt;br&gt;Moderator Of Paradise Groups 
&lt;br&gt;&lt;a href=&quot;http://yahoogroups.com/group/Spirituality-Paradise&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yahoogroups.com/group/Spirituality-Paradise&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;Are You Spiritually Aware &amp;nbsp;!!! Are You Enjoying Yourself &amp;nbsp;!!! &amp;nbsp;See What All You Had Been Missing !!!!
&lt;br&gt;Please Join Immediately By Sending A Blank Mail @ &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16740126&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Spirituality-Paradise-subscribe@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ____________________________________________________________________________________
&lt;br&gt;Be a better friend, newshound, and 
&lt;br&gt;know-it-all with Yahoo! Mobile. &amp;nbsp;Try it now. &amp;nbsp;&lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Disbling-and-Eanbling-an-openldap-ACCOUNT-tp16740126p16740126.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16734118</id>
	<title>Re: Segmentation Faults for Ldap Accounts</title>
	<published>2008-04-16T13:57:46Z</published>
	<updated>2008-04-16T13:57:46Z</updated>
	<author>
		<name>Jim Summers</name>
	</author>
	<content type="html">Hello All,
&lt;br&gt;&lt;br&gt;I wanted to close this thread.
&lt;br&gt;&lt;br&gt;It was recommended that I try the nscd. &amp;nbsp;Got that activated and now all 
&lt;br&gt;is well.
&lt;br&gt;&lt;br&gt;Many thanks to all!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Andrew Morgan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 14 Apr 2008, Jim Summers wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I agree with you it still is appearing to be something with TLS/ssl. &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; It is just confusing me that the operating system itself authenticates 
&lt;br&gt;&amp;gt;&amp;gt; and can resolve uidNumbers and group info fine.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Let me know if you need the whole trace file and I can send that also.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sure, I'd like to look at both trace files in full.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andy
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Summers
&lt;br&gt;Computer Science - University of Oklahoma
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Segmentation-Faults-for-Ldap-Accounts-tp16613514p16734118.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16734036</id>
	<title>Re: binddn vs rootbinddn</title>
	<published>2008-04-16T13:25:35Z</published>
	<updated>2008-04-16T13:25:35Z</updated>
	<author>
		<name>Andrew Morgan</name>
	</author>
	<content type="html">On Wed, 16 Apr 2008, Ashley Penney wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am having a problem with nss_ldap, and I'm hoping the list can shed some
&lt;br&gt;&amp;gt; light on this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I previously had rootbinddn set (rootbinddn
&lt;br&gt;&amp;gt; cn=Webtools,dc=law,dc=harvard,dc=edu) and this was working fine for checking
&lt;br&gt;&amp;gt; my attributes under uid=username, and for getting the gidNumber from my
&lt;br&gt;&amp;gt; group (which is a little bit more complicated due to not using groups!).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, when logging in it would assign me the gidNumber for isMemberOf:
&lt;br&gt;&amp;gt; cn=sftpuser,ou=roles, and that worked ok, but looking up 'getent group
&lt;br&gt;&amp;gt; sftpuser' would return nothing. &amp;nbsp;On advice from IRC, I set my binddn and put
&lt;br&gt;&amp;gt; my password right into the ldap.conf file and now the same search works fine
&lt;br&gt;&amp;gt; (finally).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I don't want my password right in plain view. &amp;nbsp;Is there a way I can
&lt;br&gt;&amp;gt; adjust things in nss_ldap or openldap to make it so I can just set
&lt;br&gt;&amp;gt; rootbinddn, and not binddn?
&lt;/div&gt;&lt;br&gt;Another alternative is to set your binddn and password in ldap.conf, make 
&lt;br&gt;ldap.conf only readable by root, and run nscd. &amp;nbsp;nscd will run as root and 
&lt;br&gt;can read the ldap.conf file, while processes will connect to nscd (via a 
&lt;br&gt;unix socket) for NSS lookups. &amp;nbsp;We use this method here to hide our bind 
&lt;br&gt;credentials yet still require an authenticated LDAP connection for 
&lt;br&gt;lookups.
&lt;br&gt;&lt;br&gt;&amp;nbsp;	Andy
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/binddn-vs-rootbinddn-tp16732103p16734036.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16732103</id>
	<title>binddn vs rootbinddn</title>
	<published>2008-04-16T11:49:23Z</published>
	<updated>2008-04-16T11:49:23Z</updated>
	<author>
		<name>Ashley Penney</name>
	</author>
	<content type="html">I am having a problem with nss_ldap, and I&amp;#39;m hoping the list can shed some light on this.&lt;br&gt;&lt;br&gt;I previously had rootbinddn set (rootbinddn cn=Webtools,dc=law,dc=harvard,dc=edu) and this was working fine for checking my attributes under uid=username, and for getting the gidNumber from my group (which is a little bit more complicated due to not using groups!).&lt;br&gt;
&lt;br&gt;So, when logging in it would assign me the gidNumber for isMemberOf: cn=sftpuser,ou=roles, and that worked ok, but looking up &amp;#39;getent group sftpuser&amp;#39; would return nothing.&amp;nbsp; On advice from IRC, I set my binddn and put my password right into the ldap.conf file and now the same search works fine (finally).&lt;br&gt;
&lt;br&gt;However, I don&amp;#39;t want my password right in plain view.&amp;nbsp; Is there a way I can adjust things in nss_ldap or openldap to make it so I can just set rootbinddn, and not binddn?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/binddn-vs-rootbinddn-tp16732103p16732103.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16729351</id>
	<title>RE: LDAP Auth</title>
	<published>2008-04-16T09:13:45Z</published>
	<updated>2008-04-16T09:13:45Z</updated>
	<author>
		<name>Branc0</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Thanks for the reply but in the meantime I got a response from the OpenLDAP mailing list that nailed the problem for me. For future googlers facing the same problem the problem what that LDAP was being able to answer queries based on cn attribute but not based on uid attribute due to a indexing problem. Stopping OpenLDAP, running slapindex and then starting OpenLDAP again made authentication work again.
&lt;br&gt;&lt;br&gt;For some strange reason &amp;quot;getent passwd&amp;quot; still gets the data, so it must retrieve that information in some other way. I confess I have no intention to look up code to find out :)
&lt;br&gt;&lt;br&gt;A simple way to know if this problem is affecting you is doing a manual search on ldap. In my case searching for &amp;quot;uid=myuser&amp;quot; returned no information while searching for &amp;quot;uid=myuser*&amp;quot; returned the correct information which was what made the problem clear for the OpenLDAP guys.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Nuno
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Andrew Morgan [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16729351&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;morgan@...&lt;/a&gt;]
&lt;br&gt;Sent: quarta-feira, 16 de Abril de 2008 17:07
&lt;br&gt;To: Nuno Manuel Martins
&lt;br&gt;Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16729351&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nssldap@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [nssldap] LDAP Auth
&lt;br&gt;&lt;br&gt;On Wed, 16 Apr 2008, Nuno Manuel Martins wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello list,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am having a very strange behaviour from my test with OpenLDAP authentication. I tried to follow the HOWTOs online but I encountered an undocumented problem :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; After configuring nssswitch.conf I tried what they asked and did a getent command which returns successfully:
&lt;br&gt;&amp;gt; getent passwd | grep myuser
&lt;br&gt;&amp;gt; myuser:x:10002:10001:myUser (LDAP):/home/ldap/john:/bin/bash
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This means that the system can get the proper data from the LDAP directory. However, even before I try authentication I have this problem:
&lt;br&gt;&amp;gt; su - myuser
&lt;br&gt;&amp;gt; su: user myuser does not exist
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So anyone knows where su is getting its information from and why it is different from the information on getent?
&lt;/div&gt;&lt;br&gt;It looks like you are starting out as root. &amp;nbsp;Perhaps your ldap.conf file
&lt;br&gt;is only readable by root?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Andy
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Auth-tp16721160p16729351.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16729304</id>
	<title>Re: LDAP Auth</title>
	<published>2008-04-16T09:07:25Z</published>
	<updated>2008-04-16T09:07:25Z</updated>
	<author>
		<name>Andrew Morgan</name>
	</author>
	<content type="html">On Wed, 16 Apr 2008, Nuno Manuel Martins wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello list,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am having a very strange behaviour from my test with OpenLDAP authentication. I tried to follow the HOWTOs online but I encountered an undocumented problem :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; After configuring nssswitch.conf I tried what they asked and did a getent command which returns successfully:
&lt;br&gt;&amp;gt; getent passwd | grep myuser
&lt;br&gt;&amp;gt; myuser:x:10002:10001:myUser (LDAP):/home/ldap/john:/bin/bash
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This means that the system can get the proper data from the LDAP directory. However, even before I try authentication I have this problem:
&lt;br&gt;&amp;gt; su - myuser
&lt;br&gt;&amp;gt; su: user myuser does not exist
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So anyone knows where su is getting its information from and why it is different from the information on getent?
&lt;/div&gt;&lt;br&gt;It looks like you are starting out as root. &amp;nbsp;Perhaps your ldap.conf file 
&lt;br&gt;is only readable by root?
&lt;br&gt;&lt;br&gt;&amp;nbsp;	Andy
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Auth-tp16721160p16729304.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16721160</id>
	<title>LDAP Auth</title>
	<published>2008-04-16T02:55:37Z</published>
	<updated>2008-04-16T02:55:37Z</updated>
	<author>
		<name>Branc0</name>
	</author>
	<content type="html">Hello list,
&lt;br&gt;&lt;br&gt;I am having a very strange behaviour from my test with OpenLDAP authentication. I tried to follow the HOWTOs online but I encountered an undocumented problem :)
&lt;br&gt;&lt;br&gt;After configuring nssswitch.conf I tried what they asked and did a getent command which returns successfully:
&lt;br&gt;getent passwd | grep myuser
&lt;br&gt;myuser:x:10002:10001:myUser (LDAP):/home/ldap/john:/bin/bash
&lt;br&gt;&lt;br&gt;This means that the system can get the proper data from the LDAP directory. However, even before I try authentication I have this problem:
&lt;br&gt;su - myuser
&lt;br&gt;su: user myuser does not exist
&lt;br&gt;&lt;br&gt;So anyone knows where su is getting its information from and why it is different from the information on getent?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Nuno
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/NSS-LDAP-f14177.html&quot; embed=&quot;fixTarget[14177]&quot; target=&quot;_top&quot; &gt;NSS LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Auth-tp16721160p16721160.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16717283</id>
	<title>Re: How to make it unsuccessful authentication ??</title>
	<published>2008-04-15T22:19:03Z</published>
	<updated>2008-04-15T22:19:03Z</updated>
	<author>
		<name>Jyotishmaan</name>
	</author>
	<content type="html">Hello Prakash,
&lt;br&gt;&lt;br&gt;That is fine. Thanks, it serves the purpose. But the thing is that-once i add this attribue to a uid and set its value say 0 (anyinteger) it disables the account and the user gets the message ofexpiry of his password. 
&lt;br&gt;&lt;br&gt;But then if there is any way again to enable the same account by deleting this attribute etc.
&lt;br&gt;&lt;br&gt;I am trying since yesterday night.
&lt;br&gt;&lt;br&gt;Please give some pointers!!!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks, &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks, 
&lt;br&gt;Jyotishmaan Ray 
&lt;br&gt;Moderator Of Paradise Groups 
&lt;br&gt;&lt;a href=&quot;http://yahoogroups.com/group/Spirituality-Paradise&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yahoogroups.com/group/Spirituality-Paradise&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;Are You Spiritually Aware &amp;nbsp;!!! Are You Enjoying Yourself &amp;nbsp;!!! &amp;nbsp;See What All You Had Been Missing !!!!
&lt;br&gt;Please Join Immediately By Sending A Blank Mail @ &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16717283&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Spirituality-Paradise-subscribe@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Prakash Velayutham &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16717283&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;prakash.velayutham@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Andrew Morgan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16717283&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;morgan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16717283&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pamldap@...&lt;/a&gt;
&lt;br&gt;Sent: Monday, April 14, 2008 10:22:19 PM
&lt;br&gt;Subject: Re: [pamldap] How to make it unsuccessful authentication ??
&lt;br&gt;&lt;br&gt;If you use the shadowAccount ObjectClass, I think you can use the &amp;nbsp;
&lt;br&gt;attribute shadowExpire to control this in OpenLDAP.
&lt;br&gt;&lt;br&gt;Prakash
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ____________________________________________________________________________________
&lt;br&gt;Be a better friend, newshound, and 
&lt;br&gt;know-it-all with Yahoo! Mobile. &amp;nbsp;Try it now. &amp;nbsp;&lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/PAM-LDAP-f14178.html&quot; embed=&quot;fixTarget[14178]&quot; target=&quot;_top&quot; &gt;PAM LDAP&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-make-it-unsuccessful-authentication----tp16605307p16717283.html" />
</entry>

</feed>
