From owner-freebsd-questions@freebsd.org Sun Mar 15 16:42:21 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7BCD272E67 for ; Sun, 15 Mar 2020 16:42:21 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48gQFm4XMYz4Hjn for ; Sun, 15 Mar 2020 16:42:20 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=ul8H7oxqoqAP83FmsnwMS/T9MdKoaKQKRjKiwDd4w+A=; b=j1s7b7RDw8d+xYlC1QRpwjxR6T AuT7lMjVpM4oHdHDFIi37CEWkgNAYKoHf9PKog7dsrwHbKJ037g1oz+vbPFBa4gY0quGpLPaI93lu 2UN3KnulQU4+kucJfHZpeaf/f7ACzrz/Xo1GUVDGxfduGl7V9vVC1wSKpRIy9pekuHLU=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDWLD-000Jcv-9D for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 23:42:19 +0700 Date: Sun, 15 Mar 2020 23:42:19 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315164219.GC74628@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <20200315061714.GC64075@admin.sibptus.ru> <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline In-Reply-To: <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gQFm4XMYz4Hjn X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=j1s7b7RD; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2020 16:42:21 -0000 --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Howard via freebsd-questions wrote: > On 15/03/2020 06:17, Victor Sudakov wrote: > > Michael Howard via freebsd-questions wrote: > > > > > > > Do you think there exists a modern solution for centralized u= ser/group/... > > > > > > > management compatible with FreeBSD and Linux? > > > > > > I think the best combination is probably a Windows AD setup, wi= th > > > > > > FreeBSD/Linux clients attaching to it. (Although I still do ext= ernal DNS > > > > > > importing the AD objects into it, really can't stand windows DN= S). > > > > > >=20 > > > > > > This does work really seamless, the GUI tools are well utilized. > > > > > >=20 > > > > > > It really gets you the hard part (LDAP, Kerberos) in a pretty e= asy to > > > > > > use package. I don't know how many hours I've spent on OpenLDAP > > > > > > getting it to work with things, and management packages for Ope= nLDAP > > > > > > are pretty sucky overall. > > > > > I agree here with Doug, as strange as it sounds, Samba is your be= st bet. > > > > > When you provision your domain you shall enable the POSIX extensi= ons. It > > > > > will create all GECOS stuff. pam_winbind is also nice. > > > > So pam_winbind it is, if you want to use AD for user/group manageme= nt? > > > > Does winbindd not crash any more under FreeBSD? > > > >=20 > > > > Do you need to also enable winbind somehow in nsswitch.conf? > > > >=20 > > > > > One must simply admit that Active Directory is a wellthought syst= em not > > > > > just for Unix. You may join your machines either with Samba, more= easily > > > > > with msktutil (disclainer, I am a maintainer) with works flawless= ly on > > > > > FreeBSD. > > > > I'll certainly look at it if I have to integrate FreeBSD into Windo= ws AD. > > > >=20 > > > > However first I'd like to find a free, open source solution for a > > > > Unix-only office. Hope it will not eventually come to buying a Wind= ows > > > > server to manage Linux and FreeBSD workstations. > > > >=20 > > > Samba is free and open source. Absolutely no need to buy MS Windows. > > What do you mean by "Samba" in this context? A centralized user/group > > management server? A centralized user/group management client? > >=20 > Both of course. One without the other is not much use in your context. What nss module on the client side? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeblrrAAoJEA2k8lmbXsY0CpYIAKn1MP8OEj3UCq29porbHPEt RFD4Slfuf+L098R9zIR3koX6OnueitnjhqUY7OwR31nwhvfZrihlDxsr8I0df8XL xiSA02cBR2LAtntSUaaMjal4ROcuH3+zB/0cpclMdY3R0UL8J8MPC5m/ZAwGRGqS Zqc8fA49y23WwWIPfCAWa46oUdv+55ZecjH+iFW8auuCBGgTKgJc185j2JP9sA89 K7y4GuikJix5/gq6fnaVdASj1hghIYokvi4Q6oR7RiyADcwshscyjN2n+i7jTJgK GYtSR9h2aLC0GEtLdcSrGWiGfzFFMNxXwjOdshM993vSvPaRJNqMmYmDPZicOAo= =xRbq -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi--