summaryrefslogtreecommitdiff
path: root/packages/samba/samba-essential_3.0.20.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-05-27 13:07:13 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-27 13:07:13 +0000
commit0ac0f2907d567cb7513958de0285c4fc0818e855 (patch)
treeaf1e29c5a3962240069931e983471650c436817b /packages/samba/samba-essential_3.0.20.bb
parent510c8990d1d46f56bd5ca2434e23fd67aaa762b7 (diff)
samba: samba-sessential: The next step on my way to a fool-proof samba server. This one starts a wide open p/w-less server with a single share containing a helpfile explaining how to configure a samba user+password. Once that's done the _real_ secure samba server is activated grating access to the targets filesystem via encrypted passwords
Diffstat (limited to 'packages/samba/samba-essential_3.0.20.bb')
-rw-r--r--packages/samba/samba-essential_3.0.20.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/samba/samba-essential_3.0.20.bb b/packages/samba/samba-essential_3.0.20.bb
index 21130bb0ab..60e4f241d5 100644
--- a/packages/samba/samba-essential_3.0.20.bb
+++ b/packages/samba/samba-essential_3.0.20.bb
@@ -1,12 +1,13 @@
-PR = "r1"
+PR = "r2"
SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
file://configure.patch;patch=1 \
file://cifs.patch;patch=1 \
file://config-lfs.patch;patch=1 \
- file://init \
+ file://init-essential \
file://quota.patch;patch=1;pnum=0 \
file://smb-essential.conf \
+ file://smb-essential-inactive.conf \
file://Managing-Samba.txt"
S := ${WORKDIR}/samba-${PV}/source
@@ -41,12 +42,14 @@ do_install_append() {
rm -f ${D}/sbin/mount.smbfs
rmdir ${D}/sbin
install -d "${D}${sysconfdir}/init.d"
- install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/samba
+ install -c -m 755 ${WORKDIR}/init-essential ${D}${sysconfdir}/init.d/samba
install -d "${D}${sysconfdir}/samba"
install -d "${D}/usr/share/samba/help"
+ install ${WORKDIR}/smb-essential-inactive.conf "${D}${sysconfdir}/samba/"
install ${WORKDIR}/smb-essential.conf "${D}${sysconfdir}/samba/smb.conf"
+
install ${WORKDIR}/Managing-Samba.txt ${D}/usr/share/samba/help
}