Results 1 to 7 of 7

Thread: Samba on Solaris 10

  1. #1
    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.

  2. #2
    Dr. V Guest

    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.

  3. #3
    Join Date
    May 2008
    Posts
    2,680

    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

  4. #4
    Join Date
    Nov 2005
    Posts
    3,026

    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.

  5. #5
    Join Date
    Apr 2008
    Posts
    3,522

    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.

  6. #6
    nealrelics Guest

    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 .

  7. #7
    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.

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,700,435.19107 seconds with 17 queries