[PLUTO-help] Password-Samba
Andrea Bencini
andrea.bencini a tin.it
Mar 18 Lug 2006 17:44:42 CEST
Vi chiedo di indicarmi come si fa ha configurare e ha gestire (con un
esempio)
-lunghezza minima password
-validita' massima password
Con calma dopo mi leggero' quello che sicuramente voi mi consigliate.
Riporto il file di configurazione smb.conf.
Ringrazio e mi scuso per il modo che ho fatto questa richiesta (ho i secondi
contati!!!)
Andrea
# Global parameters
[global]
workgroup = DMN-MIO
netbios name = SRV-MIO
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n
*Password*changed*
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
max log size = 100
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'
logon path =
logon drive = R:
domain logons = Yes
preferred master = Yes
wins support = Yes
printing = cups
printcap name = /etc/printcap
os level = 35
domain master = Yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
use client driver = Yes
default devmode = Yes
[netlogon]
comment = Network Logon Service
path = /lavoro/data/%U
valid users = %S
read only = No
[data]
comment = Radice cartelle utenti
path = /lavoro/data
force group = root
create mask = 700
force create mode = 770
directory mask = 0700
force directory mode = 0770
valid users = root
write list = root
read list = root
read only = No
[francescoc]
comment = Directory di Francesco
path = /lavoro/data/francescoc
force group = francescoc
create mask = 700
force create mode = 770
directory mask = 0700
force directory mode = 0770
valid users = francescoc root
write list = francescoc root
read only = No
[pubblica]
comment = Directory di tutti
path = /lavoro/data/pubblica
create mask = 700
force create mode = 777
directory mask = 0700
force directory mode = 0777
valid users = %U
read only = No
More information about the pluto-help
mailing list