Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-samba
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
docker-samba
Commits
02e92ba9
Commit
02e92ba9
authored
Apr 06, 2018
by
Marvin
Committed by
GitHub
Apr 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17 from ServerContainers/4.8.0
4.8.0
parents
c7639a73
c3fa143c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
README.md
README.md
+2
-2
scripts/entrypoint.sh
scripts/entrypoint.sh
+3
-1
No files found.
README.md
View file @
02e92ba9
...
@@ -42,7 +42,7 @@ to restrict access of volumes you can add the following to your samba volume con
...
@@ -42,7 +42,7 @@ to restrict access of volumes you can add the following to your samba volume con
# Apple TimeMachine
# Apple TimeMachine
To enable TimeMachine Support add this to your
`SAMBA_VOLUME_CONFIG`
:
`fruit:time machine = yes;`
To enable TimeMachine Support add this to your
`SAMBA_VOLUME_CONFIG`
:
`fruit:
aapl = yes; fruit:
time machine = yes;`
You can also limit the size available for timemachine by also adding
`fruit:time machine max size = 500G;`
(format:
`SIZE [K|M|G|T|P]
You can also limit the size available for timemachine by also adding
`fruit:time machine max size = 500G;`
(format:
`SIZE [K|M|G|T|P]
`
)
`
)
...
@@ -87,7 +87,7 @@ __/etc/avahi/services/smb.service__
...
@@ -87,7 +87,7 @@ __/etc/avahi/services/smb.service__
__/etc/avahi/services/smb.service__
(with TimeMachine Support)
__/etc/avahi/services/smb.service__
(with TimeMachine Support)
`SAMBA_VOLUME_CONFIG_timecapsule: "[Time Capsule]; path = /shares/TimeCapsule; valid users = johndoe; guest ok = no; read only = no; browseable = yes; force user = nobody; force group = nogroup; force create mode = 0660; force directory mode = 2770; fruit:time machine = yes; fruit:time machine max size = 2000G;"`
`SAMBA_VOLUME_CONFIG_timecapsule: "[Time Capsule]; path = /shares/TimeCapsule; valid users = johndoe; guest ok = no; read only = no; browseable = yes; force user = nobody; force group = nogroup; force create mode = 0660; force directory mode = 2770; fruit:
aapl = yes; fruit:
time machine = yes; fruit:time machine max size = 2000G;"`
```
```
<?xml version="1.0" standalone='no'?>
<?xml version="1.0" standalone='no'?>
...
...
scripts/entrypoint.sh
View file @
02e92ba9
...
@@ -57,7 +57,9 @@ EOF
...
@@ -57,7 +57,9 @@ EOF
then
then
echo
">> SAMBA CONFIG: enabling Apple's SMB2+ extentions"
echo
">> SAMBA CONFIG: enabling Apple's SMB2+ extentions"
cat
>>
/etc/smb.conf
<<
EOF
cat
>>
/etc/smb.conf
<<
EOF
vfs objects = fruit
fruit:aapl = yes
fruit:aapl = yes
fruit:time machine = yes
EOF
EOF
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment