<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-14177</id>
	<title>Nabble - NSS LDAP</title>
	<updated>2008-07-04T05:45:09Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/NSS-LDAP-f14177.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/NSS-LDAP-f14177.html" />
	<subtitle type="html">Discussion amongst users of nss_ldap.</subtitle>
	
<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;</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;</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;</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-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;</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;</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;</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.</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;</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;</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;</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;</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;</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;</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;</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;</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;</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-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;</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;</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;</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-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;</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;</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;
</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;</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;</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;</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-16703621</id>
	<title>OpenLDAP and backlink support.</title>
	<published>2008-04-15T11:22:50Z</published>
	<updated>2008-04-15T11:22:50Z</updated>
	<author>
		<name>Ashley Penney</name>
	</author>
	<content type="html">I didn't get a reply to my last message, but I've done a lot of work on my problem since and I have a more specific question. &amp;nbsp;Does OpenLDAP (any version of) support the backlink functionality? &amp;nbsp;I am trying to use isMemberOf under my uid=apenney,ou=people to determine groups.
&lt;br&gt;&lt;br&gt;If I do &amp;quot;getent group sftpusers&amp;quot; from the command line it finds it, but if I log in it runs this:
&lt;br&gt;&lt;br&gt;SRCHbase=&amp;quot;ou=Roles,dc=law,dc=harvard,dc=edu&amp;quot; scope=2deref=3filter=&amp;quot;(|distinguishedName=cn=sftpuser:member,ou=roles,dc=law,dc=harvard,dc=edu)(distinguishedName=cn=sftpuser,ou=roles,dc=law,dc=harvard,dc=edu))&amp;quot;
&lt;br&gt;&lt;br&gt;This then fails, and someone who tested this for me said it seemed to work under a non-openldap server, but not on openldap. &amp;nbsp;If anyone else has set up a similar feature (using roles under people to determine groups, rather than listing people under a group), let me know if it works for you.
&lt;br&gt;&lt;br&gt;As it stands I conclude openldap cannot support this kind of search.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/OpenLDAP-and-backlink-support.-tp16703621p16703621.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16698334</id>
	<title>Re: Nested groups</title>
	<published>2008-04-15T01:34:00Z</published>
	<updated>2008-04-15T01:34:00Z</updated>
	<author>
		<name>Luke Howard</name>
	</author>
	<content type="html">nss_ldap supports nested groups simply by having a group member being &amp;nbsp;
&lt;br&gt;a group itself. The group member must be a DN, so the uniqueMember or &amp;nbsp;
&lt;br&gt;member attribute would typically used (not memberUid).
&lt;br&gt;&lt;br&gt;This isn't actually specified in RFC 2307.
&lt;br&gt;&lt;br&gt;You also need to have rfc2307bis support enabled in nss_ldap, by &amp;nbsp;
&lt;br&gt;putting nss_schema rfc2307bis in ldap.conf.
&lt;br&gt;&lt;br&gt;-- Luke
&lt;br&gt;&lt;br&gt;On 15/04/2008, at 4:44 PM, Andreas Moroder wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I already posted a question about groups in &amp;nbsp;groups.
&lt;br&gt;&amp;gt; Now I studied the code in grp.c, but I must admit I did non &amp;nbsp;
&lt;br&gt;&amp;gt; understand how it works. From the comments I understand that it &amp;nbsp;
&lt;br&gt;&amp;gt; should be possible to create nested groups but I don't understand &amp;nbsp;
&lt;br&gt;&amp;gt; how to do this in opendalp an what the result of nested groups is.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I am seraching for is a way to have groups that have groups as &amp;nbsp;
&lt;br&gt;&amp;gt; member and their members ( with memberUID ) should also be seen as &amp;nbsp;
&lt;br&gt;&amp;gt; member of the upper group in linux.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can anyone please help me or tell me where I can find good &amp;nbsp;
&lt;br&gt;&amp;gt; documentation &amp;nbsp;( please not the RFC )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From what version on does nss_ldap support nested groups ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;www.padl.com | www.fghr.net
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nested-groups-tp16697081p16698334.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16697081</id>
	<title>Nested groups</title>
	<published>2008-04-14T23:44:41Z</published>
	<updated>2008-04-14T23:44:41Z</updated>
	<author>
		<name>Andreas Moroder</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I already posted a question about groups in &amp;nbsp;groups.
&lt;br&gt;Now I studied the code in grp.c, but I must admit I did non understand 
&lt;br&gt;how it works. From the comments I understand that it should be possible 
&lt;br&gt;to create nested groups but I don't understand how to do this in 
&lt;br&gt;opendalp an what the result of nested groups is.
&lt;br&gt;&lt;br&gt;What I am seraching for is a way to have groups that have groups as 
&lt;br&gt;member and their members ( with memberUID ) should also be seen as 
&lt;br&gt;member of the upper group in linux.
&lt;br&gt;&lt;br&gt;Can anyone please help me or tell me where I can find good documentation 
&lt;br&gt;&amp;nbsp; ( please not the RFC )
&lt;br&gt;&lt;br&gt;&amp;nbsp;From what version on does nss_ldap support nested groups ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nested-groups-tp16697081p16697081.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16692356</id>
	<title>Re: Segmentation Faults for Ldap Accounts</title>
	<published>2008-04-14T15:53:19Z</published>
	<updated>2008-04-14T15:53:19Z</updated>
	<author>
		<name>Andrew Morgan</name>
	</author>
	<content type="html">On Mon, 14 Apr 2008, Jim Summers wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I agree with you it still is appearing to be something with TLS/ssl. &amp;nbsp;It is 
&lt;br&gt;&amp;gt; just confusing me that the operating system itself authenticates and can 
&lt;br&gt;&amp;gt; resolve uidNumbers and group info fine.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Let me know if you need the whole trace file and I can send that also.
&lt;br&gt;&lt;br&gt;Sure, I'd like to look at both trace files in full.
&lt;br&gt;&lt;br&gt;&amp;nbsp;	Andy
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Segmentation-Faults-for-Ldap-Accounts-tp16613514p16692356.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16681049</id>
	<title>Problem with whitespace striping</title>
	<published>2008-04-14T10:39:31Z</published>
	<updated>2008-04-14T10:39:31Z</updated>
	<author>
		<name>Ashley Penney</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a problem with getting groups working via nss_ldap, and I'll try to explain below. &amp;nbsp;Due to a pre-existing LDAP setup I have to work within some confines, we have ou=People and ou=Roles, and under Roles we have cn=SFTP User,ou=Roles.
&lt;br&gt;&lt;br&gt;In cn=SFTP User I added objectclass: posixGroup, and under my uid=apenney,ou=People I have isMemberOf: cn=SFTP User,ou=Roles,dc=law,dc=harvard,dc=edu.
&lt;br&gt;&lt;br&gt;I hope that made sense! &amp;nbsp;I then set up ldap.conf to have backlinks, rfcXXXbis (I can never remember the number), mapped nss_base_group to ou=Roles and remapped MemberOf to isMemberOf.
&lt;br&gt;&lt;br&gt;When I log in I can see it doing all sorts of lookups, but I notice it looks up cn=sftpuser, all lower case and without spaces. &amp;nbsp;If I add quotes in my isMemberOf under uid=apenney, it looks up cn='sftpuser', but still deletes the space. I think this is causing me endless problems. &amp;nbsp;Is there a way to make it not stripe whitespace?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-with-whitespace-striping-tp16681049p16681049.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16684622</id>
	<title>Re: Change ldap return Value</title>
	<published>2008-04-14T09:29:51Z</published>
	<updated>2008-04-14T09:29:51Z</updated>
	<author>
		<name>Geerd-Dietger Hoffmann</name>
	</author>
	<content type="html">Hey
&lt;br&gt;&lt;br&gt;I just found the nss_override_attribute_value what does exactly what I 
&lt;br&gt;want. Sorry to bother you.
&lt;br&gt;&lt;br&gt;Cheers Didi
&lt;br&gt;&lt;br&gt;Geerd-Dietger Hoffmann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hey
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am currently in the progress of converting all our Users and machines 
&lt;br&gt;&amp;gt; to an Ldap based approach. This works fine for nearly all the machines. 
&lt;br&gt;&amp;gt; But for some special cases I can't find a solution.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One Example :
&lt;br&gt;&amp;gt; On the CVS servers we want all the users to have a 'special' shell. 
&lt;br&gt;&amp;gt; While in the Ldap directory every user can choose what shell he wants on 
&lt;br&gt;&amp;gt; the CVS server the shell should be changed to /bin/sshell (Cern 
&lt;br&gt;&amp;gt; internal) for ALL users where the data is in the ldap directory.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So the user entry should hold :
&lt;br&gt;&amp;gt; ldapsearch -x &amp;nbsp;-D &amp;quot;linuxldap&amp;quot; -w &amp;quot;xxxx&amp;quot; &amp;nbsp;&amp;quot;(cn=me)&amp;quot; &amp;nbsp;| grep login
&lt;br&gt;&amp;gt; loginShell: /bin/bash
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but if you are on the CVS server
&lt;br&gt;&amp;gt; finger me | grep Shell
&lt;br&gt;&amp;gt; Shell: /bin/sshell
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Has someone got an idea how this could be done?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you very much in advance.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers Didi
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; www.cern.ch/ribalba &amp;nbsp;/ &amp;nbsp;www.ribalba.de
&lt;br&gt;&amp;gt; Email / Jabber: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16684622&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Geerd-Dietger.Hoffmann@...&lt;/a&gt; / &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16684622&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ribalba@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Phone (Work) : +41 22 7679376
&lt;br&gt;&amp;gt; Skype : ribalba
&lt;br&gt;&amp;gt; Address : CERN / IT-FIO-FS / GENEVE 23/ SCHWEIZ
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers Didi
&lt;br&gt;&lt;br&gt;&lt;br&gt;----
&lt;br&gt;www.cern.ch/ribalba &amp;nbsp;/ &amp;nbsp;www.ribalba.de
&lt;br&gt;Email / Jabber: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16684622&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Geerd-Dietger.Hoffmann@...&lt;/a&gt; / &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16684622&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ribalba@...&lt;/a&gt;
&lt;br&gt;Phone (Work) : +41 22 7679376
&lt;br&gt;Skype : ribalba
&lt;br&gt;Address : CERN / IT-FIO-FS / GENEVE 23/ SCHWEIZ
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Change-ldap-return-Value-tp16684042p16684622.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16684042</id>
	<title>Change ldap return Value</title>
	<published>2008-04-14T08:58:16Z</published>
	<updated>2008-04-14T08:58:16Z</updated>
	<author>
		<name>Geerd-Dietger Hoffmann</name>
	</author>
	<content type="html">Hey
&lt;br&gt;&lt;br&gt;I am currently in the progress of converting all our Users and machines 
&lt;br&gt;to an Ldap based approach. This works fine for nearly all the machines. 
&lt;br&gt;But for some special cases I can't find a solution.
&lt;br&gt;&lt;br&gt;One Example :
&lt;br&gt;On the CVS servers we want all the users to have a 'special' shell. 
&lt;br&gt;While in the Ldap directory every user can choose what shell he wants on 
&lt;br&gt;the CVS server the shell should be changed to /bin/sshell (Cern 
&lt;br&gt;internal) for ALL users where the data is in the ldap directory.
&lt;br&gt;&lt;br&gt;So the user entry should hold :
&lt;br&gt;ldapsearch -x &amp;nbsp;-D &amp;quot;linuxldap&amp;quot; -w &amp;quot;xxxx&amp;quot; &amp;nbsp;&amp;quot;(cn=me)&amp;quot; &amp;nbsp;| grep login
&lt;br&gt;loginShell: /bin/bash
&lt;br&gt;&lt;br&gt;but if you are on the CVS server
&lt;br&gt;finger me | grep Shell
&lt;br&gt;Shell: /bin/sshell
&lt;br&gt;&lt;br&gt;Has someone got an idea how this could be done?
&lt;br&gt;&lt;br&gt;Thank you very much in advance.
&lt;br&gt;&lt;br&gt;Cheers Didi
&lt;br&gt;&lt;br&gt;&lt;br&gt;----
&lt;br&gt;www.cern.ch/ribalba &amp;nbsp;/ &amp;nbsp;www.ribalba.de
&lt;br&gt;Email / Jabber: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16684042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Geerd-Dietger.Hoffmann@...&lt;/a&gt; / &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=16684042&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ribalba@...&lt;/a&gt;
&lt;br&gt;Phone (Work) : +41 22 7679376
&lt;br&gt;Skype : ribalba
&lt;br&gt;Address : CERN / IT-FIO-FS / GENEVE 23/ SCHWEIZ
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Change-ldap-return-Value-tp16684042p16684042.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16683207</id>
	<title>Re: Segmentation Faults for Ldap Accounts</title>
	<published>2008-04-14T08:01:37Z</published>
	<updated>2008-04-14T08:01:37Z</updated>
	<author>
		<name>Jim Summers</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Andrew Morgan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 11 Apr 2008, Jim Summers wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What about turning off SSL in nss-ldap temporarily? &amp;nbsp;That could 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; narrow the problem down. &amp;nbsp;Also, you could run strace on pjm and see 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; which system call actually segfaults it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I turned off ssl and the pjm program worked. &amp;nbsp;Turned it back on and 
&lt;br&gt;&amp;gt;&amp;gt; the pjm segfaults.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here is my ldap.conf, which is also the same as the one on the FC5 and 
&lt;br&gt;&amp;gt;&amp;gt; FC6 clients:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; uri ldaps://server1 ldaps://server2
&lt;br&gt;&amp;gt;&amp;gt; base dc=ou,dc=edu
&lt;br&gt;&amp;gt;&amp;gt; binddn cn=bind0,ou=profile,dc=ou,dc=edu
&lt;br&gt;&amp;gt;&amp;gt; bindpw ++++++++
&lt;br&gt;&amp;gt;&amp;gt; port 636
&lt;br&gt;&amp;gt;&amp;gt; #port 389
&lt;br&gt;&amp;gt;&amp;gt; #idle_timelimit 3600
&lt;br&gt;&amp;gt;&amp;gt; ssl on
&lt;br&gt;&amp;gt;&amp;gt; tls_checkpeer no
&lt;br&gt;&amp;gt;&amp;gt; pam_password crypt
&lt;br&gt;&amp;gt;&amp;gt; pam_lookup_policy yes
&lt;br&gt;&amp;gt;&amp;gt; #debug 1
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am not sure what to look for in my ssl/tls setup. &amp;nbsp;The whole thing 
&lt;br&gt;&amp;gt;&amp;gt; is running off of self-signed certificates.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you run your pjm program under strace? &amp;nbsp;Something like:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; strace -ff -o /tmp/trace pjm &amp;lt;args&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I can help look at the trace files, if you don't know what to look for.
&lt;/div&gt;&lt;br&gt;Here is a snip from an strace of the fedora 8 machine where pjm fails:
&lt;br&gt;===
&lt;br&gt;fcntl64(4, F_GETFL) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x802 (flags O_RDWR|O_NONBLOCK)
&lt;br&gt;fcntl64(4, F_SETFL, O_RDWR) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;open(&amp;quot;/usr/share/locale/locale.alias&amp;quot;, O_RDONLY) = 5
&lt;br&gt;fstat64(5, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
&lt;br&gt;mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
&lt;br&gt;0x111000
&lt;br&gt;read(5, &amp;quot;# Locale name alias data base.\n#&amp;quot;..., 4096) = 2528
&lt;br&gt;read(5, &amp;quot;&amp;quot;, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;close(5) &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;= 0
&lt;br&gt;munmap(0x111000, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;open(&amp;quot;/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 
&lt;br&gt;ENOENT (No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT 
&lt;br&gt;(No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en_US/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT (No 
&lt;br&gt;such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT 
&lt;br&gt;(No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT 
&lt;br&gt;(No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT (No 
&lt;br&gt;such file or directory)
&lt;br&gt;--- SIGSEGV (Segmentation fault) @ 0 (0) ---
&lt;br&gt;+++ killed by SIGSEGV +++
&lt;br&gt;===
&lt;br&gt;&lt;br&gt;and then from the FC6 where pjm works:
&lt;br&gt;===
&lt;br&gt;fcntl64(4, F_GETFL) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x802 (flags O_RDWR|O_NONBLOCK)
&lt;br&gt;fcntl64(4, F_SETFL, O_RDWR) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;open(&amp;quot;/usr/share/locale/locale.alias&amp;quot;, O_RDONLY) = 5
&lt;br&gt;fstat64(5, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
&lt;br&gt;mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
&lt;br&gt;0x251000
&lt;br&gt;read(5, &amp;quot;# Locale name alias data base.\n#&amp;quot;..., 4096) = 2528
&lt;br&gt;read(5, &amp;quot;&amp;quot;, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;close(5) &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;= 0
&lt;br&gt;munmap(0x251000, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;open(&amp;quot;/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 
&lt;br&gt;ENOENT (No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT 
&lt;br&gt;(No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en_US/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT (No 
&lt;br&gt;such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT 
&lt;br&gt;(No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT 
&lt;br&gt;(No such file or directory)
&lt;br&gt;open(&amp;quot;/usr/share/locale/en/LC_MESSAGES/libc.mo&amp;quot;, O_RDONLY) = -1 ENOENT (No 
&lt;br&gt;such file or directory)
&lt;br&gt;brk(0x9cd2000) &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;= 0x9cd2000
&lt;br&gt;time(NULL) &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;= 1207971400
&lt;br&gt;write(2, &amp;quot;TLS trace: SSL_connect:before/co&amp;quot;..., 53) = 53
&lt;br&gt;time(NULL) &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;= 1207971400
&lt;br&gt;open(&amp;quot;/dev/urandom&amp;quot;, O_RDONLY|O_NOCTTY|O_NONBLOCK) = 5
&lt;br&gt;fstat64(5, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
&lt;br&gt;===
&lt;br&gt;&lt;br&gt;I agree with you it still is appearing to be something with TLS/ssl. &amp;nbsp;It is 
&lt;br&gt;just confusing me that the operating system itself authenticates and can 
&lt;br&gt;resolve uidNumbers and group info fine.
&lt;br&gt;&lt;br&gt;Let me know if you need the whole trace file and I can send that also.
&lt;br&gt;&lt;br&gt;Ideas / Suggestions?
&lt;br&gt;&lt;br&gt;Thanks again
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Summers
&lt;br&gt;School of Computer Science-University of Oklahoma
&lt;br&gt;-------------------------------------------------
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Segmentation-Faults-for-Ldap-Accounts-tp16613514p16683207.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16643288</id>
	<title>Re: Segmentation Faults for Ldap Accounts</title>
	<published>2008-04-11T15:17:43Z</published>
	<updated>2008-04-11T15:17:43Z</updated>
	<author>
		<name>Andrew Morgan</name>
	</author>
	<content type="html">On Fri, 11 Apr 2008, Jim Summers wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; What about turning off SSL in nss-ldap temporarily? &amp;nbsp;That could narrow the 
&lt;br&gt;&amp;gt;&amp;gt; problem down. &amp;nbsp;Also, you could run strace on pjm and see which system call 
&lt;br&gt;&amp;gt;&amp;gt; actually segfaults it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I turned off ssl and the pjm program worked. &amp;nbsp;Turned it back on and the pjm 
&lt;br&gt;&amp;gt; segfaults.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is my ldap.conf, which is also the same as the one on the FC5 and FC6 
&lt;br&gt;&amp;gt; clients:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; uri ldaps://server1 ldaps://server2
&lt;br&gt;&amp;gt; base dc=ou,dc=edu
&lt;br&gt;&amp;gt; binddn cn=bind0,ou=profile,dc=ou,dc=edu
&lt;br&gt;&amp;gt; bindpw ++++++++
&lt;br&gt;&amp;gt; port 636
&lt;br&gt;&amp;gt; #port 389
&lt;br&gt;&amp;gt; #idle_timelimit 3600
&lt;br&gt;&amp;gt; ssl on
&lt;br&gt;&amp;gt; tls_checkpeer no
&lt;br&gt;&amp;gt; pam_password crypt
&lt;br&gt;&amp;gt; pam_lookup_policy yes
&lt;br&gt;&amp;gt; #debug 1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am not sure what to look for in my ssl/tls setup. &amp;nbsp;The whole thing is 
&lt;br&gt;&amp;gt; running off of self-signed certificates.
&lt;/div&gt;&lt;br&gt;Can you run your pjm program under strace? &amp;nbsp;Something like:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;strace -ff -o /tmp/trace pjm &amp;lt;args&amp;gt;
&lt;br&gt;&lt;br&gt;I can help look at the trace files, if you don't know what to look for.
&lt;br&gt;&lt;br&gt;&amp;nbsp;	Andy
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Segmentation-Faults-for-Ldap-Accounts-tp16613514p16643288.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16642088</id>
	<title>Re: Segmentation Faults for Ldap Accounts</title>
	<published>2008-04-11T13:48:20Z</published>
	<updated>2008-04-11T13:48:20Z</updated>
	<author>
		<name>Jim Summers</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Andrew Morgan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 11 Apr 2008, Jim Summers wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Here is the output from ldd on the pjm ( brightq ) binary:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ldd pjm
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;linux-gate.so.1 =&amp;gt; &amp;nbsp;(0x00110000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libutil.so.1 =&amp;gt; /lib/libutil.so.1 (0x004be000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libnsl.so.1 =&amp;gt; /lib/libnsl.so.1 (0x00a92000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libresolv.so.2 =&amp;gt; /lib/libresolv.so.2 (0x00320000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x00c90000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libXi.so.6 =&amp;gt; /usr/lib/libXi.so.6 (0x00235000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libXext.so.6 =&amp;gt; /usr/lib/libXext.so.6 (0x00136000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libX11.so.6 =&amp;gt; /usr/lib/libX11.so.6 (0x00cd8000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libm.so.6 =&amp;gt; /lib/libm.so.6 (0x00c65000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libc.so.6 =&amp;gt; /lib/libc.so.6 (0x00b0a000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/lib/ld-linux.so.2 (0x00aeb000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libXau.so.6 =&amp;gt; /usr/lib/libXau.so.6 (0x00cd3000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libxcb-xlib.so.0 =&amp;gt; /usr/lib/libxcb-xlib.so.0 (0x00ccf000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libxcb.so.1 =&amp;gt; /usr/lib/libxcb.so.1 (0x00dd6000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libXdmcp.so.6 =&amp;gt; /usr/lib/libXdmcp.so.6 (0x00cc7000)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and from nss_ldap.so:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ldd libnss_ldap.so
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;linux-gate.so.1 =&amp;gt; &amp;nbsp;(0x00110000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libsasl2.so.2 =&amp;gt; /usr/lib/libsasl2.so.2 (0x00167000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libgssapi_krb5.so.2 =&amp;gt; /usr/lib/libgssapi_krb5.so.2 (0x00180000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libssl.so.6 =&amp;gt; /lib/libssl.so.6 (0x001ae000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x001f3000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libnsl.so.1 =&amp;gt; /lib/libnsl.so.1 (0x001f8000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libresolv.so.2 =&amp;gt; /lib/libresolv.so.2 (0x00211000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libc.so.6 =&amp;gt; /lib/libc.so.6 (0x00225000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libcrypt.so.1 =&amp;gt; /lib/libcrypt.so.1 (0x0037e000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libkrb5.so.3 =&amp;gt; /usr/lib/libkrb5.so.3 (0x003b0000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libk5crypto.so.3 =&amp;gt; /usr/lib/libk5crypto.so.3 (0x00443000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libcom_err.so.2 =&amp;gt; /lib/libcom_err.so.2 (0x00469000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libkrb5support.so.0 =&amp;gt; /usr/lib/libkrb5support.so.0 (0x0046c000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libkeyutils.so.1 =&amp;gt; /lib/libkeyutils.so.1 (0x00475000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libcrypto.so.6 =&amp;gt; /lib/libcrypto.so.6 (0x00478000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libz.so.1 =&amp;gt; /lib/libz.so.1 (0x005ab000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/lib/ld-linux.so.2 (0x00aeb000)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libselinux.so.1 =&amp;gt; /lib/libselinux.so.1 (0x005be000)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Could it be that since pjm does not have any of the crypt, sasl, ssl 
&lt;br&gt;&amp;gt;&amp;gt; stuff compiled in, that it is getting something that is encrypted and 
&lt;br&gt;&amp;gt;&amp;gt; can not handle it correctly? &amp;nbsp;If so, how would this be remedied?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Those look fine to me, unless pjm is dynamicly loading an SSL library.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I think I am going to look and see if there are compat packages that 
&lt;br&gt;&amp;gt;&amp;gt; may be missing.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Ideas / Suggestions?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What about turning off SSL in nss-ldap temporarily? &amp;nbsp;That could narrow 
&lt;br&gt;&amp;gt; the problem down. &amp;nbsp;Also, you could run strace on pjm and see which 
&lt;br&gt;&amp;gt; system call actually segfaults it.
&lt;/div&gt;&lt;br&gt;I turned off ssl and the pjm program worked. &amp;nbsp;Turned it back on and the 
&lt;br&gt;pjm segfaults.
&lt;br&gt;&lt;br&gt;Here is my ldap.conf, which is also the same as the one on the FC5 and 
&lt;br&gt;FC6 clients:
&lt;br&gt;&lt;br&gt;uri ldaps://server1 ldaps://server2
&lt;br&gt;base dc=ou,dc=edu
&lt;br&gt;binddn cn=bind0,ou=profile,dc=ou,dc=edu
&lt;br&gt;bindpw ++++++++
&lt;br&gt;port 636
&lt;br&gt;#port 389
&lt;br&gt;#idle_timelimit 3600
&lt;br&gt;ssl on
&lt;br&gt;tls_checkpeer no
&lt;br&gt;pam_password crypt
&lt;br&gt;pam_lookup_policy yes
&lt;br&gt;#debug 1
&lt;br&gt;&lt;br&gt;I am not sure what to look for in my ssl/tls setup. &amp;nbsp;The whole thing is 
&lt;br&gt;running off of self-signed certificates.
&lt;br&gt;&lt;br&gt;Thanks again!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Summers
&lt;br&gt;Computer Science - University of Oklahoma
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Segmentation-Faults-for-Ldap-Accounts-tp16613514p16642088.html" />
</entry>

</feed>
