configuration-templates – Blame information for rev 95

Subversion Repositories:
Rev:
Rev Author Line No. Line
95 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ##
4 ## rights of fair usage, the disclaimer and warranty conditions. ##
5 ###########################################################################
6 ## Optimized standalone configuration template for Samba servers. ##
7 ## ##
8 ## Ideal for: ##
9 ## * Virtual machine file sharing ##
10 ## ##
11 ## Requirements: ##
12 ## * Samba 4.x ##
13 ## ##
14 ## File placement layout: ##
15 ## / ##
16 ## `-- etc ##
17 ## `-- samba ##
18 ## |-- smb.conf ##
19 ## |-- smb.conf.local ##
20 ## |-- smb.conf.share ##
21 ## `-- smb.conf.ldap ##
22 ## ##
23 ## Files Description: ##
24 ## * /etc/samba/smb.conf (main configuration file) ##
25 ## * /etc/samba/smb.conf.local (this file) ##
26 ## * /etc/samba/smb.conf.share (samba shares go here) ##
27 ## ##
28 ###########################################################################
29  
30 [global]
31 # Configuration for LDAP authentication backend.
32 # The setup assumes that all samba entries are children of the "samba"
33 # organizational unit.
34 passdb backend = ldapsam:ldap://example.com
35 ldap suffix = ou=samba,dc=example,dc=com
36 ldap admin dn = cn=admin,dc=example,dc=com
37 ldap ssl = off
38 ldap user suffix = ou=People
39 ldap group suffix = ou=Groups
40 ldap machine suffix = ou=Computers
41 ldap idmap suffix = ou=Idmap
42 ldap password sync = yes