Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 603964

Summary: net-fs/samba-4.2.14 bad defaults ( references /usr/local in /etc/samba/smb.conf.default )
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-28 18:43:30 UTC
grep -n 'local'  /etc/samba/smb.conf.default 

55:   log file = /usr/local/samba/var/log.%m
73:;   include = /usr/local/samba/lib/smb.conf.%m
121:;   path = /usr/local/samba/lib/netlogon
130:;    path = /usr/local/samba/profiles

This is a regression from previous versions and I discovered this with dispatch-conf due to that path being config-protected.

This was different in 4.1.17 ( my previous installation, which was installed a lifetime ago, March 11 2015 )

These lines were all respectively:

  log file = /var/log/samba/log.%m
  include = /etc/samba/smb.conf.%m
  path = /var/lib/samba/netlogon
  path = /var/lib/samba/profiles

Also, possibly related in the printer defaults:

- path = /var/spool/samba
+ path = /usr/spool/samba