samba on solaris 10
807557Feb 13 2006 — edited Dec 19 2008hi guys i've a problem with samba installation....
i've download it from sunfreeware and install it.
i've make a share directory
mkdir /share
chmod 777 /share
chmod +t /share
chown sys /share
chgrp sys share
-------------
after i've make smb.conf
# Global parameters
workgroup = HOME
security = Share
hosts allow = localhost, sunsparc, 192.168.1.
hosts deny = All
[root]
path = /
comment = Solaris root
guest ok = Yes
read only = Yes
[share]
path = /share
comment = Solaris share
guest ok = Yes
read only = No
i've send ./testparm and it show:
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[root]"
Processing section "[share]"
Processing section "[user]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
-----------
after i've edited my /etc/services file
netbios-ns 137/udp # Samba nmbd
netbios-ssn 139/tcp # Samba smbd
....
....
swat 901/tcp # Samba swat
-------------
i've also edited /etc/inetd.conf with this 3 lines
netbios-ssn stream tcp nowait root /usr/local/samba/sbin smbd
netbios-ns dgram udp wait root /usr/local/samba/sbin nmbd
swat stream tcp nowait.400 root /usr/local/samba/sbin swat
----------------
pkill -HUP smbd
pkill -HUP nmbd
pkill -HUP inetd
----------------
But there is a problem...
when i try to access to swat with my browser
http://localhost:901 or http://ipaddress:901
it show that the connection was rejected
how can i do?