Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 18:49:18 GMT
From:      Yuri <yuk@dtmx.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/124151: winbind is ignored in compat mode in nsswitch.conf
Message-ID:  <200805301849.m4UInINk090527@www.freebsd.org>
Resent-Message-ID: <200805301900.m4UJ0C0l082394@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805301849.m4UInINk090527>