From owner-freebsd-bugs@FreeBSD.ORG Fri May 30 19:00:12 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B279E1065672 for ; Fri, 30 May 2008 19:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A491B8FC2C for ; Fri, 30 May 2008 19:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4UJ0CXU082395 for ; Fri, 30 May 2008 19:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4UJ0C0l082394; Fri, 30 May 2008 19:00:12 GMT (envelope-from gnats) Resent-Date: Fri, 30 May 2008 19:00:12 GMT Resent-Message-Id: <200805301900.m4UJ0C0l082394@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED7F1065670 for ; Fri, 30 May 2008 18:51:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 87F2F8FC1C for ; Fri, 30 May 2008 18:51:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4UInI8d090528 for ; Fri, 30 May 2008 18:49:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4UInINk090527; Fri, 30 May 2008 18:49:18 GMT (envelope-from nobody) Message-Id: <200805301849.m4UInINk090527@www.freebsd.org> Date: Fri, 30 May 2008 18:49:18 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/124151: winbind is ignored in compat mode in nsswitch.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 19:00:12 -0000 >Number: 124151 >Category: misc >Synopsis: winbind is ignored in compat mode in nsswitch.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 30 19:00:12 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 6.3-RELEASE >Organization: Exigen >Environment: metida-new# uname -a FreeBSD metida-new.exigengroup.com 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: "compat" mode really works only with "nis", nothing else. It is still possible to run _both_ NIS and WINBIND at the same time, but not in "compat" mode. Working nsswitch.conf file: group: file nis winbind But it means _all_ NIS domain is imported, all "+" and "-" are ignored in group or passwd. Neither of those two works: a) group: compat winbind group_compat: nis b) group: compat group_compat: nis winbind >How-To-Repeat: 1) enable NIS, verify if it works 2) ebale winbind, verify it works 3) change /etc/nsswitch.conf to enable both in compat mode >Fix: don't use "compat" mode. Simply goes with ordinary syntax: group: files nis winbind passwd: file nis winbind >Release-Note: >Audit-Trail: >Unformatted: