Commit ded19c36 authored by MarvAmBass's avatar MarvAmBass

initial commit

parent 8c89f2de
FROM debian:jessie
RUN export samba_version=4.6.2 \
&& export DEBIAN_FRONTEND=noninteractive \
\
&& apt-get -q -y update \
&& apt-get -q -y install build-essential \
wget \
&& apt-get -q -y install acl \
attr \
autoconf \
bison \
build-essential \
debhelper \
dnsutils \
docbook-xml \
docbook-xsl \
flex \
gdb \
krb5-user \
libacl1-dev \
libaio-dev \
libattr1-dev \
libblkid-dev \
libbsd-dev \
libcap-dev \
libcups2-dev \
libgnutls28-dev \
libjson-perl \
libldap2-dev \
libncurses5-dev \
libpam0g-dev \
libparse-yapp-perl \
libpopt-dev \
libreadline-dev \
perl \
perl-modules \
pkg-config \
python-all-dev \
python-dev \
python-dnspython \
python-crypto \
xsltproc \
zlib1g-dev \
\
&& apt-get -q -y clean \
\
&& wget https://download.samba.org/pub/samba/stable/samba-${samba_version}.tar.gz \
&& tar xvf samba-${samba_version}.tar.gz \
&& rm samba-${samba_version}.tar.gz \
\
&& cd samba-${samba_version} \
&& ./configure --prefix=/ \
&& make \
&& make install \
\
&& cp examples/smb.conf.default /etc/smb.conf \
&& cd - \
\
&& rm -rf samba-${samba_version}
EXPOSE 139 445
CMD [ "/sbin/smbd", "-F", "-S" ]
...@@ -3,3 +3,7 @@ ...@@ -3,3 +3,7 @@
# Source Code # Source Code
Check the following link for a new version: https://download.samba.org/pub/samba/stable/ Check the following link for a new version: https://download.samba.org/pub/samba/stable/
# Links
https://wiki.samba.org/index.php/Samba_AD_DC_Port_Usage
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment