From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Don Becker Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: NIS/Enhanced Security to LDAP help Date: Thu, 22 Aug 2002 08:54:17 -0400 (EDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1030022022 4560 127.0.0.1 (22 Aug 2002 13:13:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 13:13:42 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17hrmO-0001BI-00 for ; Thu, 22 Aug 2002 15:13:40 +0200 Original-Received: (qmail 23521 invoked by uid 5); 22 Aug 2002 12:54:48 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23512 invoked by uid 49493); 22 Aug 2002 12:54:48 -0000 Original-Received: from don@adelphi.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.23. Clear:. Processed in 0.403188 secs); 22 Aug 2002 12:54:48 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 22 Aug 2002 12:54:47 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H18001MNX79FS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 22 Aug 2002 08:54:47 -0400 (EDT) Original-Received: from panther.adelphi.edu (panther.adelphi.edu [12.20.16.4]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1800HA0X6W8H@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 22 Aug 2002 08:54:33 -0400 (EDT) Original-Received: from localhost (don@localhost) by panther.adelphi.edu (1.0/1.0.1) with ESMTP id g7MCsHt24447 for ; Thu, 22 Aug 2002 08:54:17 -0400 (EDT) In-Reply-To: Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1442 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1442 Thanks to: noghri Ken Kleiner Basically, what's required is a script which extracts the u_pwd field from prpasswd and copies it into the password field on passwd. From there, the migration scripts can read the password, and authentication seems to work - at least in our test environment. Thanks again! --Don From: noghri > Passwd_extract just does a grep on the password file and displays > entries in a certain uid range. ldap_add_user adds the entry to the > ldap tree by reading in passwd entries form a file. > > If you can get the hash from prpasswd and create a text file that would > be basically the passwd file, you can use ldap_add_user to import the > users. From: Ken Kleiner > I tested a script that will extract the password entry from > a prpasswd entry and plug it into the proper 'password' field that is > in the /var/yp/src/passwd file - then I used that file for migration. My original post, for reference: On Tue, 20 Aug 2002, Don Becker wrote: > We're in the process of migrating from NIS/Enhanced Security to an LDAP > implementation for our authentication scheme, as was suggested to me by the > members of this list some time ago. However, some of our research has come > up short. > > First, our hardware: > > Current NIS master and slave: Tru64 v4.0a > Current NIS clients: v4.0a and v3.2g > Proposed LDAP master: v5.1a > > In looking through the OSIS/Internet Express documentation on the HP > website (our 5.1a media and Internet Express kit are en route) , it appears > that the passwd_extract utility will create LDAP-compatible files from a > passwd file. However, under Enhanced Security, the NIS passwd map has > dummy entries for the passwords, as those are stored in prpasswd. My > questions, since there doesn't seem to be a mention of this in the docs, > are: > > - Can I get the password info from prpasswd through passwd_extract, and if > so, how? > > - Will OpenLDAP or iPlanet work in a mixed-version environment? (I'd > prefer not to upgrade the v4.0f client to v5.1a, especially since our > time frame for this project is limited, even if it means ordering v5.4 > of the OSIS disc.) > > Thanks, > --Don > > -- Don Becker don@adelphi.edu http://www.donbecker.org Unix System Administrator, Adelphi University http://www.adelphi.edu