From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 18 02:31:50 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4903416A4CE for ; Thu, 18 Dec 2003 02:31:50 -0800 (PST) Received: from green.veraserve1.com (green.veraserve1.com [205.214.81.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EBFB43D49 for ; Thu, 18 Dec 2003 02:31:49 -0800 (PST) (envelope-from christoffer@trollcomputing.com) Received: from cpanel by green.veraserve1.com with local (Exim 4.24) id 1AWvRe-0001p9-EQ for freebsd-hackers@freebsd.org; Thu, 18 Dec 2003 03:31:50 -0700 Received: from ft016081.dep.no (ft016081.dep.no [132.150.16.81]) by www.trollcomputing.com (IMP) with HTTP for ; Thu, 18 Dec 2003 03:31:50 -0700 Message-ID: <1071743510.3fe1821661a98@www.trollcomputing.com> Date: Thu, 18 Dec 2003 03:31:50 -0700 From: christoffer@trollcomputing.com To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 132.150.16.81 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - green.veraserve1.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [32001 32001] / [47 12] X-AntiAbuse: Sender Address Domain - trollcomputing.com Subject: nsswitch/libnss_winbind.so problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 10:31:50 -0000 Hello all! I'm running FreeBSD v. 5.1 I'm having problems getting commands like chmod and chown to read winbind data. I've installed samba from ports with the make WITH_WINBIND_NSS=yes compile option. I've also created a /etc/nsswitch.conf file containing: passwd: files winbind group: files winbind I've copied the : /usr/ports/net/samba/work/samba-2.2.8a/source/nsswitch/libnss_winbind.so to: /usr/lib (also tried /usr/local/lib) I've done all the nessecary samba configurations, and can get user and groups with : wbinfo -u and -g. I've allso joined my NT domain with no problems, so winbind is working properly. The thing is that commands like chmod and chown can not assign to the winbind gathered user/group list. I belive these commands use the information from /etc/nsswitch.conf when they get usernames and groupnames? I just get "invalid argument" when trying to chown a file to a user from the winbind list. Please help me out!