From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 11:14:00 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B0FE7858 for ; Mon, 22 Sep 2014 11:14:00 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1D36E3F8 for ; Mon, 22 Sep 2014 11:13:59 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 36635634; Mon, 22 Sep 2014 18:13:57 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id s8MBDvg7096895; Mon, 22 Sep 2014 18:13:57 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id s8MBDvL6096894; Mon, 22 Sep 2014 18:13:57 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 22 Sep 2014 18:13:57 +0700 From: Victor Sudakov To: Johan Hendriks Subject: Re: FreeBSD + winbindd success stories? Message-ID: <20140922111356.GA96700@admin.sibptus.tomsk.ru> References: <20140922104923.GA96132@admin.sibptus.tomsk.ru> <54200365.9090208@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54200365.9090208@gmail.com> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 11:14:00 -0000 Johan Hendriks wrote: > > > > If someone has successfully configured winbind with FreeBSD, please > > share your success story. > > > > I cannot make it work for some reason. "wbinfo -t" reports success, > > "wbinfo -u" lists users on the domain controller. So I assume > > samba+winbindd are configured and joined correctly. > > > > Next I edit /etc/nsswitch.conf to include: > > group: files winbind > > passwd: files winbind > > > > But "getent passwd" does not list any Windows users, only local Unix ones. > > > > What am I doing wrong? > > > > I would very much like to hear from someone who successfully sees > > DOMAIN\user users on her FreeBSD system. > > > > If you do the following what is the output > > # id > > It should give you the AD users info. No, it says "no such user". I have tried both "FOO\\bob" and simply "bob" to no avail. > I use samba in our domain from > version samba 3.0 to 4.1 and I have no problems. Could you please show your smb.conf (the part relevant to winbind operation) and nsswitch.conf ? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru