-
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.
-
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.:biggrin:
-
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
-
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.
-
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
-
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 .
-
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.
Page generated in 1,713,480,845.58099 seconds with 11 queries