[RoLUG] condivisione stampa smb

Ferdinando Pucci nictalopos@libero.it
Mer 24 Nov 2004 17:18:33 CET


OOOhhh che bello tornare a postare i problemini sulla ml!!! :-) Dunque,
all'inizio tutto funzionava, intendo la stampa condivisa, poi mi accorgo
che non va perche /var/log/samba/log.$hostname dice:

 Account for user $user password expired!

Eccheppalle, l'ho usato ieri! man smbpasswd non sembra fare riferimenti
alla durata degli account, cosi ho provato ad usare guest = nobody in
smb.conf e le varie modifiche corollarie. Non andava una mazza, mi
diceva sempre 

 idmap uid range missing or invalid
  idmap will be unable to map foreign SIDs

 idmap gid range missing or invalid
  idmap will be unable to map foreign SIDs

ma io l'accesso lo facevo col nome nobody! Vabbe, rimetto tutto com'era
prima, ma proprio #tutto# e... zack! Inchiappettato! Non va una mazza!
Ecco smb.conf attuale, che è uguale a quello di prima, a parte
l'eliminazione di writeable da [printers] e browseable a yes.

Qualche suggerimento? GRAZIE!!!!

[global]
   workgroup = terathos
   hosts allow = 192.168.
   server string = %h server (Samba %v)
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
syslog = 0
   panic action = /usr/share/samba/panic-action %d
   encrypt passwords = true
   passdb backend = tdbsam guest
   obey pam restrictions = yes
   invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
   socket options = TCP_NODELAY

[homes]
   path = /
   comment = Home Directories
   browseable = no
   writable = yes
   create mask = 0700
   directory mask = 0700

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

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = yes

-- 
<Madax> ahh
<Madax> a gathering of geeks....
<Madax> I can smell it now


Maggiori informazioni sulla lista RoLUG