From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 18:36:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1771065672 for ; Fri, 8 Jul 2011 18:36:00 +0000 (UTC) (envelope-from m2o7i1@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCA28FC0C for ; Fri, 8 Jul 2011 18:35:59 +0000 (UTC) Received: by ewy1 with SMTP id 1so969647ewy.13 for ; Fri, 08 Jul 2011 11:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TE0vh0YmAbxoHb3+8tLcSk0Xt5TdaU61/uR20VV9Z2c=; b=TfGG+36QSArkVLcs8qJe7S/Zaog/9+kAluOLhBomMBjmqZSISzDILU7fRDJAms9nIV VhXMOi/ORuHv4xhwU2vnMQlyC6S06/Tt0uGB7XcVlC5SiyvPmN9KurrGE29+1eXBhf8C fZAB1K8h6Cj7wVHZ6U0GWzqX2a1ampMXffKzc= MIME-Version: 1.0 Received: by 10.213.27.141 with SMTP id i13mr795761ebc.134.1310150157916; Fri, 08 Jul 2011 11:35:57 -0700 (PDT) Received: by 10.213.4.15 with HTTP; Fri, 8 Jul 2011 11:35:57 -0700 (PDT) In-Reply-To: <4E172DE2.1000308@esiee.fr> References: <4E1713AF.7000806@esiee.fr> <4E172DE2.1000308@esiee.fr> Date: Fri, 8 Jul 2011 14:05:57 -0430 Message-ID: From: Moises Castellanos To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2011 18:36:00 -0000 On Fri, Jul 8, 2011 at 11:48 AM, Frank Bonnet wrote: > getent does not show the encrypted password field > > > You could use perl with Net::LDAP to generate the passwd file, something like http://bit.ly/p6bWwI Regards > On 07/08/2011 05:43 PM, Moises Castellanos wrote: > >> Hi >> You can try with getent(1) passwd and see if you can work with the outp= ut >> >> Regards >> >> On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet wrote: >> >> Hello >>> >>> I need to import the necessary users's data from an OpenLDAP directory >>> server >>> to put them in the local password files , anyone has done this before ? >>> >>> The machine use nss_ldap and pam_ldap to authenticate users but for >>> robustness >>> during the holidays I would like to have a local password file on this >>> machine which >>> is our mailhub. >>> >>> The OpenLDAP server runs on another machine and if it fails during >>> holidays >>> I want >>> my mailhub to be standalone for authentication in order to let email >>> service running >>> even the directory server crash. >>> >>> Thanks >>> >>> ______________________________****_________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/****mailman/listinfo/freebsd-****questions >>> >>> > >>> >>> To unsubscribe, send any mail to "freebsd-questions-** >>> unsubscribe@freebsd.org >>> >" >>> >>> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org " >> > > > -- > > Frank BONNET > > 01.45.92.66.17 > > Service des Moyens Informatiques Generaux > > ESIEE PARIS > Cit=E9 Descartes / BP 99 > 93162 NOISY-LE-GRAND Cedex > http://www.esiee.fr > > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " >