configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 94  →  ?path2? @ 95
/samba/4/standalone/smb.conf.ldap
@@ -0,0 +1,42 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ##
## rights of fair usage, the disclaimer and warranty conditions. ##
###########################################################################
## Optimized standalone configuration template for Samba servers. ##
## ##
## Ideal for: ##
## * Virtual machine file sharing ##
## ##
## Requirements: ##
## * Samba 4.x ##
## ##
## File placement layout: ##
## / ##
## `-- etc ##
## `-- samba ##
## |-- smb.conf ##
## |-- smb.conf.local ##
## |-- smb.conf.share ##
## `-- smb.conf.ldap ##
## ##
## Files Description: ##
## * /etc/samba/smb.conf (main configuration file) ##
## * /etc/samba/smb.conf.local (this file) ##
## * /etc/samba/smb.conf.share (samba shares go here) ##
## ##
###########################################################################
 
[global]
# Configuration for LDAP authentication backend.
# The setup assumes that all samba entries are children of the "samba"
# organizational unit.
passdb backend = ldapsam:ldap://example.com
ldap suffix = ou=samba,dc=example,dc=com
ldap admin dn = cn=admin,dc=example,dc=com
ldap ssl = off
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Idmap
ldap password sync = yes