From owner-freebsd-questions Fri Aug 9 9:13: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B42B537B400 for ; Fri, 9 Aug 2002 09:13:04 -0700 (PDT) Received: from inigo.digitaldeck.com (twindolphin-xo.digitaldeck.com [66.237.41.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5623443E42 for ; Fri, 9 Aug 2002 09:13:04 -0700 (PDT) (envelope-from questions@digitaldeck.com) Received: from IVANOVA2K (ivanova-2k.office-ca1.digitaldeck.com [192.168.1.133]) by inigo.digitaldeck.com (8.12.3/8.12.3) with SMTP id g79GD4Wl009496 for ; Fri, 9 Aug 2002 09:13:04 -0700 (PDT) (envelope-from questions@digitaldeck.com) From: "Chris McCluskey" To: Subject: FW: Winbind help on FreeBSD Date: Fri, 9 Aug 2002 09:13:59 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Tried to get an answer from the Samba general mailing list, but I thought I would try closer to home.] It looks like the nss code for Linux and Free/NetBSD is a little different. Has anyone successfully run Winbind with FreeBSD (I assume it's FreeBSD 5.0)?! Unless I'm mistaking the FreeBSD 5.0 version of nsswitch doesn't support third party libraries (ie libnss_windbind). Any pointer would be appreciated since there is little on FreeBSD and Winbind out there. My basic issue is that that getent doesn't return what is expected. Everything compiled fine. However in following the instructions for Linux contained in the Samba FAQ, I attempt to get a password list though getpwent (which wasn't native to the OS -- I get it from http://www.domtools.com/unix/getent.shtml). All it returns is the local users list -- not the local list + the domain user info. wbinfo -u or -g work as expected -- returning a list of all domain user or groups respectively, which suggests that at least the windbind component is functioning as expected, but the nsswitch functionality is not. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message