From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai-Cheong Chang Newsgroups: gmane.os.tru64.managers Subject: C2 and LDAP authentication using OpenLDAP Date: Wed, 12 Feb 2003 18:46:32 -0800 (PST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030213024632.33459.qmail@web41402.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045104280 634 80.91.224.249 (13 Feb 2003 02:44:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 02:44:40 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18j9Mb-0000A2-00 for ; Thu, 13 Feb 2003 03:44:37 +0100 Original-Received: (qmail 737 invoked by uid 5); 13 Feb 2003 02:46:41 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 727 invoked by uid 49493); 13 Feb 2003 02:46:41 -0000 Original-Received: from kcchanghku@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.3622 secs); 13 Feb 2003 02:46:41 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 13 Feb 2003 02:46:41 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HA80094P7PSO2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Feb 2003 21:46:40 -0500 (EST) Original-Received: from web41402.mail.yahoo.com (web41402.mail.yahoo.com [66.218.93.68]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with SMTP id <0HA80095I7PKTI@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Feb 2003 21:46:33 -0500 (EST) Original-Received: from [147.8.96.103] by web41402.mail.yahoo.com via HTTP; Wed, 12 Feb 2003 18:46:32 -0800 (PST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:3316 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3316 Dear all, I tried to set up LDAP authentication on a Tru64 5.1A BL3 (Enhacned security enabled) against an Openldap directory (version 2.0.27). Following the documentations on Internet Express (version 5.8) and Best Practices (set crypt_passwd:1 in /etc/ldapcd.conf), I finally made it working. However, I have the following question: (1) In the Internet Express Admin. Guide, the userPassword attribute should be of the form "{CYRPT}encrypted-string". In my case, I can only made authentication working with userPassword attribute in the form "encrypted-string" (actually, I found it after I invoked the ldap_passwd command to change a user password and then this account can authenticate). If I use the userPassword format stated in Internet Express Admin. Guide, I failed to login with the LDAP accounts (the edauth entry showed u_pwd=* rather than the crypted password). (2) If I use ldap_get_user, I can get the password fields correctly in a /etc/passwd format regardless of which format I used in userPassword attribute. As I plan to have other applications sharing the same userPassword attribute using the same LDAP tree, it would be a problem if the userPassword attribute does not follow the standard. Any ideas or tweaks available? Many thanks in advance, KC Chang __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com