Bug 124151 - winbind is ignored in compat mode in nsswitch.conf(5)
Summary: winbind is ignored in compat mode in nsswitch.conf(5)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 6.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-30 20:00 UTC by Yuri
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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