From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 16 04:37:42 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 058A916A4B3 for ; Thu, 16 Oct 2003 04:37:42 -0700 (PDT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1430E43FAF for ; Thu, 16 Oct 2003 04:37:39 -0700 (PDT) (envelope-from omestre@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:omestre@norge.freeshell.org [192.94.73.3]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id h9GBbbRX019371 for ; Thu, 16 Oct 2003 11:37:37 GMT Received: (from omestre@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id h9GBbbln017787; Thu, 16 Oct 2003 11:37:37 GMT Date: Thu, 16 Oct 2003 11:37:37 +0000 (UTC) From: omestre To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: crypt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 11:37:42 -0000 Hello, i need authenticate users in a FreeBSD environment and linux environment. My passwords are stored with FreeBSD crypt format. We wrote a pam module to authenticate the users, but if the module runs in FreeBSD and obvious (crypt bsd)... works. In linux does not. Have a simple way to write a simple "crypt" function to my linux module, that behaves like the FreeBSD libc crypt function? Then i will bypass the two libc crypt *imcompatibilities*... Sorry by the english. Thanks! omestre@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org