2 # Cookbook Name:: samba-grid
5 # Copyright 2016-2018, whitestar
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
20 default['samba-grid']['group']['sambashare'] = {
24 default['samba-grid']['autopilot'] = {
26 'log_dir' => '/var/log',
27 'wait_time' => '180s',
29 default['samba-grid']['smb.conf'] = {
31 #'workgroup' => 'WORKGROUP',
32 #'wide links' => 'yes',
33 #'follow symlinks' => 'yes',
34 #'unix extensions' => 'no',
35 #'dos charset' => 'CP932',
39 'printD' => {}, # for [print$] section
43 default['samba-grid']['smbldap-tools']['smbldap.conf'] = {
45 'sambaDomain' => 'DOMSMB',
46 'slaveLDAP' => 'ldap://ldap.example.com/',
47 'masterLDAP' => 'ldap://ldap.example.com/',
49 'suffix' => 'dc=example,dc=com',
50 'mailDomain' => 'example.com',
52 default['samba-grid']['smbldap-tools']['smbldap_bind.conf'] = {
53 'slaveDN' => 'cn=Manager,dc=example,dc=com',
54 'slavePw_vault_item' => {
56 'vault' => 'smbldap_bind_pws',
58 # single password or nested hash password path delimited by slash
59 'env_context' => false,
60 'key' => 'password', # real hash path: "/password"
61 # or nested hash password path delimited by slash
62 #'env_context' => true,
63 #'key' => 'hash/path/to/password', # real hash path: "/#{node.chef_environment}/hash/path/to/password"
66 'masterDN' => 'cn=Manager,dc=example,dc=com',
67 'masterPw_vault_item' => {
69 #'vault' => 'smbldap_bind_pws',
70 #'name' => 'masterPw',
71 #'env_context' => false,