Helló!
Kicsit hosszú.

A tegnap vázolt probléma maradt, a samba servert nem érem el a localhostról se, meg az engedélyezett hostokról se.
A következőket látom:
bf...@sirius:~$ sudo smbtree
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface eth1 ip=192.168.1.254 bcast=192.168.1.255 netmask=255.255.255.0 added interface eth2 ip=192.168.2.254 bcast=192.168.2.255 netmask=255.255.255.0 added interface eth3 ip=192.168.3.254 bcast=192.168.3.255 netmask=255.255.255.0 added interface eth4 ip=192.168.5.254 bcast=192.168.5.255 netmask=255.255.255.0 added interface eth0 ip=195.199.213.146 bcast=195.199.213.151 netmask=255.255.255.248
Enter root's password:
Connecting to host=192.168.1.254
Connecting to 192.168.1.254 at port 445
Connecting to 192.168.1.254 at port 139
Error connecting to 192.168.1.254 (A csatlakozás megtagadva)
cli_start_connection: failed to connect to 192.168.1.254<20> (192.168.1.254). Error NT_STATUS_CONNECTION_REFUSED
Connecting to host=SIRIUS
Connecting to 192.168.1.254 at port 445
Connecting to 192.168.1.254 at port 139
Error connecting to 192.168.1.254 (A csatlakozás megtagadva)
cli_start_connection: failed to connect to SIRIUS<20> (192.168.1.254). Error NT_STATUS_CONNECTION_REFUSED
bf...@sirius:~$ net rpc rights list
Enter bferi's password:
Receiving SMB: Server stopped responding
Could not connect to server 127.0.0.1
Connection failed: NT_STATUS_IO_TIMEOUT
bf...@sirius:~$

Eközben a samba futkos:
r...@sirius:/etc/samba# ps aux|grep mbd
root     31728  0.0  0.0   9924  2084 ?        Ss   08:48   0:00 nmbd
root 31733 0.0 0.1 15900 2896 ? Ss 08:48 0:00 smbd -s /etc/samba/2.conf root 31762 0.0 0.0 15780 1132 ? S 08:50 0:00 smbd -s /etc/samba/2.conf root 31767 0.0 0.0 15900 2584 ? S 08:51 0:00 smbd -s /etc/samba/2.conf root 31804 0.0 0.0 15900 2504 ? S 08:52 0:00 smbd -s /etc/samba/2.conf root 31808 0.0 0.1 15900 2776 ? S 08:53 0:00 smbd -s /etc/samba/2.conf root 31812 0.0 0.0 15900 2384 ? S 08:53 0:00 smbd -s /etc/samba/2.conf root 31814 0.0 0.0 15900 2472 ? S 08:53 0:00 smbd -s /etc/samba/2.conf root 31818 0.0 0.0 15900 2388 ? S 08:53 0:00 smbd -s /etc/samba/2.conf root 31820 0.0 0.0 15900 2388 ? S 08:53 0:00 smbd -s /etc/samba/2.conf
r...@sirius:/etc/samba# fuser -vn tcp 139
                     USER        PID ACCESS COMMAND
139/tcp:             root      31733 F.... smbd
r...@sirius:/etc/samba# fuser -vn tcp 445
                     USER        PID ACCESS COMMAND
445/tcp:             root      31733 F.... smbd
                     root      31767 F.... smbd
                     root      31808 F.... smbd
                     root      31812 F.... smbd
                     root      31818 F.... smbd
                     root      31820 F.... smbd
                     root      31827 F.... smbd
                     root      31831 F.... smbd
                     root      31836 F.... smbd

<idegbaj>
Mi a ()E/'+=()/'"(='"/+!=()/'"=(+-nek tagadja meg a csatlakozást aza '%/+!'"%/+!'"%/ samba?????
</idegbaj>
A tűzfal se lehet gond:
bf...@bellatrix:~$ nmap 192.168.1.254

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-10 08:46 CEST
Interesting ports on 192.168.1.254:
Not shown: 986 closed ports
PORT      STATE SERVICE
<nyissz>
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
</nyissz>

Nmap done: 1 IP address (1 host up) scanned in 0.45 seconds
bf...@bellatrix:~$

???????????????????????????????????????????????????????
Ha kell. küldöm az smb.conf-ot (a fenti 2.conf ugyanaz, csak kihagytam a megosztásokat és az smb ports paramétert).

--
--------------------------------------------------------------------------
                                                              Baján Ferenc
_______________________________________________
Techinfo mailing list
[email protected]
Fel- és leiratkozás: http://lista.sulinet.hu/mailman/listinfo/techinfo
Illemtan: http://www.szag.hu/illemtan.html
Ügyfélszolgálat FAQ: http://www.kozhaloportal.hu/gyik/altalanos/

válasz