Samba file system share is not accessible and smbd log file reports "Failed to contact service for "share name": not-found" (Doc ID 1439047.1)

Last updated on AUGUST 01, 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.

Symptoms

A Samba file system share created in the in the smb.conf file is not accessible or viewable by Windows clients

The smbd log file (default /var/samba/log/log.smbd) will report a message such as the following:

Failed to contact service for test: not-found


A smbclient -L localhost -U user done on the system to list the shares would list the file system share as Printer in the Type column:

# smbclient -L localhost -U administrator
Enter administrator's password:
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.5.10]

Sharename   Type     Comment
---------   ----      -------
test        Printer



The smb.conf file share entry (/etc/sfw/smb.conf or /etc/samba/smb.conf depending on Samba version) for the share in question would appear as the following:

[test]
path = /share/test
public = no
writable = yes
printable = no

 

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