diff --git a/conf/README.md b/conf/README.md index 9bbbfb3..0d03fba 100644 --- a/conf/README.md +++ b/conf/README.md @@ -153,10 +153,10 @@ ZMB_ADMIN_PASS='Start!123' ``` Please use 'single quotation marks' to avoid unexpected behaviour. `zmb-ad` domain administrator has to meet the password complexity policy, if password is too weak, domain provisioning will fail. -### ZMB_SHARE -Defines the name of your Zamba share +### ZMB_SHARES +Defines the names of your Zamba shares ```bash -ZMB_SHARE="share" +ZMB_SHARES="share1,share2" ```
diff --git a/conf/zamba.conf.example b/conf/zamba.conf.example index 7a3736a..0595879 100644 --- a/conf/zamba.conf.example +++ b/conf/zamba.conf.example @@ -114,8 +114,8 @@ ZMB_ADMIN_PASS='Start!123' # Name of the "domain admins" group (depends on your Active Directory language, valid on zmb-cups, lower case) ZMB_DOMAIN_ADMINS="domain admins" -# Defines the name of your Zamba share -ZMB_SHARE="share" +# Defines the names of your Zamba shares in a comma separated list +ZMB_SHARES="share1,share2" ############### Mailpiler-Section ############### diff --git a/src/zmb-member/install-service.sh b/src/zmb-member/install-service.sh index 0cc07d6..87e14fc 100644 --- a/src/zmb-member/install-service.sh +++ b/src/zmb-member/install-service.sh @@ -75,8 +75,13 @@ cat > /etc/samba/smb.conf <> /etc/samba/smb.conf << EOF [$ZMB_SHARE] - comment = Main Share path = /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE read only = No create mask = 0660 @@ -84,6 +89,7 @@ cat > /etc/samba/smb.conf <