Newsgroup: it.comp.os.linux.sys
Titolo: FC6 - X64 + Xen: SAMBA non funziona

Ho isntallato FC6 vesrione 64 bit con kernel Xen. 
Samba non mi funziona: l'autenticazione va in timeout anche in locale
!
Sapete se c'e' qualche bug ?
Grazie!

 Sapete se c'e' qualche bug ?
I log cosa dicono ?

 wrote:

[root@Antiochia samba]# smbclient //Antiochia/frank  -d4 -U frank
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = afc82
doing parameter server string = Samba Server
doing parameter printcap name = /etc/printcap
doing parameter load printers = yes
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 100
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /etc/samba/smbpasswd
doing parameter username map = /etc/samba/smbusers
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
doing parameter local master = no
doing parameter name resolve order = lmhosts bcast
doing parameter dns proxy = no
doing parameter idmap uid = 16777216-33554431
doing parameter idmap gid = 16777216-33554431
doing parameter template shell = /bin/false
doing parameter winbind use default domain = no
doing parameter username map = /etc/samba/smbusers
doing parameter guest ok = yes
pm_process() returned Yes
added interface ip=192.168.0.230 bcast=192.168.0.255
nmask=255.255.255.0
Client started (version 3.0.24-1.fc6).
resolve_lmhosts: Attempting lmhosts lookup for name Antiochia<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
getlmhostsent: lmhost entry: 192.168.0.2 Atene
getlmhostsent: lmhost entry: 192.168.0.230 Antiochia
Connecting to 192.168.0.230 at port 445
 session request ok
Password:
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
SPNEGO login failed: NT_STATUS_IO_TIMEOUT
session setup failed: Call timed out: server did not respond after
20000 milliseconds

 wrote:

Mi va in timeout anche un semplice
smbclient - L sambaserver 

 20000 milliseconds
Firewall ?

 wrote:

Come mai il MAC č nullo?
 nmblookup -S  Antiochia
querying Antiochia on 192.168.0.255
192.168.0.230 Antiochia<00>
Looking up status of 192.168.0.230
        ANTIOCHIA       <00> -         B <ACTIVE>
        ANTIOCHIA       <03> -         B <ACTIVE>
        ANTIOCHIA       <20> -         B <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
        AFC82           <1d> -         B <ACTIVE>
        AFC82           <1e> - <GROUP> B <ACTIVE>
        AFC82           <00> - <GROUP> B <ACTIVE>
        MAC Address = 00-00-00-00-00-00

Firewall ?
Sono sul server samba e poi il firewall è configurato per lasciar
passare samba. 
Ecco iptables -L
[root@Antiochia proc]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  anywhere             anywhere
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  anywhere             anywhere
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     esp  --  anywhere             anywhere
ACCEPT     ah   --  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251         udp
dpt:mdns
ACCEPT     udp  --  anywhere             anywhere            udp
dpt:ipp
ACCEPT     tcp  --  anywhere             anywhere            tcp
dpt:ipp
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:nfs
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:smtp
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:ssh
ACCEPT     udp  --  anywhere             anywhere            state NEW
udp dpt:netbios-ns
ACCEPT     udp  --  anywhere             anywhere            state NEW
udp dpt:netbios-dgm
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:netbios-ssn
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:microsoft-ds
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:https
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:5901
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:irdmi
ACCEPT     udp  --  anywhere             anywhere            state NEW
udp dpt:irdmi
ACCEPT     udp  --  anywhere             anywhere            state NEW
udp dpt:mysql
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp dpt:mysql
ACCEPT     udp  --  anywhere             anywhere            state NEW
udp dpt:vcom-tunnel
REJECT     all  --  anywhere             anywhere reject-with
icmp-host-prohibited

 wrote:

RISOLTO !
nel file smb.conf non c'e' la direttiva security di default oppure il
tool grafico la sbaglia.
ho messo la direttiva security = share e ora va tutto !
GRAZIE a tutti