[Samba-it] Scadenza password per utenti pdc

Poliedrasrl.it - Pino Andrea a.pino at poliedrasrl.it
Thu May 26 10:47:01 MDT 2005


Salve a tutti!
Ho configurato su Fedora 3 un pdc samba (ver  3.0.10-1.fc3) senza ldap.
Sembra funzionare piu' o meno, solo che non riesco a capire come far 
scadere le password!
Ho usato i seguenti comandi:
- pdbedit -P "password history" -C 1
- pdbedit -P "maximum password age" -C n
- pdbedit -P "min password length" -C 8
La password history e la lunghezza minima funzionano correttamente.
Per quanto riguarda "maximum password age", n e' espresso in secondi o 
giorni?
Se lo imposto a 60 dovrebbe scadermi dopo un minuto, ma così non e'!
Seconda domanda, esiste una gui per la gestione degli utenti e delle 
password?
Ultima domanda (per ora...), ho la necessita' che alcune share di samba 
siano visibili solo
dagli utenti apparteneti ad un certo gruppo e non agli altri. Lo faccio 
gestendo i gruppi a livello
di sistema operativo o esiste qualcosa di dedicato incluso in samba?
Grazie mille!!!
Vi allego il mio smb.conf

[global]

workgroup = SARINET

netbios name = linux

server string = Linux Pdc SmbSrv (ver: %v)

hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0

printcap name = /etc/printcap

load printers = yes

cups options = raw

log file = /var/log/samba/%m.log

log level = 2

max log size = 500

security = user

encrypt passwords = yes

; smb passwd file = /etc/samba/smbpasswd

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF92 
SO_RCVBUF92

local master = yes

os level = 64

domain master = yes 

preferred master = yes

domain logons = yes

add machine script = /usr/sbin/useradd -d /dev/null -g machines -s 
/bin/false -M %u

logon script = netlogon.bat

logon home = \\%L\%U\.profile

logon drive = Q:

dns proxy = no 

#============
== Share Definitions 
==============
idmap uid = 16777216-33554431

idmap gid = 16777216-33554431

template shell = /bin/false

winbind use default domain = no

[homes]

comment = Home Directories

browseable = no

writable = yes

[netlogon]

comment = Network Logon Service

path = /home/netlogon/%U

read only = yes

write list = @admin

browseable = no

# Un-comment the following to provide a specific roving profile share

# the default is to use the user's home directory

#[profiles]

# path = /home/profiles

# writeable = yes

# browseable = no

# create mask = 0600

# directory mask = 0700

[printers]

comment = All Printers

path = /var/spool/samba

browseable = no

# Set public = yes to allow user 'guest account' to print

guest ok = no

writable = no

printable = yes

[u]

comment = Osra FileSystem

path = /u

valid user = andrea

read only = no

public = yes

directory mask = 0777

create mask = 0777


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---



More information about the samba-it mailing list