Bug 124151

Summary: winbind is ignored in compat mode in nsswitch.conf(5)
Product: Base System Reporter: Yuri <yuk>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.3-RELEASE   
Hardware: Any   
OS: Any   

Description Yuri 2008-05-30 20:00:12 UTC
"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

Fix: 

don't use "compat" mode. Simply goes with ordinary syntax:

group: files nis winbind
passwd: file 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
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:18 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped