misc/124151: winbind is ignored in compat mode in nsswitch.conf

Yuri yuk at dtmx.com
Fri May 30 19:00:12 UTC 2008


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


More information about the freebsd-bugs mailing list