Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- netbios name = SERVER
- realm = EXAMPLE.COM
- workgroup = EXAMPLE
- preferred master = no
- security = ADS
- encrypt passwords = true
- log level = 3
- log file = /var/log/samba/log.%m
- max log size = 50
- winbind enum users = Yes
- winbind enum groups = Yes
- winbind use default domain = Yes
- winbind nested groups = Yes
- idmap config * : range = 5000 - 6000
- idmap config EXAMPLE : schema_mode = rfc2307
- idmap config EXAMPLE : backend = ad
- idmap config X-ES : range = 8000 - 9000
- idmap config X-ES : readonly = yes
- idmap config X-ES : default = yes
- template shell = /bin/bash
- template homedir = /home/%U
- winbind nss info = rfc2307
- # additional options for this server
- printcap name = /dev/null
- load printers = no
- printing = bsd
- lock directory = /mnt/drive/var/run/samba/locks
- private dir = /mnt/drive/etc
- [MyShare]
- path = /mnt/drive/MyShare
- browseable = yes
- public = yes
- guest ok = yes
- read only = no
- printable = no
- create mode = 0664
- directory mode = 0775
- veto oplock files = /*mgc*/
- force group = "domain users"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement