Under /etc/init.d directory there is no folder with name samba in Solaris 10

i want to restart samba service in solaris 1o installed on virtual machine

but under

under /etc/init.d directory there is no folder with name samba in solaris 10

how do i proceed ?

is it installed ?

pkginfo |grep -i smb

check for SUNWsmbac SUNWsmbar SUNWsmbau SUNWsfman

pkginfo |grep -i smb
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)

i got this output with command pkginfo |grep -i smb .

depending on your solaris 10 version (check cat /etc/release ) read these two blogs:
solaris 10 ga - update 3:
https://blogs.oracle.com/timthomas/entry/enabling\_and\_configuring\_samba_as

update 4 - latest release:
https://blogs.oracle.com/timthomas/en\_GB/entry/samba\_and\_swat\_in_solaris

This is expected, there is either an executable (not a folder) named samba with older Solaris 10 updates or nothing at all with newer updates with which samba is managed by smf (eg: svcadm restart samba ) as DukeNuke2 second link shows.