mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
add samba
This commit is contained in:
parent
56e2438a31
commit
3992c218a7
@ -12,6 +12,7 @@ dockerfiles
|
|||||||
- [ ] hubot
|
- [ ] hubot
|
||||||
- [ ] iptables
|
- [ ] iptables
|
||||||
- [ ] irc
|
- [ ] irc
|
||||||
|
- [ ] samba
|
||||||
- [ ] snort
|
- [ ] snort
|
||||||
- [ ] tshark
|
- [ ] tshark
|
||||||
|
|
||||||
@ -39,6 +40,7 @@ dockerfiles
|
|||||||
- [x] pdnsd
|
- [x] pdnsd
|
||||||
- [x] phantomjs
|
- [x] phantomjs
|
||||||
- [x] phpbb
|
- [x] phpbb
|
||||||
|
- [x] piwik
|
||||||
- [x] polipo
|
- [x] polipo
|
||||||
- [x] pptpd
|
- [x] pptpd
|
||||||
- [x] privoxy
|
- [x] privoxy
|
||||||
|
17
samba/Dockerfile
Normal file
17
samba/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for samba
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
|
RUN apk add -U samba-common-tools samba-server \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
COPY smb.conf /etc/samba/
|
||||||
|
|
||||||
|
VOLUME /etc/samba
|
||||||
|
|
||||||
|
EXPOSE 137/udp 138/udp 139/tcp 445/tcp
|
||||||
|
|
||||||
|
CMD smbd --foreground --log-stdout
|
6
samba/README.md
Normal file
6
samba/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
samba
|
||||||
|
=====
|
||||||
|
|
||||||
|
[`Samba`][1] is the standard Windows interoperability suite of programs for Linux and Unix.
|
||||||
|
|
||||||
|
[1]: https://www.samba.org/
|
8
samba/docker-compose.yml
Normal file
8
samba/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
samba:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "137:137/udp"
|
||||||
|
- "138:138/udp"
|
||||||
|
- "139:139/tcp"
|
||||||
|
- "445:445/tcp"
|
||||||
|
restart: always
|
28
samba/smb.conf
Normal file
28
samba/smb.conf
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[global]
|
||||||
|
workgroup = WORKGROUP
|
||||||
|
server string = %h server (Samba, Apline)
|
||||||
|
dns proxy = no
|
||||||
|
log file = /var/log/samba/log.%m
|
||||||
|
max log size = 1000
|
||||||
|
syslog = 0
|
||||||
|
panic action = /usr/share/samba/panic-action %d
|
||||||
|
server role = standalone server
|
||||||
|
passdb backend = tdbsam
|
||||||
|
obey pam restrictions = yes
|
||||||
|
unix password sync = yes
|
||||||
|
passwd program = /usr/bin/passwd %u
|
||||||
|
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
|
||||||
|
pam password change = yes
|
||||||
|
map to guest = bad user
|
||||||
|
usershare allow guests = yes
|
||||||
|
load printers = no
|
||||||
|
show add printer wizard = no
|
||||||
|
printing = none
|
||||||
|
printcap name = /dev/null
|
||||||
|
disable spoolss = yes
|
||||||
|
|
||||||
|
[root]
|
||||||
|
path = /root
|
||||||
|
browseable = yes
|
||||||
|
read only = yes
|
||||||
|
guest ok = yes
|
Loading…
Reference in New Issue
Block a user