<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-14176</id>
	<title>Nabble - LDAP NIS</title>
	<updated>2007-12-17T17:49:20Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/LDAP-NIS-f14176.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-NIS-f14176.html" />
	<subtitle type="html">General discussion about software which supports RFC 2307.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-14389766</id>
	<title>Re: ldap_sasl_interactive_bind_s: Invalid credentials</title>
	<published>2007-12-17T17:49:20Z</published>
	<updated>2007-12-17T17:49:20Z</updated>
	<author>
		<name>Helmut Wirth</name>
	</author>
	<content type="html">BJP schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have a NIS server that authenticates its users against a central LDAP
&lt;br&gt;&amp;gt; server. To verify that it uses DIGEST-MD5 authentication, I ran the
&lt;br&gt;&amp;gt; following command:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt; $ ldapsearch -Y DIGEST-MD5 -h ids.mot.com -b
&lt;br&gt;&amp;gt; ou=people,ou=intranet,dc=motorola,dc=com -D
&lt;br&gt;&amp;gt; motguid=XJC864,ou=people,ou=intranet,dc=motorola,dc=com -W -v motguid=XJC864
&lt;br&gt;&amp;gt; ldap_init( ids.mot.com, 0 )
&lt;br&gt;&amp;gt; Enter LDAP Password:
&lt;br&gt;&amp;gt; SASL/DIGEST-MD5 authentication started
&lt;br&gt;&amp;gt; ldap_sasl_interactive_bind_s: Invalid credentials
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; additional info: SASL(-1): generic failure: unable canonify user and
&lt;br&gt;&amp;gt; get auxprops
&lt;br&gt;&amp;gt; $
&lt;br&gt;&amp;gt; [snap]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As you can see, it starts MD5 authentication but get this error (even though
&lt;br&gt;&amp;gt; I enter the correct password). &amp;nbsp;Has anyone encountered and fixed such an
&lt;br&gt;&amp;gt; error? Does anyone know how to troubleshoot this error? Any assistance would
&lt;br&gt;&amp;gt; be appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you,
&lt;br&gt;&amp;gt; BJP
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;add the '-x' switch to above ldapsearch command, this will force it to 
&lt;br&gt;use simple auth instead of SASL.
&lt;br&gt;&lt;br&gt;Hope that helps,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Helmut
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ldap_sasl_interactive_bind_s%3A-Invalid-credentials-tp14373969p14389766.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-14373969</id>
	<title>ldap_sasl_interactive_bind_s: Invalid credentials</title>
	<published>2007-12-17T10:23:53Z</published>
	<updated>2007-12-17T10:23:53Z</updated>
	<author>
		<name>BJP</name>
	</author>
	<content type="html">I have a NIS server that authenticates its users against a central LDAP server. To verify that it uses DIGEST-MD5 authentication, I ran the following command:
&lt;br&gt;&lt;br&gt;[snip]
&lt;br&gt;$ ldapsearch -Y DIGEST-MD5 -h ids.mot.com -b ou=people,ou=intranet,dc=motorola,dc=com -D motguid=XJC864,ou=people,ou=intranet,dc=motorola,dc=com -W -v motguid=XJC864
&lt;br&gt;ldap_init( ids.mot.com, 0 )
&lt;br&gt;Enter LDAP Password:
&lt;br&gt;SASL/DIGEST-MD5 authentication started
&lt;br&gt;ldap_sasl_interactive_bind_s: Invalid credentials
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; additional info: SASL(-1): generic failure: unable canonify user and get auxprops
&lt;br&gt;$
&lt;br&gt;[snap]
&lt;br&gt;&lt;br&gt;As you can see, it starts MD5 authentication but get this error (even though I enter the correct password). &amp;nbsp;Has anyone encountered and fixed such an error? Does anyone know how to troubleshoot this error? Any assistance would be appreciated.
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;BJP
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ldap_sasl_interactive_bind_s%3A-Invalid-credentials-tp14373969p14373969.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13193876</id>
	<title>Re: Scalability problem</title>
	<published>2007-10-13T14:51:46Z</published>
	<updated>2007-10-13T14:51:46Z</updated>
	<author>
		<name>Adam Tauno Williams</name>
	</author>
	<content type="html">Wow, I didn't even know this list was still around.
&lt;br&gt;&lt;br&gt;&amp;gt; I am using pam ldap module to interface to a directory service
&lt;br&gt;&amp;gt; containing identity information. My directory contains an very big
&lt;br&gt;&amp;gt; number of groups, in the order of some thousands. Sniffing the network
&lt;br&gt;&amp;gt; i see that a lot of gloabal searches ( reqeusts for all the groups in
&lt;br&gt;&amp;gt; the directory ) are sent toward the directory. This causes a lot of
&lt;br&gt;&lt;br&gt;Yes, this is the braindead manner in which NSS enumerates groups; &amp;nbsp;it is
&lt;br&gt;really horrible but it is also the long standing behavior of libc/glibc.
&lt;br&gt;So in UNIX-land we are stuck with it.
&lt;br&gt;&lt;br&gt;&amp;gt; network traffic and poses some awkard scalability problems. Is there
&lt;br&gt;&amp;gt; any way to avoid this kind of queries, or is there any way to solve
&lt;br&gt;&amp;gt; this scalability problem???
&lt;br&gt;&lt;br&gt;To ameliorate this issue you can (a) use access control to limit what
&lt;br&gt;groups a host sees, removing groups not relevant to a host, (b) use a
&lt;br&gt;local partial replicant [easy with sync-repl] to maintain a copy of the
&lt;br&gt;groups branch of the Dit, (c) use an alternative to nss_ldapd such as
&lt;br&gt;nss-ldapd [&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;] possibly in
&lt;br&gt;conjunction with nss_updatedb
&lt;br&gt;[&lt;a href=&quot;http://www.padl.com/OSS/nss_updatedb.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.padl.com/OSS/nss_updatedb.html&lt;/a&gt;]
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Scalability-problem-tp13175893p13193876.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13175893</id>
	<title>Scalability problem</title>
	<published>2007-10-12T06:51:23Z</published>
	<updated>2007-10-12T06:51:23Z</updated>
	<author>
		<name>luca regini</name>
	</author>
	<content type="html">I am using pam ldap module to interface to a directory service
&lt;br&gt;containing identity information. My directory contains an very big
&lt;br&gt;number of groups, in the order of some thousands. Sniffing the network
&lt;br&gt;i see that a lot of gloabal searches ( reqeusts for all the groups in
&lt;br&gt;the directory ) are sent toward the directory. This causes a lot of
&lt;br&gt;network traffic and poses some awkard scalability problems. Is there
&lt;br&gt;any way to avoid this kind of queries, or is there any way to solve
&lt;br&gt;this scalability problem???
&lt;br&gt;Thanks in advance,
&lt;br&gt;Luca Regini.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Scalability-problem-tp13175893p13175893.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10031595</id>
	<title>chsh</title>
	<published>2007-04-17T01:02:16Z</published>
	<updated>2007-04-17T01:02:16Z</updated>
	<author>
		<name>FUJII Kojiro</name>
	</author>
	<content type="html">Can the user change the loginShell on openldap by oneself?
&lt;br&gt;I want to know if there is a method. 
&lt;br&gt;&lt;br&gt;I did not succeed though I tested the script &amp;quot;chsh&amp;quot; that existed in
&lt;br&gt;pam_ldap. 
&lt;br&gt;&lt;br&gt;% pam_ldap-182/chsh
&lt;br&gt;Password:
&lt;br&gt;Enter the new value, or press return for the default
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Login Shell [/bin/tcsh]: /bin/csh
&lt;br&gt;failed: modifications require authentication
&lt;br&gt;&lt;br&gt;&lt;br&gt;my slapd.conf 
&lt;br&gt;----
&lt;br&gt;...
&lt;br&gt;access to attrs=userPassword
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by self write
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by users read
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by anonymous auth
&lt;br&gt;&lt;br&gt;access to *
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by self write
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by users read
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by anonymous read
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;&lt;br&gt;thank you.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/chsh-tp10031595p10031595.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9276838</id>
	<title>Issues with migrate_netgroup_byuser.pl and migrate_netgroup_byhost.pl</title>
	<published>2007-03-02T10:26:45Z</published>
	<updated>2007-03-02T10:26:45Z</updated>
	<author>
		<name>Zhi-Wei Lu</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have used the PADL migration toos migrate_netgroup.pl, &amp;nbsp;
&lt;br&gt;migrate_netgrou_byuser.pl and migrate_netgroup_byhost.pl to move NIS &amp;nbsp;
&lt;br&gt;information to LDAP on my RHEL 4 systems. I see entry of
&lt;br&gt;&lt;br&gt;nss_base_netgroup &amp;nbsp;ou=Netgroup,dc=example,dc=com?one
&lt;br&gt;&lt;br&gt;but nothing for netgroup.byuser or netgroup.byhost entries in /etc/ 
&lt;br&gt;ldap.conf file.
&lt;br&gt;I have searched around the net and I didn't find any specific &amp;nbsp;
&lt;br&gt;information concerning how I would effectively using these two maps &amp;nbsp;
&lt;br&gt;in an LDAP environment. &amp;nbsp;I didn't see any queries in the openldap log &amp;nbsp;
&lt;br&gt;files using these maps either.
&lt;br&gt;&lt;br&gt;Do we need these netgroup.byuser and netgroup.byhost entries in an &amp;nbsp;
&lt;br&gt;LDAP environment?
&lt;br&gt;I will appreciate if anyone can give me advices concerning with this &amp;nbsp;
&lt;br&gt;issue.
&lt;br&gt;&lt;br&gt;Thank you very much.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Zhi-Wei Lu
&lt;br&gt;Institue for Data Analysis and Visualization (IDAV)
&lt;br&gt;UC Davis &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Phone: &amp;nbsp; &amp;nbsp;(530) 752-0494
&lt;br&gt;Davis, CA 95616 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fax: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (530) 752-8894
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Issues-with-migrate_netgroup_byuser.pl-and-migrate_netgroup_byhost.pl-tp9276838p9276838.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9106575</id>
	<title>Re: Multivalued attributes with nss_ldap</title>
	<published>2007-02-22T09:48:53Z</published>
	<updated>2007-02-22T09:48:53Z</updated>
	<author>
		<name>Adam Tauno Williams</name>
	</author>
	<content type="html">&amp;gt; Is it possible to use multivalued attributes in nss_ldap?
&lt;br&gt;&amp;gt; For example if I changed the schema of one of the posixAccount 
&lt;br&gt;&amp;gt; attributes, lets say loginShell
&lt;br&gt;&lt;br&gt;Don't change standard schemas.
&lt;br&gt;&lt;br&gt;&amp;gt; so that it would accept multivalued entries, would I be able to map the 
&lt;br&gt;&amp;gt; correct attribute on the host?
&lt;br&gt;&amp;gt; from the ldif entry...
&lt;br&gt;&amp;gt; loginShell:/bin/bash;/bin/sh; etc etc
&lt;br&gt;&amp;gt; on the host in ldap.conf
&lt;br&gt;&amp;gt; nss_map_attribute &amp;nbsp; &amp;nbsp; &amp;nbsp;loginShell &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2nd Attribute
&lt;br&gt;&lt;br&gt;No, the values in an LDAP attribute are a *SET*; the definition of &amp;quot;set&amp;quot;
&lt;br&gt;is a collection of unique and unordered values. &amp;nbsp;There is no 2nd
&lt;br&gt;attribute, &amp;nbsp;there is only the attribute that happens to be listed after
&lt;br&gt;the first that was listed and before the third that was listed.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multivalued-attributes-with-nss_ldap-tp9091799p9106575.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9091799</id>
	<title>Multivalued attributes with nss_ldap</title>
	<published>2007-02-21T13:48:51Z</published>
	<updated>2007-02-21T13:48:51Z</updated>
	<author>
		<name>Nick Ascione</name>
	</author>
	<content type="html">Is it possible to use multivalued attributes in nss_ldap?
&lt;br&gt;&lt;br&gt;For example if I changed the schema of one of the posixAccount 
&lt;br&gt;attributes, lets say loginShell
&lt;br&gt;so that it would accept multivalued entries, would I be able to map the 
&lt;br&gt;correct attribute on the host?
&lt;br&gt;&lt;br&gt;from the ldif entry...
&lt;br&gt;&lt;br&gt;loginShell:/bin/bash;/bin/sh; etc etc
&lt;br&gt;&lt;br&gt;on the host in ldap.conf
&lt;br&gt;&lt;br&gt;nss_map_attribute &amp;nbsp; &amp;nbsp; &amp;nbsp;loginShell &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2nd Attribute
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multivalued-attributes-with-nss_ldap-tp9091799p9091799.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6699303</id>
	<title>Configuration Problem</title>
	<published>2006-10-07T16:23:28Z</published>
	<updated>2006-10-07T16:23:28Z</updated>
	<author>
		<name>Ted Johnson-2</name>
	</author>
	<content type="html">Hi;
&lt;br&gt;I'm trying to configure ldapprofile on FreeBSD 6.1
&lt;br&gt;(couldn't find a
&lt;br&gt;port, so doing it from source). However, it complains
&lt;br&gt;that it can't find
&lt;br&gt;ldap.h Now, that file's located in /usr/local/include.
&lt;br&gt;I tried throwing
&lt;br&gt;each of the following flags at it:
&lt;br&gt;./configure --oldincludedir=/usr/local/include
&lt;br&gt;./configure --includedir=/usr/local/include
&lt;br&gt;but it didn't like either...same complaint. What do?
&lt;br&gt;TIA,
&lt;br&gt;Ted
&lt;br&gt;&lt;br&gt;__________________________________________________
&lt;br&gt;Do You Yahoo!?
&lt;br&gt;Tired of spam? &amp;nbsp;Yahoo! Mail has the best spam protection around 
&lt;br&gt;&lt;a href=&quot;http://mail.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.yahoo.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Configuration-Problem-tp6699303p6699303.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-6481444</id>
	<title>ypserv hangs when multiple clients connect unless run interactively</title>
	<published>2006-09-25T01:31:21Z</published>
	<updated>2006-09-25T01:31:21Z</updated>
	<author>
		<name>iordan</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I recently made a NIS installation with (currently) only one NIS server and 20 NIS clients. They are all running RedHat Enterprise Linux 4.0 update 3.
&lt;br&gt;&lt;br&gt;The clients' yp.conf contains only:
&lt;br&gt;&lt;br&gt;domain GROUP server IP-ADDRESS-OF-SERVER
&lt;br&gt;&lt;br&gt;and nsswitch.conf is set up as follows:
&lt;br&gt;&lt;br&gt;passwd: &amp;nbsp; &amp;nbsp; files nis
&lt;br&gt;shadow: &amp;nbsp; &amp;nbsp; files nis
&lt;br&gt;group: &amp;nbsp; &amp;nbsp; &amp;nbsp;files nis
&lt;br&gt;hosts: &amp;nbsp; &amp;nbsp; &amp;nbsp;files dns nis
&lt;br&gt;ethers: &amp;nbsp; &amp;nbsp; files
&lt;br&gt;netmasks: &amp;nbsp; files
&lt;br&gt;networks: &amp;nbsp; files
&lt;br&gt;protocols: &amp;nbsp;files
&lt;br&gt;rpc: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;files
&lt;br&gt;services: &amp;nbsp; files
&lt;br&gt;netgroup: &amp;nbsp; files
&lt;br&gt;automount: &amp;nbsp;nis [NOTFOUND=return] files
&lt;br&gt;aliases: &amp;nbsp; &amp;nbsp;files
&lt;br&gt;&lt;br&gt;When I want to run the same command on all NIS clients, I use passwordless ssh to run the command on all machines simultaneously (by backgrounding ssh). However, this almost always causes the NIS server to become unresponsive (hang). This causes the clients to hang as well and start outputting a combination of the following:
&lt;br&gt;&lt;br&gt;do_ypcall: clnt_call: RPC: Timed out
&lt;br&gt;YPBINDPROC_DOMAIN: Domain not bound
&lt;br&gt;do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
&lt;br&gt;&lt;br&gt;Restarting the ypserv daemon (sometimes it is necessary to do so numerous times) allows the commands to complete.
&lt;br&gt;&lt;br&gt;I noticed that if I don't background ssh and run the commands on the clients in series (not simultaneously), the problem occurs much less often. So, I concluded that multiple clients connecting simultaneously to ypserv are causing the NIS server to become unresponsive.
&lt;br&gt;&lt;br&gt;Therefore, I decided to run the NIS server interactively in order to see what the problem is. &amp;nbsp;However, when the server is interactive, the problem does not occur at all! &amp;nbsp;As a work-around, I modified the ypserv init.d script to start ypserv with the &amp;quot;-d&amp;quot; option (in debug interactive mode) and I direct the output to /dev/null.
&lt;br&gt;&lt;br&gt;If anybody has ideas what is causing this, please let me know. Of course, I intend to set up a NIS slave server as well, but didn't think that 20 clients could cause the master to become unresponsive so easily. So, I suspect I'm doing something wrong and want to fix it.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;Iordan Iordanov</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ypserv-hangs-when-multiple-clients-connect-unless-run-interactively-tp6481444p6481444.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-3915164</id>
	<title>netgroup problem on AIX 4.3 and 5.1</title>
	<published>2006-04-14T03:38:59Z</published>
	<updated>2006-04-14T03:38:59Z</updated>
	<author>
		<name>bana</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;Has anyone here already used netgroups on AIX 4.3 and/or 5.1 clients via
&lt;br&gt;nss_ldap ?
&lt;br&gt;&lt;br&gt;I compiled nss_ldap on AIX 4.3 5.1 and 5.3, and only AIX 5.3 sends
&lt;br&gt;requests related to netgroups (via ng_test() function).
&lt;br&gt;&lt;br&gt;On these 3 AIX flavours the ng_pvtinit() function is called, but
&lt;br&gt;on AIX 4.3 and 5.1, nothing else happens concerning netgroups.
&lt;br&gt;&lt;br&gt;I precise that other LDAP requests perform well, I can resolve users,
&lt;br&gt;groups, and can authenticate LDAP users via nss_ldap. Everything works
&lt;br&gt;but netgroups.
&lt;br&gt;&lt;br&gt;Concerning the conf files:
&lt;br&gt;&amp;nbsp; - nss_ldap netgroup resolution is defined in /etc/irs.conf
&lt;br&gt;&amp;nbsp; - netgroup option is set in /lib/security/methods.cfg for NSS_LDAP
&lt;br&gt;&amp;nbsp; - netgroups to check are declared in /etc/passwd (+@netgroup)
&lt;br&gt;&amp;nbsp; - default user has SYSTEM and registry attributes set to compat
&lt;br&gt;&lt;br&gt;Did I miss configuration tricks needed on AIX 4.3 and 5.1 &amp;nbsp;?
&lt;br&gt;&lt;br&gt;Best regards.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Xavier Lapie
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/netgroup-problem-on-AIX-4.3-and-5.1-tp3915164p3915164.html" />
</entry>

</feed>
