#======================= Global Settings ======================= [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of security = ads netbios name = jupiter server string = Serveur d'Archive Enregistrement 2 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 panic action = /usr/share/samba/panic-action %d 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/%D/%U case sensitive = no 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 restrict anonymous = 2 usershare allow guests = yes winbind offline logon = yes #======================= Share Definitions ======================= # Nom des partages [ARCHIVE2-MOOV] comment = Sauvegarde Enregistrement MOOV path = /ARCHIVE1/ARCHIVE2-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 [ARCHIVE2-MTN] comment = Sauvegarde Enregistrements MTN path = /ARCHIVE2/ARCHIVE2-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