PDA

View Full Version : Maledetto samba


maulattu
12-03-2006, 13:59
come da oggetto...
installo samba sul mio portatile (Kubuntu 5.10), seguo tutti i bei tutorial del caso, ma non funziona una cippa. Quando da konqueror vado in smb:// dopo qualche secondo mi dice che non trova nessun workgroup x problemi di firewall. Dal portatile pingo riesco a pingare il pc fisso (con win xp), idem il viceversa.
ho provato a chiudere firestarter (portatile) e il firewall che ho sul pc fisso, ma nisba... ah, dimenticavo, ho riavviato samba quando modificato smb.conf ;)
nemmeno dal pc fisso con win xp riesco a vedere il portatile in risorse di rete
ecco smb.conf

======================= Global Settings =======================

[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
socket options = TCP_NODELAY IPTOS_LOWDELAY
obey pam restrictions = yes
username map = /etc/samba/smbusers
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam guest
dns proxy = no
server string = %h server (Samba, Ubuntu)
invalid users = root
default = homes
workgroup = WORKGROUP
os level = 20
security = user
syslog = 0
panic action = /usr/share/samba/panic-action %d
max log size = 1000

[homes]
create mask = 0700
comment = Home Directories
directory mask = 0700
valid users = maurizio

[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom

il file /etc/samba/smbusers č cosė fatto:
maurizio = "maurizio"

ho provato anche con webmin, con la guida di web-wolf, ma nisba. il mio portatile ed il pc fisso son collegati con un router ed hanno ip assegnato da dhcp
:help: pleas :cry:

maulattu
15-03-2006, 09:30
up

comunque questo č il file log.nmbd
[2006/03/15 10:24:02, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server LAPTOP is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.34

*****
[2006/03/15 10:24:13, 0] nmbd/nmbd.c:terminate(56)
Got SIGTERM: going down...
[2006/03/15 10:24:16, 0] nmbd/nmbd.c:main(668)
Netbios nameserver version 3.0.14a-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1994-2004

ho i firewall disattivati... qualcuno mi aiuti :help:

samu76
15-03-2006, 14:33
se non erro in global ti manca il nome del server

metti questo riga

netbios name = nome_pc_server


riavvia samba e nmbd

cmq, guarda qui:

http://openskills.info/infobox.php?ID=691

stefanoxjx
15-03-2006, 15:03
:ot:

Maledetta Tiscali: 4 Mbit e scarico a 80 KB al max


E che non hai provato Tele2 a meno di 15 euro al mese :rotfl: :Puke: :huh:

Fine :ot: