Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- # Parametres divers
- server string = Serveur samba %v
- netbios name = myserver
- workgroup = WORK
- log file = /var/log/samba/%U.%m.log
- log level = 2
- # Authentification
- realm = WORK-NETWORK.COM
- security = ADS
- password server = pwdsrv
- encrypt passwords = yes
- bind interfaces only = yes
- hosts allow = a.b.c
- hosts deny = ALL
- interfaces = lo eth0
- # Winbind et Idmap = trucs pour nss
- winbind use default domain = Yes
- winbind enum users = yes
- winbind enum groups = yes
- winbind nss info = rfc2307
- winbind nested groups = Yes
- winbind refresh tickets = yes
- winbind offline logon = false
- ; winbind uid = 100000-200000
- ; winbind gid = 100000-200000
- idmap backend = tdb
- idmap uid = 2000000 - 2999999
- idmap gid = 2000000 - 2999999
- idmap config WORK : backend = ad
- idmap config WORK : schema_mode = rfc2307
- idmap config WORK : range = 500 - 1999999
- idmap cache time = 120
- idmap negative cache time = 20
- idmap cache time = 120
- idmap negative cache time = 20
- ; idmap config WORK : readonly = yes
- # Comportement PDC, WINS etc
- domain master = no
- dns proxy = no
- preferred master = no
- local master = no
- # Parametres avances
- socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
- load printers = no
- printable = no
- # Partages affiches dans lexplorateur
- [homes]
- comment = Home Directories
- valid users = %S
- read only = no
- create mask = 0600
- directory mask = 0700
- browseable = no
- [Foo]
- comment = foo
- path=/srv/smb/Foo
- ; valid users = %S
- writeable = yes
- read only = no
- create mask = 0660
- directory mask = 0770
- browseable = no
- guest ok = no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement