Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Samba on Solaris 10

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 15-07-2010
Member
 
Join Date: Apr 2010
Posts: 91
Samba on Solaris 10
  

I need to install samba on solaris, I am trying to follow the tutorial found on website but when I get to the 2nd stage ( installation ) with the command pkgadd - d nom_fihcier , the OS command not found myself out . In Solaris Express 8 / 04 , Samba, which provides file and print services for SMB clients / CIFS clients , has been upgraded to version 3.0.4. Please help.

Reply With Quote
  #2  
Old 15-07-2010
Dr. V
 
Posts: n/a
Re: Samba on Solaris 10

It must first download the package on the sun website. You get a file like this : samba - 3.0.2a- sol9 - sparc - local.gz.
# gunzip samba - 3.0.2a - sol9 - sparc - local.gz / / decompress
# pkgadd - d samba - 3.0.2a - sol9 - sparc -local / / Install
This package installs the programs in the directory " / usr / local / samba .
# MANPATH = $ MANPATH : / usr / man / : / usr / local / man : / usr / local / samba / man
# export MANPATH
Create the directory " / usr / local / samba / var / locks " if not there already.
Reply With Quote
  #3  
Old 15-07-2010
Member
 
Join Date: May 2008
Posts: 2,673
Re: Samba on Solaris 10

To begin configure, create directory " / share " as follows:
Code:
# mkdir / share
# chmod 777 / share
# chmod + t / share
# chown sys / share
# chgrp sys share
Then, create the configuration file " smb.conf ". You can create it from the examples that come with the program. cp / usr / local / samba / doc / examples / smb.conf.Unix / usr / local / samba / lib / smb.conf. Then edit it and make changes to suit you. A single file could be: ( / usr / local / samba / lib / smb.conf )

# Global parameters
Code:
   [Global]
 HOME workgroup =
 security       Share =
  hosts       allow = localhost , local - machine- name , 192.168.1 .
               hosts       deny = All
        [ root]
               path       = /
               how       Solaris root =
               guest       ok = Yes
               read       only = Yes
        [ share]
               path       = / share
               how       = Solaris share
               guest       ok = Yes
               read       only = No
Reply With Quote
  #4  
Old 15-07-2010
Member
 
Join Date: Nov 2005
Posts: 3,024
Re: Samba on Solaris 10

You need to check configuration:
# cd / usr / local / samba / bin
# . / testparm
You will see displayed the configuration you made in the file "/ usr / local / samba / smb.conf ". In case of error, and read correct.
After that launch a windows machine , you should see your server in the Solaris Network Neighborhood Or , type http:// <IPServeur> : 901 in a browser, you will can you connect to your samba server with an existing account such as root.
Reply With Quote
  #5  
Old 15-07-2010
Member
 
Join Date: Apr 2008
Posts: 3,516
Re: Samba on Solaris 10

You also need to start samba server.
#
Code:
 vi / etc / inet / services / / edit the file
Immediately after the line :
Code:
sunrpc     111/tcp rpcbind
Insert two following lines :
Code:
 netbios-ns # Samba 137/UDP     nmbd
    netbios- ssn Samba smbd 139/TCP #
And after the line :
Code:
ldaps 636/udp # LDAP protocol     over TLS / SSL (was sldap )
Insert line :
Code:
 swat 901/tcp # Samba     swat
Then edit the file "/ etc / inet / inetd.conf "and add these three lines end of file:
Code:
netbios- ssn stream tcp     nowait root / usr / local / samba / bin / smbd smbd
Code:
 netbios-ns dgram udp wait root / usr / local / samba / bin / nmbd nmbd
    swat stream tcp nowait.400 root / usr / local / samba / bin / swat swat
Finally , restart the process inetd:
Code:
# pkill - HUP inetd

Last edited by Calvin K : 15-07-2010 at 06:22 AM.
Reply With Quote
  #6  
Old 15-07-2010
nealrelics
 
Posts: n/a
Re: Samba on Solaris 10

I recently joined this forum. I need configuration details of Samba on Solaris 10 would be better if it is a step by step explanation of the procedure. The hopes of conduct Thanks in advance .
Reply With Quote
  #7  
Old 16-07-2010
Member
 
Join Date: Feb 2010
Posts: 796
Re: Samba on Solaris 10

Once installed, and Debian will propose the configuration samba. A first screen displayed to give information on this program. We must pass this screen by validating OK. Then the setup program asks whether to start samba as a daemon or via inetd. We must choose demons. A screen of information on passwords and encryption appears , simply pass by validating OK. A new screen then proposes to create the file / etc / samba / smbpasswd. Reply No.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Samba on Solaris 10"
Thread Thread Starter Forum Replies Last Post
Is there available NetBackup 7.0 and 32-bit Solaris Chakradevroy Operating Systems 4 03-06-2011 09:50 PM
SSH problem on Solaris KALINDA Networking & Security 6 26-07-2010 10:31 AM
How to use Dtrace in Solaris OS Radames Operating Systems 4 05-02-2010 04:50 AM
The New Version Of Samba is out : Samba 3.3.4 jesse Windows Software 1 02-05-2009 12:05 AM
What is Solaris 10 Sean J Operating Systems 2 03-11-2008 06:28 PM


All times are GMT +5.5. The time now is 09:14 AM.