Samba ADS mode

Casey Scott casey at phantombsd.org
Tue Jun 28 04:32:31 GMT 2005


I am attempting to run Samba in ADS. According the Samba docs, I need to have 
windbind configured in /etc/nsswitch.conf like so: 

group: compat winbind
group_compat: nis
hosts: files dns
networks: files
passwd: compat winbind
passwd_compat: nis
shells: files


When configured as such, various processes begin spamming messages with 
entries like these:

Jun 27 21:19:46 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 8: 
'compat' used with other sources
Jun 27 21:19:46 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 12: 
'compat' used with other sources
Jun 27 21:19:46 eagle winbindd: NSSWITCH(nsparser): /etc/nsswitch.conf line 1: 
'compat' used with other sources
Jun 27 21:19:46 eagle winbindd: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 
'compat' used with other sources
Jun 27 21:19:53 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 8: 
'compat' used with other sources
Jun 27 21:19:53 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 12: 
'compat' used with other sources
Jun 27 21:20:00 eagle cron[843]: NSSWITCH(nsparser): /etc/nsswitch.conf line 
8: 'compat' used with other sources
Jun 27 21:20:00 eagle cron[843]: NSSWITCH(nsparser): /etc/nsswitch.conf line 
12: 'compat' used with other sources
Jun 27 21:20:00 eagle -su: NSSWITCH(nsparser): /etc/nsswitch.conf line 8: 
'compat' used with other sources
Jun 27 21:20:00 eagle -su: NSSWITCH(nsparser): /etc/nsswitch.conf line 12: 
'compat' used with other sources
Jun 27 21:20:03 eagle vi: NSSWITCH(nsparser): /etc/nsswitch.conf line 1: 
'compat' used with other sources
Jun 27 21:20:03 eagle vi: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 
'compat' used with other sources

Any suggestions on this would be appreciated.

Casey


More information about the freebsd-questions mailing list