1

CentOS 6.2

Не могу попасть в шару /home/rggp через Win7 на сервер
Юзера rggp создал и разрешил.
конфиг самбы

 workgroup = GIDROGEOL
        server string = Smb Server Gidrogeo %v

        bind interfaces only = yes
        interfaces = lo eth0 10.26.255.1/8
        hosts deny = ALL
        hosts allow = 127.0.0.1, 10.26.255.0

        log file = /var/log/samba/log.%m
        max log size = 1024

        security = user
        passdb backend = tdbsam

        dns proxy = yes

[homes]
        comment = User directory
        browseable = no
        writable = yes


 [public]
        comment = Public Stuff
        path = /home/samba
        public = yes
        writable = yes
        printable = no
        guest ok = yes


        [rggp]
        comment = vpub
        path = /home/rggp
        public = yes
        writable = yes
        printable = no
        valid users = rggp

smbclient //10.26.255.1/rggp -U rggp
Enter rggp's password:
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE

# samba
iptables -A INPUT -i eth1 -p udp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT
iptables -A OUTPUT -o eth1 -p udp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT

2

Ужас, пока не прописал

# samba
iptables -A INPUT -i eth1 -p udp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT
iptables -A OUTPUT -o eth1 -p udp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp -m multiport  --ports 135,136,137,138,139,445 -j ACCEPT

Пользователь rggp подключался через smbclient на хосте, но не на машине Win7.

Как вернуть обратно? И чтоб попадал на шару через Win7?

Службу SELinux отключил.