<?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: LDAP CDE/dtlogin problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364199#M868183</link>
    <description>Thanks for you reply.&lt;BR /&gt;&lt;BR /&gt;Yes, I did set up LDAP client.&lt;BR /&gt;nsquery ldap do have entries return.&lt;BR /&gt;LDAP users can telnet in but cannot dtlogin in.&lt;BR /&gt;&lt;BR /&gt;# /usr/contrib/bin/nsquery passwd weiping ldap                                  &lt;BR /&gt;&lt;BR /&gt;Using "ldap" for the passwd policy. &lt;BR /&gt;&lt;BR /&gt;Searching ldap for weiping &lt;BR /&gt;User name: weiping &lt;BR /&gt;User Id: 5556 &lt;BR /&gt;Group Id: 15 &lt;BR /&gt;Gecos:  &lt;BR /&gt;Home Directory: /home/weiping &lt;BR /&gt;Shell: /usr/bin/tcsh &lt;BR /&gt;&lt;BR /&gt;Switch configuration: Terminates Search &lt;BR /&gt;</description>
    <pubDate>Wed, 25 Aug 2004 20:50:11 GMT</pubDate>
    <dc:creator>Weiping He_1</dc:creator>
    <dc:date>2004-08-25T20:50:11Z</dc:date>
    <item>
      <title>LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364192#M868176</link>
      <description>I have trouble to login HP-UX 11.23 server with LDAP user account.&lt;BR /&gt;I can login as telnet or su from another user.&lt;BR /&gt;Can anybody help me?&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;This is the error msg I got:&lt;BR /&gt;syslog: user2netname: unknown nameservice ^I^I^I^I^Ifor publickey info 'ldap'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pam.conf&lt;BR /&gt;login    auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1 debug&lt;BR /&gt;login    auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass debug&lt;BR /&gt;su       auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;su       auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;dtlogin  auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1 debug&lt;BR /&gt;dtlogin  auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass debug&lt;BR /&gt;ftp      auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;ftp      auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;OTHER    auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;#&lt;BR /&gt;# Account management&lt;BR /&gt;#&lt;BR /&gt;login    account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;su       account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;su       account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;ftp      account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;ftp      account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;OTHER    account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;#&lt;BR /&gt;# Session management&lt;BR /&gt;#&lt;BR /&gt;login    session sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    session required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;OTHER    session required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;#&lt;BR /&gt;# Password management&lt;BR /&gt;#&lt;BR /&gt;login    password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;passwd   password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;passwd   password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;OTHER    password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;passwd:       files ldap&lt;BR /&gt;group:        files ldap&lt;BR /&gt;hosts:        ldap files dns&lt;BR /&gt;networks:     files ldap&lt;BR /&gt;protocols:    files ldap&lt;BR /&gt;rpc:          files ldap&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files ldap&lt;BR /&gt;automount:    files ldap&lt;BR /&gt;aliases:      files ldap&lt;BR /&gt;services:     files ldap&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Aug 2004 21:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364192#M868176</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-08-24T21:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364193#M868177</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I looked up the code for user2netname() and this function uses the "publickey" entry in the /etc/nsswitch.conf file to convert the unix credentials to a network-name.&lt;BR /&gt;&lt;BR /&gt;The fact that your current /etc/nsswitch.conf file says:&lt;BR /&gt;&lt;BR /&gt;publickey: files&lt;BR /&gt;&lt;BR /&gt;but the syslog entry indicates "ldap" tells me that at one time, likely at boot time, the /etc/nsswitch.conf entry for publickey probably included "ldap".  &lt;BR /&gt;&lt;BR /&gt;Did you modify the /etc/nsswitch.conf file to remove "ldap" from the publickey entry after the system was booted?  If so, you may need to reboot the system in order to get all running processes to re-read the current nsswitch.conf file, as most processes read this file once at initialization time and then don't refer to the file again until they are restarted.&lt;BR /&gt;&lt;BR /&gt;Also, I don't think many of the entries in your nsswitch.conf file are valid for "ldap".  I know for a fact that AutoFS (automount entry) doesn't support LDAP.&lt;BR /&gt;&lt;BR /&gt;If you look at the /etc/nsswitch.ldap file you will see which services are supported for LDAP lookups.  On my 11.23 system, this file contains:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.ldap:&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf.  It&lt;BR /&gt;# uses LDAP (Lightweight Directory Access Protocol) in conjunction with&lt;BR /&gt;# dns &amp;amp; files.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;passwd:       files ldap&lt;BR /&gt;group:        files ldap&lt;BR /&gt;hosts:        dns [NOTFOUND=return] files ldap&lt;BR /&gt;networks:     files ldap&lt;BR /&gt;protocols:    files ldap&lt;BR /&gt;rpc:          files ldap&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files ldap&lt;BR /&gt;automount:    files&lt;BR /&gt;aliases:      files&lt;BR /&gt;services:     files ldap&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My recommendation is to copy the /etc/nsswitch.ldap file to /etc/nsswitch.conf and reboot the system in order to get all the running processes to use the new nsswitch.conf file.  At least that would eliminate the possibility of a process using a bogus out-of-date nsswitch.conf entry that contains a reference to LDAP when it shouldn't.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 24 Aug 2004 23:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364193#M868177</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-08-24T23:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364194#M868178</link>
      <description>Your pam.conf file seems to be okie. But nsswitch.conf file settings are not okie on hosts entry.&lt;BR /&gt;&lt;BR /&gt;hosts: ldap files dns&lt;BR /&gt;&lt;BR /&gt; It will try to resolve ldap,/etc/hosts then /etc/resolv.conf files.&lt;BR /&gt;&lt;BR /&gt; Resolvation of hosts are good to start with dns and files then others.&lt;BR /&gt; &lt;BR /&gt; Default recommendation from LDAP product is as /etc/nsswitch.ldap file as,&lt;BR /&gt;hosts:        dns [NOTFOUND=return] files ldap&lt;BR /&gt;&lt;BR /&gt;But there is some problem will be faced on dns [NOTFOUND=return]. So it is to good to keep as,&lt;BR /&gt;&lt;BR /&gt;hosts:     dns files ldap&lt;BR /&gt;&lt;BR /&gt;It will do now.&lt;BR /&gt;&lt;BR /&gt;check hostname resolvation as,&lt;BR /&gt;&lt;BR /&gt;nsquery hosts &lt;HOSTNAME&gt; "dns files ldap"&lt;BR /&gt;&lt;BR /&gt;then check now,&lt;BR /&gt;&lt;BR /&gt;nsquery hosts &lt;HOSTNAME&gt; "ldap files dns"&lt;BR /&gt;&lt;BR /&gt;You will feel the change. I am also using the ldap / pam authentication, &lt;BR /&gt;&lt;BR /&gt;Check it and make the appropriate change on /etc/nsswitch.conf file&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Tue, 24 Aug 2004 23:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364194#M868178</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-24T23:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364195#M868179</link>
      <description>I would suggest that you add dtlogin/dtaction lines to all sections in pam.conf as per sample LDAP pam.conf (/etc/pam.ldap). These lines are used by CDE so they may be significant.&lt;BR /&gt;&lt;BR /&gt;Also in session management section you seem to be missing libpam_unix.so.1 line.&lt;BR /&gt;&lt;BR /&gt;OTHER    session sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;&lt;BR /&gt;I've included full pam.conf example below.&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Authentication management&lt;BR /&gt;#&lt;BR /&gt;login    auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;su       auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;su       auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;dtlogin  auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtlogin  auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;dtaction         auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtaction         auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;ftp      auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;ftp      auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;OTHER    auth sufficient        /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    auth required  /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;#&lt;BR /&gt;# Account management&lt;BR /&gt;#&lt;BR /&gt;login    account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;su       account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;su       account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;dtlogin  account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtlogin  account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;dtaction         account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtaction         account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;ftp      account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;ftp      account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;OTHER    account sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    account required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;#&lt;BR /&gt;# Session management&lt;BR /&gt;#&lt;BR /&gt;login    session sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    session required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;dtlogin  session sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtlogin  session required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;dtaction         session sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtaction         session required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;OTHER    session sufficient     /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    session required       /usr/lib/security/$ISA/libpam_ldap.so.1&lt;BR /&gt;#&lt;BR /&gt;# Password management&lt;BR /&gt;#&lt;BR /&gt;login    password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;login    password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;passwd   password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;passwd   password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;dtlogin  password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtlogin  password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;dtaction         password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;dtaction         password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass&lt;BR /&gt;OTHER    password sufficient    /usr/lib/security/$ISA/libpam_unix.so.1&lt;BR /&gt;OTHER    password required      /usr/lib/security/$ISA/libpam_ldap.so.1 try_first_pass</description>
      <pubDate>Wed, 25 Aug 2004 00:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364195#M868179</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-08-25T00:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364196#M868180</link>
      <description>Thanks a lot!&lt;BR /&gt;I change the nsswitch.conf and pam.conf,&lt;BR /&gt;still no luck.&lt;BR /&gt;now the error msg become&lt;BR /&gt;&lt;BR /&gt;Aug 25 10:29:41 syslog: unix pam_sm_authenticate(dtlogin waypin), flags = 0&lt;BR /&gt;Aug 25 10:29:41 syslog: perform_passwd_aging_check: 12621 12655 -1 -1&lt;BR /&gt;Aug 25 10:29:41 syslog: pam_acct_mgmt: error Get new authentication token&lt;BR /&gt;Aug 25 10:29:41 syslog: pam_acct_mgmt: error No account present for user&lt;BR /&gt;&lt;BR /&gt;BTW, I created a file link in&lt;BR /&gt; /usr/lib/security/&lt;BR /&gt;from libpam_ldap.so.1 to libpam_ldap.1&lt;BR /&gt;-r-xr-xr-x   1 root       sys         346736 Dec 15  2003 libpam_ldap.1&lt;BR /&gt;lrwxrwxrwx   1 root       sys             15 Aug 25 10:29 libpam_ldap.so.1 -&amp;gt; ./libpam_ldap.1&lt;BR /&gt;&lt;BR /&gt;Because the log conplains that&lt;BR /&gt;syslog: load_modules: can not open module /usr/lib/security/libpam_ldap.so.1&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 09:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364196#M868180</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-08-25T09:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364197#M868181</link>
      <description>This is the latest error I got.&lt;BR /&gt;Thanks a bunch!&lt;BR /&gt;&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: unix pam_sm_authenticate(dtlogin weiping), flag&lt;BR /&gt;s = 0&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_sm_acct_mgmt: -1 12655&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_sm_acct_mgmt: flags 0x0&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_sm_acct_mgmt: 12621 -1 -1&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: perform_passwd_aging_check: 12621 12655 -1 -1&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_sm_acct_mgmt: 10 0 weiping&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_sm_acct_mgmt: error 10&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_sm_acct_mgmt: exiting, error 10&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_acct_mgmt: error Get new authentication tok&lt;BR /&gt;en&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: PAM_LDAP Entering pam_sm_acct_mgmt...  flags (0&lt;BR /&gt;)&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: PAM_LDAP Entering new fix&lt;BR /&gt;Aug 25 11:34:22 hp-dual2 syslog: pam_acct_mgmt: error No account present for use</description>
      <pubDate>Wed, 25 Aug 2004 10:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364197#M868181</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-08-25T10:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364198#M868182</link>
      <description>Is LDAP-UX configured?  Your last message shows that PAM_LDAP can not find the user account?  Does:&lt;BR /&gt; /usr/contrib/bin/nsquery passwd &lt;USER&gt; ldap&lt;BR /&gt;&lt;BR /&gt;return the users entry?  Is this user defined in the local passwd/shadow password file as well as LDAP (looks like it is from the syslogs)?&lt;/USER&gt;</description>
      <pubDate>Wed, 25 Aug 2004 17:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364198#M868182</guid>
      <dc:creator>Doug Lamoureux_2</dc:creator>
      <dc:date>2004-08-25T17:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364199#M868183</link>
      <description>Thanks for you reply.&lt;BR /&gt;&lt;BR /&gt;Yes, I did set up LDAP client.&lt;BR /&gt;nsquery ldap do have entries return.&lt;BR /&gt;LDAP users can telnet in but cannot dtlogin in.&lt;BR /&gt;&lt;BR /&gt;# /usr/contrib/bin/nsquery passwd weiping ldap                                  &lt;BR /&gt;&lt;BR /&gt;Using "ldap" for the passwd policy. &lt;BR /&gt;&lt;BR /&gt;Searching ldap for weiping &lt;BR /&gt;User name: weiping &lt;BR /&gt;User Id: 5556 &lt;BR /&gt;Group Id: 15 &lt;BR /&gt;Gecos:  &lt;BR /&gt;Home Directory: /home/weiping &lt;BR /&gt;Shell: /usr/bin/tcsh &lt;BR /&gt;&lt;BR /&gt;Switch configuration: Terminates Search &lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 20:50:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364199#M868183</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-08-25T20:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364200#M868184</link>
      <description>Have you restarted dtlogin after modifying pam.conf?&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/dtlogin.rc stop&lt;BR /&gt;/sbin/init.d/dtlogin.rc start</description>
      <pubDate>Wed, 25 Aug 2004 21:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364200#M868184</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-08-25T21:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364201#M868185</link>
      <description>I did restart the dtlogin. Even reboot the machine.&lt;BR /&gt;&lt;BR /&gt;The problem is still there.&lt;BR /&gt;&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: unix pam_sm_authenticate(dtlogin weiping), flags = 0&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: -1 12656&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: flags 0x0&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: 12621 -1 -1&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: perform_passwd_aging_check: 12621 12656 -1 -1&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: 10 0 weiping&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: error 10&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: exiting, error 10&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_acct_mgmt: error Get new authentication token&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: PAM_LDAP Entering pam_sm_acct_mgmt...  flags (0)&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: PAM_LDAP Entering new fix&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_acct_mgmt: error No account present for user&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2004 10:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364201#M868185</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-08-26T10:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364202#M868186</link>
      <description>Hi Weiping,&lt;BR /&gt;&lt;BR /&gt;Does this problem happen for all users, or just the "weiping" user?  &lt;BR /&gt;&lt;BR /&gt;Also, what kind of shell is /usr/bin/tcsh?  I don't have that shell on my 11.23 system.  Just out of curiosity, have you tried using a different shell, like /usr/bin/ksh or /usr/bin/csh or /usr/bin/sh to see if this is a shell-related problem?  Do you have an /etc/shells file with this non-standard shell in it?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2004 10:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364202#M868186</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-08-26T10:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364203#M868187</link>
      <description>Thanks, &lt;BR /&gt;&lt;BR /&gt;I did try other users with&lt;BR /&gt;csh or ksh.&lt;BR /&gt;not working. :(&lt;BR /&gt;I also have entried in the /etc/shells.&lt;BR /&gt;&lt;BR /&gt;don't know why.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2004 13:09:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364203#M868187</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-08-26T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364204#M868188</link>
      <description>it looks like your user has an entry in the local /etc/passwd &amp;amp; shadow file as well as LDAP???:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: perform_passwd_aging_check: 12621 12656 -1 -1&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: 10 0 weiping&lt;BR /&gt;Aug 26 11:37:59 hp-dual2 syslog: pam_sm_acct_mgmt: error 10&lt;BR /&gt;&lt;BR /&gt;This is logged by the pam_unix account management module, so if the user is just in ldap they should not go through this module.&lt;BR /&gt;&lt;BR /&gt;Is pam_unix required for dtlogin?  &lt;BR /&gt;What's the output of &lt;BR /&gt;  grep ^dtlogin /etc/pam.conf&lt;BR /&gt;&lt;BR /&gt;Is the dtlogin pam configuration different then others, say login:&lt;BR /&gt;  grep ^login /etc/pam.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2004 14:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364204#M868188</guid>
      <dc:creator>Doug Lamoureux_2</dc:creator>
      <dc:date>2004-08-26T14:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP CDE/dtlogin problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364205#M868189</link>
      <description>Finally fixed!&lt;BR /&gt;According to HP technical support:&lt;BR /&gt;just add the following two lines to your /etc/opt/ldapux/ldapux_profile.ldif file and run /opt/ldapux/config/create_profile_cache and then restart ldapclientd daemon.&lt;BR /&gt;&lt;BR /&gt;attributemap: passwd:userpassword=*NULL*&lt;BR /&gt;attributemap: shadow:userpassword=*NULL*&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your replies!&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Sep 2004 16:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-dtlogin-problem/m-p/3364205#M868189</guid>
      <dc:creator>Weiping He_1</dc:creator>
      <dc:date>2004-09-02T16:48:45Z</dc:date>
    </item>
  </channel>
</rss>

