#======================= Global Settings ======================= [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of security = ads netbios name = pluton server string = Serveur d'Archive Enregistrements log level = 2 log file = /var/log/samba/log.%m max log size = 1000 realm = BENIN.GROUPMEDIACONTACT.LOCAL password server = * winbind separator = / winbind refresh tickets = yes workgroup = GMC domain master = no local master = no preferred master = no os level = 0 time server = no # use kerberos keytab = true panic action = /usr/share/samba/panic-action %d # obey pam restrictions = yes # unix password sync = yes # passwd program = /usr/bin/passwd %u # passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . # pam password change = yes # map to guest = bad user idmap config * : backend = tdb # idmap config * : backend = ads idmap config * : range = 3000-7999 idmap domains = GMC idmap config GMC : backend = ads idmap config GMC : range = 8000-999999 encrypt passwords = yes winbind use default domain = yes winbind enum users = yes winbind enum groups = yes template homedir = /home/GMC/%U case sensitive = no # socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 template shell = /bin/bash # client lanman auth = yes client use spnego = yes client ntlmv2 auth = yes # lanman auth = yes ntlm auth = yes ldap ssl = off # unix charset = iso-8859-15 # display charset = iso-8859-15 # dos charset = 850 # character set = iso8859-1 restrict anonymous = 2 usershare allow guests = yes winbind offline logon = yes #======================= Share Definitions ======================= # Nom des partages [ARCHIVE-MOOV] comment = Sauvegarde Enregistrement MOOV path = /archive2/ARCHIVE-MOOV read only = no browseable = yes guest ok = no create mask = 0777 directory mask = 0777 valid users = @GMC/DSI,@GMC/quality,GMC/adminmcb2,GMC/admingmc,GMC/administrateur writeable = no write list = GMC/adminmcb2,GMC/admingmc,GMC/administrateur [ARCHIVE-MTN] comment = Sauvegarde Enregistrements MTN path = /archive3/ARCHIVE-MTN read only = no browseable = yes guest ok = no create mask = 0777 directory mask = 0777 valid users = @GMC/dsi,@GMC/quality,GMC/adminmcb2,GMC/admingmc,GMC/administrateur writeable = no write list = GMC/adminmcb2,GMC/admingmc,GMC/administrateur [ARCHIVE-AUTRE] comment = Sauvegarde autres Enregistrements path = /archive1/ARCHIVE-AUTRE read only = no browseable = yes guest ok = no create mask = 0777 directory mask = 0777 valid users = @GMC/dsi,@GMC/quality,GMC/adminmcb2,GMC/admingmc,GMC/administrateur writeable = no write list = GMC/admingmc,GMC/adminmcb2,GMC/administrateur