You are not logged in.
Pages: 1
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?
Offline
Open terminal
type
[c]pscan 127.0.0.1[/c]
hit Enter
Post output in your reply.
Offline
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
Offline
When samba server is running port 139 and 445 are open.
[c]tux@slitaz:~$ pscan 127.0.0.1[/c]
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:
[c]tux@slitaz:~$ ps -A | grep -e smbd -e nmbd[/c]
950 root /usr/sbin/smbd -D
952 root /usr/sbin/nmbd -D
956 root /usr/sbin/smbd -D
Start samba server:
[c]root@slitaz:/home/tux# /etc/init.d/samba start[/c]
Starting Samba server: /usr/sbin/smbd... [ OK ]
Starting Samba server: /usr/sbin/nmbd... [ OK ]
Offline
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
Offline
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
[c]tazpkg search-pkgname libcups.so.2[/c]
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
[c]# tazpkg -gi cups[/c]
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
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]