Samba Fails To Start Following Solaris Patch 146363-01(sparc) /146364-01(x86) - 119757-20(sparc) /119757-20(x86) (Doc ID 1309450.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 3/05 to 10 1/13 U11 [Release 10.0]
Information in this document applies to any platform.
***Checked for relevance on 10-Jan-2014***

Symptoms

Samba services fail to start after installing Samba patches 146363-01 or 119757-20 (sparc) /119757-20 (x86)  or above.
Note that 146363-01 (sparc) / 146364-01 (x86) are obsoleted by 119757-20 (sparc) /119757-20 (x86).

messages show:

Feb 11 11:10:49 svc.startd[7]: svc:/network/samba:default: Method "/usr/sbin/smbd -D" failed with exit status 1.


and the /var/samba/log/log.smbd shows:

smbd version 3.5.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/02/11 11:34:18.881577, 1] ../lib/util/params.c:513()
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
[2011/02/11 11:34:19.045729, 0] smbd/server.c:1134()
error opening config file

Changes

The location of the configuration files was moved to simplify admin, support,
and sustaining of Samba by using a standard directory location.
/etc/samba is also the location used in Solaris 11 and other OS.

Note from Readme on Patch 119757-20 or above

NOTE 3: Configuration changes may be required. The smb.conf file has moved
from /etc/sfw to /etc/samba to avoid unintentional launch of Samba
services without a manual check of the smb.conf file.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms