Samba e smbclient
Inviato: ven 14 ott 2005, 18:57
Ho installato da un bel pezzo Samba sulla mia Slack, una 10.1 aggiornata alla current.
Non riscontro particolari problemi riguardo al suo utilizzo; scambio file con hosts Windows e riesco persino a stampare in remoto su una stampante fisicamente connessa ad una delle macchine Windows di cui sopra.
La cosa strana è che quando lancio il comando "smbclient -L indirizzo_IP_del_server" (sono in locale), per testare lo stato di Simba nel sistema, ricevo il classico messaggio di errore:
session setup failed: NT_STATUS_LOGON_FAILURE
Eppure, la struttura del mio "smb.conf" è molto semplice, eccovelo in dettaglio:
[global]
workgroup = AJA
netbios name = SLACKY
server string = file server Linux
security = USER
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = YES
log file = /var/log/samba/%m.log
max log size = 100
log level = 1
printing = CUPS
printcap = CUPS
[comune]
comment = directory comune
path = /home/comune
public = YES
writable = YES
[gestionale]
comment = area supporto software gestionale
path = /home/gestionale
valid users = amm1
invalid users = ufftec1
writable = YES
[cdrom]
comment = Unita' CDROM
browsable = YES
read only = YES
path = /mnt/cdrom
root preexec = mount /dev/cdrom
root postexec = umount /dev/cdrom
[printers]
comment = stampanti sul server
path = /var/spool/samba
printable = YES
use client driver = YES
Qualche idea???
Burroughs.
Non riscontro particolari problemi riguardo al suo utilizzo; scambio file con hosts Windows e riesco persino a stampare in remoto su una stampante fisicamente connessa ad una delle macchine Windows di cui sopra.
La cosa strana è che quando lancio il comando "smbclient -L indirizzo_IP_del_server" (sono in locale), per testare lo stato di Simba nel sistema, ricevo il classico messaggio di errore:
session setup failed: NT_STATUS_LOGON_FAILURE
Eppure, la struttura del mio "smb.conf" è molto semplice, eccovelo in dettaglio:
[global]
workgroup = AJA
netbios name = SLACKY
server string = file server Linux
security = USER
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = YES
log file = /var/log/samba/%m.log
max log size = 100
log level = 1
printing = CUPS
printcap = CUPS
[comune]
comment = directory comune
path = /home/comune
public = YES
writable = YES
[gestionale]
comment = area supporto software gestionale
path = /home/gestionale
valid users = amm1
invalid users = ufftec1
writable = YES
[cdrom]
comment = Unita' CDROM
browsable = YES
read only = YES
path = /mnt/cdrom
root preexec = mount /dev/cdrom
root postexec = umount /dev/cdrom
[printers]
comment = stampanti sul server
path = /var/spool/samba
printable = YES
use client driver = YES
Qualche idea???
Burroughs.