Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Swat (Samba) not work

881878Mar 25 2012 — edited Mar 26 2012
I installed Samba;
I configured everything and now I can access a folder (via Windows 7), except that the same address on port 901, can not access SWAT.
An interesting detail: When accessing my Samba server via Telnet and directing to port 901, the following error appears:

ld.so.1: swat: fatal: libtalloc.so: open failed: No such file or directory+


Connection host lost.+

The following data from my Samba server:

==========================================================================
# cat /etc/release
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010

==========================================================================

# cat /etc/inet/services
.
.
.
swat 901/tcp #samba web admin tool
swat 901/udp #samba SWAT
netbios-ssn 139/tcp # Samba
netbios-ns 137/udp # Samba

==========================================================================

# inetconv
inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
inetconv: Notice: Service manifest for swat already generated as /var/svc/manifest/network/swat-tcp.xml, skipped

==========================================================================
# cat /etc/inetd.conf
# SWAT is a Samba web admin tool
swat stream tcp nowait root /usr/sfw/sbin/swat swat

==========================================================================

# cat /usr/local/samba/lib/smb.conf
[global]
server string = Samba Server
log file = /var/samba/log/log.%m
max log size = 50
dns proxy = No

workgroup = df
security = user


lanman auth = Yes
client lanman auth = Yes


[Pasta Samba]
#diretorio compartilhado
path = /usr/poyato
available = yes
browseable = yes
writable = yes
create mask = 0777
read only = No
guest ok = Yes

==========================================================================

# testparm
Load smb config files from /etc/sfw/smb.conf
Processing section "[Pasta Samba]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = DF
server string = Samba Server
log file = /var/samba/log/log.%m
max log size = 50
dns proxy = No

[Pasta Samba]
path = /usr/poyato
read only = No
create mask = 0777
guest ok = Yes

==========================================================================

# smbd -V
Version 3.4.2


# nmbd -V
Version 3.4.2

==========================================================================
# smbstatus

Samba version 3.0.37
PID Username Group Machine
-------------------------------------------------------------------
1497 poyato other esbsb9903kk18 (172.18.17.226)

Service pid machine Connected at
-------------------------------------------------------
IPC$ 1497 esbsb9903kk18 Sun Mar 25 10:23:49 2012

==========================================================================

# inetadm -l swat/tcp
SCOPE NAME=VALUE
name="swat"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/local/samba/sbin/swat"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=FALSE
default connection_backlog=10



Tanks!

Edited by: user13045950 on 25/03/2012 08:32
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2012
Added on Mar 25 2012
9 comments
1,066 views