From owner-freebsd-questions@FreeBSD.ORG Fri Dec 12 10:25:06 2008 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 2AAED106564A for ; Fri, 12 Dec 2008 10:25:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A37AA8FC18 for ; Fri, 12 Dec 2008 10:25:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LB5Ch-0007Ek-3a for freebsd-questions@freebsd.org; Fri, 12 Dec 2008 10:25:03 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 10:25:03 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 10:25:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 12 Dec 2008 11:22:49 +0100 Lines: 64 Message-ID: References: <139b44430812112348k5c51072ie771913c982f7cfe@mail.gmail.com> <49422A05.6050907@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAD748879C56880FA02C73071" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Centralized DB of "system" users 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, 12 Dec 2008 10:25:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAD748879C56880FA02C73071 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ivan Voras wrote: > Manolis Kiagias wrote: >=20 >>> don't have local users but they query the DB to get login credentials= and >>> such. I don't >>> really know what to look for. So any suggestion and hints to how can = i >>> achieve this >>> are welcomed. >>> >>> thank you and a great day, >>> v >>> =20 >> What you are looking for is called NIS: >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.= html >> >> However note it is not (unfortunately) interoperable between FreeBSD a= nd >> Linux, although there is a setting (UNSECURE=3Dtrue in /var/yp/Makefil= e of >> the NIS server) that works around this, albeit it lowers security. >> >> There are other solutions too (LDAP?) but NIS would be the easiest to >> setup. >=20 > I agree - NIS is easiest to setup, but LDAP is the right solution in > this case (though it's very complicated to set up, especially the first= > time). >=20 > One alternative to those is samba - there is pam_smb in the ports, but > there's no nss_smb but that's somewhat weird to use in a unix-like > environment :) I just found about http://pam-mysql.sourceforge.net/ In ports as security/pam-mysql and the NSS in net/libnss-mysql . I didn't try it. --------------enigAD748879C56880FA02C73071 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJQjt5ldnAQVacBcgRAggSAJ0Wfz+0sVQxqDNLetNnbDVahUI9VQCcDh5a jRpGbFFRD66okyDq5x5lF2M= =1sHD -----END PGP SIGNATURE----- --------------enigAD748879C56880FA02C73071--