Commit Graph

39 Commits

Author SHA1 Message Date
Bengt Giger
eaefa6de30 include options use absolute paths
Configuration includes needs an absolute path, at least on Debian. Relative
paths are ignored.
As the include files are copied to {{ samba_configuration_dir }}, I suggest
to prefix the corresponding includes in the template with the same path.

Fixes unbalanced curly bracket
2018-12-05 15:49:00 +01:00
Bengt Giger
d2b24a68e5 include options use absolute paths
Configuration includes needs an absolute path, at least on Debian. Relative
paths are ignored.
As the include files are copied to {{ samba_configuration_dir }}, I suggest
to prefix the corresponding includes in the template with the same path.
2018-12-05 15:43:18 +01:00
Bert Van Vreckem
966c80efd9
Merge pull request #36 from goetzk/log-level
Control samba log level
2018-10-04 21:05:08 +02:00
Bert Van Vreckem
c9bac40925
Merge pull request #34 from goetzk/control-share-browsing
Control if shares are browseable or not
2018-10-04 21:04:39 +02:00
Bert Van Vreckem
5c24a32f15
Merge pull request #33 from goetzk/apple-extensions
Support for enabling Apple SMB extensions
2018-10-04 21:03:50 +02:00
Karl Goetz
77a07187dd Control samba log level
If logging to a file, allow configuring log levels for debug purposes.
2018-09-03 15:26:05 +10:00
Karl Goetz
77d0bd4b9f Load arbitrary config files in every section.
This adds loading arbitrary samba config in to the existing sections. In
essence, it allows customising the configuration without making changes to the
role for those who aren't able to readily make the changes they require.

Closes #32
2018-09-03 15:25:25 +10:00
Karl Goetz
cc4926237e Support for enabling Apple SMB extensions
Adds support for enabling Apples SMB extensions via the VFS fruit module.

This is necessary for Time Machine backups to Samba.

Related to #32
2018-09-03 15:23:50 +10:00
Karl Goetz
e4161a506d Control if shares are browseable or not
Adds the 'browseable' option to shares (as is already available in homes) ;
useful for hiding things like backup targets from casual browsing.
2018-09-03 15:05:39 +10:00
Bert Van Vreckem
83963fe534 Replace deprecated option "syslog only" with "logging = syslog" 2018-08-16 21:25:20 +02:00
Thiago Gomes Verissimo
8cc7cd0286 fix if stmt 2018-05-23 10:57:01 -03:00
Thiago Gomes Verissimo
5089cd887a Enable a cups server to be used in this roles
Fix #27
2018-05-23 10:53:35 -03:00
Bert Van Vreckem
c4ee3fa60a Fix whitespace in configuration file 2018-05-20 00:48:15 +02:00
Bert Van Vreckem
70b2b21b2b
Merge branch 'master' into server_max_protocol 2018-05-19 23:41:58 +02:00
Bert Van Vreckem
59e0e317e9
Merge pull request #23 from kota65535/feature/username_map
Added username map configuration
2018-05-19 23:40:13 +02:00
Tiemo Kieft
b006670615
Add flag to disable CVE-2017-7494 mitigation
Setting "nt pipe support = no" seems to break macOS High Sierra
clients.
2018-04-04 08:56:26 +02:00
Jonathan G. Underwood
858d4a246b Add samba_server_min_protocol parameter 2018-04-03 17:07:25 +01:00
Jonathan G. Underwood
fda9ec8452 Add samba_server_max_protocol parameter 2018-04-02 22:25:51 +01:00
Tomohiko
675baed465 Added username map configuration 2017-12-28 16:49:12 +09:00
SvenEeckeman
d653347e67
Update smb.conf.j2 2017-11-05 12:57:31 +01:00
Ben Tomasik
8c56bc0b35 Add support for disabling WINs 2017-08-06 17:25:33 -05:00
Bert Van Vreckem
b63ca1385e Implement fix for CVE-2017-7494 2017-05-29 20:51:00 +02:00
Bert Van Vreckem
72ce55f141 Merge README, fix typo in config template 2017-05-09 10:30:52 +02:00
Bert Van Vreckem
b6fd2a5bbd Add check whether share.vfs_objects is defined 2017-05-09 10:02:14 +02:00
Slavek Jurkowski
082d5d5275 update documentation 2017-05-03 02:48:19 +00:00
Slavek Jurkowski
3599f491b4 add samba vfs objects to template 2017-05-03 02:15:34 +00:00
morbidick
55d862afb9 make samba_guest_account optional 2017-03-10 19:06:10 +01:00
morbidick
812082a8f2 add new options guest_account, share.writable, share.guest_ok 2017-03-10 18:55:02 +01:00
Bert Van Vreckem
4e845d4141 Give samba_interfaces a default value 2016-07-29 09:54:33 +02:00
Jonas Heinrich
bf5aa7dacd added interfaces option to template file and support for ArchLinux os 2016-07-15 20:58:30 +02:00
Ian Young
a34e6c9715 Use path if defined for share 2016-01-01 23:26:24 -08:00
Bert Van Vreckem
a42e9252d2 Remove create_mask and create_directory_mask 2015-12-01 20:51:12 +01:00
Bert Van Vreckem
e1470dc50e The variable samba_netbios_name is no longer required and defaults to ansible_hostname 2015-11-05 15:14:12 +01:00
Bert Van Vreckem
848fcce978 Clean up spaces and indentation 2015-11-05 11:13:00 +01:00
Bert Van Vreckem
59afcaf1a4 Change variable type of samba_load_* from string to boolean 2015-11-05 10:44:05 +01:00
Bert Van Vreckem
31ec2a4093 Add optional valid users 2015-03-14 01:17:48 +01:00
Bert Van Vreckem
0946b2e7a1 Rename force_group into group 2015-03-14 01:00:48 +01:00
Bert Van Vreckem
fba843d672 Put all shares under a root directory and provide more sane defaults 2015-03-14 00:32:37 +01:00
Bert Van Vreckem
8549204093 Initial commit, basic install and template. Works without setting variables 2015-03-13 21:55:33 +01:00