Not able to find samba client service in Solaris 10

Hi

I am new to samba & I need to configure samba client on Solaris 10 machine where I need to mount/share window folder (Window 2008 machine is configured as samba server).

I am following below mention link to mount this window's folder.

https://blogs.oracle.com/gerhardhofweber/entry/how\_to\_share\_directory_between

but I am not able to find "svcadm enable smb/client" service. Please let me what need to be done to on my solaris machine(147440-01)

How you start the Samba client depends on which version of Solaris 10 you have installed.

What is the output of:

# /usr/sfw/sbin/smbd -V 

Thank for the response fpmurphy

I am using solaris 10 having kernel level is 147440-01

Please find the output of smbd -V

 
bash-3.2# type smbd
smbd is /usr/sbin/smbd
bash-3.2#
bash-3.2# smbd -V
Version 3.5.8
bash-3.2#
 

There are 12 versions of solaris 10... Check /etc/relase for version infos.

If you have an /etc/init.d/samba script, you can start Samba that way

# /etc/init.d/samba start

Otherwise you could do something like:

# /usr/sfw/sbin/smbd -s /etc/sfw/smb.conf -D

assuming /etc/sfw/smb.conf is the location of your Samba configuration file.

HI DukeNuke2

Please find the release date

 
bash-3.2# cat /etc/release
                   Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                            Assembled 23 August 2011
bash-3.2#
 

Hi fpmurphy

There is no samba script in /etc/init.d folder & I think the command you have mention is related to starting the samba server not the samba client

More over when I am running below command I am getting error please find the output

 
bash-3.2# /usr/sbin/smbd -s /etc/sfw/smb.conf -D
bash-3.2#
bash-3.2#
bash-3.2# ps -ef|grep smdb
    root  4998  4918   0 21:08:38 pts/3       0:00 grep smdb
bash-3.2#
bash-3.2# mount -F smbfs //192.168.11.34/abc  /mnt
mount: Operation not applicable to FSType smbfs
bash-3.2#
bash-3.2# svcs -a|grep samba
disabled       21:09:59 svc:/network/samba:default
bash-3.2#

For your information

//192.168.11.34/abc

folder on window machine acting as a samba server

Please let me know how to proceed

First confirm that its installed. It should be as it ships with solaris 9 and 10. But just confirm it.

# pkginfo | grep samba
system      SUNWsmbac                samba - A Windows SMB/CIFS fileserver for UNIX (client)
system      SUNWsmbar                        samba - A Windows SMB/CIFS fileserver for UNIX (Root)
system      SUNWsmbau                        samba - A Windows SMB/CIFS fileserver for UNIX (Usr)

If it exist query the package information.

pkginfo -l SUNWsmbac
   PKGINST:  SUNWsmbac
      NAME:  samba - A Windows SMB/CIFS fileserver for UNIX (client)
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.10.0,REV=2005.01.08.01.09
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  samba - A Windows SMB/CIFS fileserver for UNIX (client)
    PSTAMP:  sfw10-patch-x20090718075958
  INSTDATE:  Feb 22 2013 08:44
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        3 installed pathnames
                   3 shared pathnames
                   3 directories

you can also pkgchk to try and locate the directory.

# pkgchk -l -P samba

or even the find command.

# find / -name samba | more

Over all you want to confirm the client package is installed and find out where its located.

Hi, what ever happened with this? Has his been resolved? How did you resolve it?