From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 11:09:28 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 2CEF07B2 for ; Mon, 22 Sep 2014 11:09:28 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7F85347 for ; Mon, 22 Sep 2014 11:09:27 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id r20so2673045wiv.8 for ; Mon, 22 Sep 2014 04:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bW23YyRTw0+qLzdVE8swFkBVF4G9uVMS7SfPaVQNzb0=; b=ruIHM5R8cQtUu8CS7+h2MqJ+/rJ8lpVcmyJbVBZXJwt5hD45sPLTmh8g3ZRVb1hiVV 9LUlnDmh1ybyAZVjWN9Yf2bsaNHGesEs4BqJSMNLGgk9GqXJwqwbHIMJeaim6X81bOEt roWdaFmPHLqpHOWkE9BveWCMj3dVaIjZtndcgzGFRU8N2/mkRK5/eZU2LoP+d+5YS0T9 KUUY4mKo2ecyQgqu45+Wh9F8i+CXc/Y3quKeDFpURGZl+EtkgZCHcfAb9guHXx7XlZRF 7tC7nlJ68Hzm/AJzImDefXxT3OmeareC9hwpW5iOpBEBxQBMVSzDbBMoi6t0PoiN5Pw1 X+kw== X-Received: by 10.180.101.202 with SMTP id fi10mr14309995wib.17.1411384165497; Mon, 22 Sep 2014 04:09:25 -0700 (PDT) Received: from [192.168.1.145] ([193.173.55.180]) by mx.google.com with ESMTPSA id v20sm11717130wib.4.2014.09.22.04.09.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Sep 2014 04:09:25 -0700 (PDT) Message-ID: <54200365.9090208@gmail.com> Date: Mon, 22 Sep 2014 13:09:25 +0200 From: Johan Hendriks User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Victor Sudakov Subject: Re: FreeBSD + winbindd success stories? References: <20140922104923.GA96132@admin.sibptus.tomsk.ru> In-Reply-To: <20140922104923.GA96132@admin.sibptus.tomsk.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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:09:28 -0000 Op 22-09-14 om 12:49 schreef Victor Sudakov: > Colleagues, > > 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. I use samba in our domain from version samba 3.0 to 4.1 and I have no problems. regards