From owner-freebsd-current@FreeBSD.ORG Fri Feb 10 07:32:05 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95E261065676 for ; Fri, 10 Feb 2012 07:32:05 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7EC4B8FC0A for ; Fri, 10 Feb 2012 07:32:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1A7W5vm015599 for ; Fri, 10 Feb 2012 07:32:05 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1A7W5I3015591 for freebsd-current@FreeBSD.org; Fri, 10 Feb 2012 07:32:05 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 10 Feb 2012 08:32:01 +0100 From: Baptiste Daroussin To: freebsd-current@FreeBSD.org Message-ID: <20120210073201.GN2106@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FhKpTYimqQF2+bfE" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: [CFT] pw(8) using pw/gr API from libutil X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 07:32:05 -0000 --FhKpTYimqQF2+bfE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I have been modifying pw(8) it order for it to user the pw_* and gr_* funct= ion =66rom libutil, to: avoid code duplication have a single API to manipulate user/group things. I have been using this version for a while now and it works quite well to m= e, I'm just missing testing in real NIS environment. The patch can be find here: http://people.freebsd.org/~bapt/pw_use_pw_gr_utils.diff regards, Bapt --FhKpTYimqQF2+bfE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk80x/EACgkQ8kTtMUmk6EyOlgCgh3OF1+fKtV92wGzqz6HKUJVe HasAoJKVpQm6I18IQ4CCLQptFnN5g4nh =bmYt -----END PGP SIGNATURE----- --FhKpTYimqQF2+bfE--