<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem setting ldap-ux client in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209956#M733124</link>
    <description>Hi Diego,&lt;BR /&gt;&lt;BR /&gt;The -2 indicates the specified user name was not found in LDAP.  So that likely means a configuration problem.&lt;BR /&gt;&lt;BR /&gt;LDAP-UX can do some basic configuraiton assesment. Run the command /opt/ldapux/bin/ldapcfinfo.&lt;BR /&gt;&lt;BR /&gt;/opt/ldapux/bin/ldapcfinfo -t passwd&lt;BR /&gt;/opt/ldapux/bin/ldapcfinfo -t pam&lt;BR /&gt;&lt;BR /&gt;Then, assuming success above try&lt;BR /&gt;&lt;BR /&gt;pwget -n &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;If that doesn't help, review the output of /opt/ldapux/config/display_profile_cache.  That tells you how LDAP-UX performs search operations.  See if you can replicate a search operation using ldapsearch.&lt;BR /&gt;&lt;BR /&gt;/opt/ldapux/bin/ldapsearch -h &lt;HOSTIP&gt; -b &lt;DEFAULTSEARCHBASE&gt; "(&amp;amp;(objectclass=posixaccount)(uid=&lt;USERNAME&gt;))"&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;&lt;/USERNAME&gt;&lt;/DEFAULTSEARCHBASE&gt;&lt;/HOSTIP&gt;&lt;/USERNAME&gt;</description>
    <pubDate>Wed, 18 Nov 2009 17:27:04 GMT</pubDate>
    <dc:creator>Bob Neal-Joslin</dc:creator>
    <dc:date>2009-11-18T17:27:04Z</dc:date>
    <item>
      <title>Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209953#M733121</link>
      <description>Hello Everybody:&lt;BR /&gt;&lt;BR /&gt;I'm setting up ldap-ux client under hpux 11.31, but I getting a error authenticating with ssh. Connecting to ssh ask me 2 times for the password (The password is correct).&lt;BR /&gt;Example using putty to the ux box:&lt;BR /&gt;login as: user&lt;BR /&gt;Using keyboard-interactive authentication.&lt;BR /&gt;Password:&lt;BR /&gt;Using keyboard-interactive authentication.&lt;BR /&gt;LDAP Password:&lt;BR /&gt;&lt;BR /&gt;And never get logged to the system.&lt;BR /&gt;&lt;BR /&gt;I'm using Fedora Directory Server 1.0 as Ldap server.&lt;BR /&gt;&lt;BR /&gt;However I can do "su" with the same ldap user without problems. I got the complete listing of users from the directory with pwget.&lt;BR /&gt;&lt;BR /&gt;pam_ldap is configured in /etc/pam.conf and nsswitch for use ldap.&lt;BR /&gt;&lt;BR /&gt;I turned on debugging for ldapclientd and got this messages:&lt;BR /&gt;&lt;BR /&gt;Nov 17 12:51:23 rx2ka sshd[12653]: pid:12653 - ldapd_client.c:195:_hp_ldap_client_cache_daemon_is_up():&lt;BR /&gt;Nov 17 12:51:23 rx2ka syslog: pid:27197 - ldap_common.c:2104:_hp_ldap_bind_ux(): _hp_ldap_build_cred() returned:-2.&lt;BR /&gt;Nov 17 12:51:23 rx2ka syslog: pid:27197.13 - pam_request.c:152:process_pam_ldap_request(): _hp_ldap_bind_ux() failed, err=-2&lt;BR /&gt;Nov 17 12:51:23 rx2ka syslog: pid:27197 - ldap_common.c:2650:_hp_ldap_endent():&lt;BR /&gt;Nov 17 12:51:23 rx2ka syslog: pid:27197 - ldap_common.c:3230:_hp_ldap_unbind(): disposition:FREE HANDLE.&lt;BR /&gt;Nov 17 12:51:23 rx2ka syslog: pid:27197 - ldap_common.c:2688:_hp_ldap_free_cur_msg():&lt;BR /&gt;Nov 17 12:51:24 rx2ka  above message repeats 4 times&lt;BR /&gt;Nov 17 12:51:24 rx2ka syslog: pid:27197 - ldap_common.c:2650:_hp_ldap_endent():&lt;BR /&gt;Nov 17 12:51:24 rx2ka syslog: pid:27197 - ldap_common.c:2688:_hp_ldap_free_cur_msg():&lt;BR /&gt;Nov 17 12:51:24 rx2ka sshd[12653]: PAM_LDAP auth-bind got HP_LDAP_NOTFOUND&lt;BR /&gt;&lt;BR /&gt;I'm using:&lt;BR /&gt;LdapUxClient          B.04.20        LDAP-UX Client Services&lt;BR /&gt;&lt;BR /&gt;Somebody has a similar problem? Any help will be apreciated.&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;BR /&gt;&lt;BR /&gt;Diego.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209953#M733121</guid>
      <dc:creator>Diego González</dc:creator>
      <dc:date>2009-11-17T16:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209954#M733122</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Secure Shell, openssh does not integrate easily with LDAP. The standard version will require login, but then respect the LDAP server on permissions and such.&lt;BR /&gt;&lt;BR /&gt;You will probably have to recompile openssh from source to integrate it with LDAP and make it stop demanding passwords.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 17 Nov 2009 17:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209954#M733122</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-17T17:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209955#M733123</link>
      <description>I tried the same test with the telnet protocol and login and I got the same results. I think that maybe is a pam problem, I don't know what exactly is the problem yet.</description>
      <pubDate>Tue, 17 Nov 2009 17:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209955#M733123</guid>
      <dc:creator>Diego González</dc:creator>
      <dc:date>2009-11-17T17:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209956#M733124</link>
      <description>Hi Diego,&lt;BR /&gt;&lt;BR /&gt;The -2 indicates the specified user name was not found in LDAP.  So that likely means a configuration problem.&lt;BR /&gt;&lt;BR /&gt;LDAP-UX can do some basic configuraiton assesment. Run the command /opt/ldapux/bin/ldapcfinfo.&lt;BR /&gt;&lt;BR /&gt;/opt/ldapux/bin/ldapcfinfo -t passwd&lt;BR /&gt;/opt/ldapux/bin/ldapcfinfo -t pam&lt;BR /&gt;&lt;BR /&gt;Then, assuming success above try&lt;BR /&gt;&lt;BR /&gt;pwget -n &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;If that doesn't help, review the output of /opt/ldapux/config/display_profile_cache.  That tells you how LDAP-UX performs search operations.  See if you can replicate a search operation using ldapsearch.&lt;BR /&gt;&lt;BR /&gt;/opt/ldapux/bin/ldapsearch -h &lt;HOSTIP&gt; -b &lt;DEFAULTSEARCHBASE&gt; "(&amp;amp;(objectclass=posixaccount)(uid=&lt;USERNAME&gt;))"&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;&lt;/USERNAME&gt;&lt;/DEFAULTSEARCHBASE&gt;&lt;/HOSTIP&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 18 Nov 2009 17:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209956#M733124</guid>
      <dc:creator>Bob Neal-Joslin</dc:creator>
      <dc:date>2009-11-18T17:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209957#M733125</link>
      <description>BTW, I noticed you said you're using Fedora DS 1.0?  Is there any reason why your not using HP-UX Directory Server 8.1?  It's a supported version of 389/Fedora DS, based on a more recent version (1.2).</description>
      <pubDate>Wed, 18 Nov 2009 17:29:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209957#M733125</guid>
      <dc:creator>Bob Neal-Joslin</dc:creator>
      <dc:date>2009-11-18T17:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209958#M733126</link>
      <description>Thanks to all for the reply. Finally I found a wrong base dn configured in the Fedora Ds. I fixed that and now the auth is working!&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;BR /&gt;&lt;BR /&gt;Diego.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 17:50:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209958#M733126</guid>
      <dc:creator>Diego González</dc:creator>
      <dc:date>2009-11-18T17:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem setting ldap-ux client</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209959#M733127</link>
      <description>Wrong setup  in fedora ds</description>
      <pubDate>Wed, 18 Nov 2009 17:51:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-setting-ldap-ux-client/m-p/5209959#M733127</guid>
      <dc:creator>Diego González</dc:creator>
      <dc:date>2009-11-18T17:51:43Z</dc:date>
    </item>
  </channel>
</rss>

