hello
i've installed slitaz3, and samba on a computer
enabled samba at startup, set up shares.
with firewall disabled, i still just can't connect in smb to the computer (no authentification asked)
dcan you help me?
hello
i've installed slitaz3, and samba on a computer
enabled samba at startup, set up shares.
with firewall disabled, i still just can't connect in smb to the computer (no authentification asked)
dcan you help me?
Open terminal
type
pscan 127.0.0.1
hit Enter
Post output in your reply.
root@amilopro:/home/tux# pscan 127.0.0.1
Scanning 127.0.0.1 ports 1 to 1024
Port Proto State Service
22 tcp open ssh
1023 closed, 1 open, 0 timed out (or blocked) ports
When samba server is running port 139 and 445 are open.
tux@slitaz:~$ pscan 127.0.0.1
Scanning 127.0.0.1 ports 1 to 1024
Port Proto State Service
139 tcp open netbios-ssn
445 tcp open unknown
1022 closed, 2 open, 0 timed out (or blocked) ports
Check samba server process:
tux@slitaz:~$ ps -A | grep -e smbd -e nmbd
950 root /usr/sbin/smbd -D
952 root /usr/sbin/nmbd -D
956 root /usr/sbin/smbd -D
Start samba server:
root@slitaz:/home/tux# /etc/init.d/samba start
Starting Samba server: /usr/sbin/smbd... [ OK ]
Starting Samba server: /usr/sbin/nmbd... [ OK ]
oot@amilopro:/home/tux# ps -A |grep -e smbd -e nmbd
1353 root /usr/sbin/nmbd -D
28535 root grep -e smbd -e nmbd
root@amilopro:/home/tux# /etc/init.d/samba restart
Samba: /usr/sbin/smbd is not running.
Stopping Samba server: /usr/sbin/nmbd... [ OK ]
Starting Samba server: /usr/sbin/smbd... /usr/sbin/smbd: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory
[ Failed ]
Starting Samba server: /usr/sbin/nmbd...
(i installed it with http://doc.slitaz.org/en:guides:samba )
# tazpkg -gi samba
Starting Samba server: /usr/sbin/smbd... /usr/sbin/smbd: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory
[ Failed ]
Search for tazpkg which owns libcups.so.2
tazpkg search-pkgname libcups.so.2
Search result for file : libcups.so.2
================================================================================
cups
cups-pam
================================================================================
2 pkg(s) found with file : libcups.so.2
Install the tazpkg with libcups.so.2
# tazpkg -gi cups
Slitaz-3.0: Samba should have had cups as DEPENDS so it auto-installs, samba-pam does.
Slitaz-4.0 and 5.0: Samba has cups as DEPENDS
You must log in to post.