[Pkg-samba-maint] r2877 - trunk/samba/debian
bubulle at alioth.debian.org
bubulle at alioth.debian.org
Sat Jun 20 05:47:13 UTC 2009
Author: bubulle
Date: 2009-06-20 05:47:12 +0000 (Sat, 20 Jun 2009)
New Revision: 2877
Modified:
trunk/samba/debian/changelog
trunk/samba/debian/samba.postinst
Log:
Don't use an absolute path when calling mksmbpasswd
Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog 2009-06-20 05:46:30 UTC (rev 2876)
+++ trunk/samba/debian/changelog 2009-06-20 05:47:12 UTC (rev 2877)
@@ -15,6 +15,7 @@
* Lintian fixes:
- Declare versioned dependency on debhelper to fit what we have in
debian/compat
+ - samba.postinst: do not call mksmbpasswd with an absolute path
-- Steve Langasek <vorlon at debian.org> Sat, 16 May 2009 15:44:12 -0700
Modified: trunk/samba/debian/samba.postinst
===================================================================
--- trunk/samba/debian/samba.postinst 2009-06-20 05:46:30 UTC (rev 2876)
+++ trunk/samba/debian/samba.postinst 2009-06-20 05:47:12 UTC (rev 2877)
@@ -75,7 +75,7 @@
# FIXME: we don't want to pass these through the smbpasswd backend,
# some of the faking can cause us problems!
if [ "${GENERATE_SMBPASSWD}" = "true" -a ! -e /var/lib/samba/passdb.tdb -a ! -e /etc/samba/smbpasswd ]; then
- getent passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
+ getent passwd | mksmbpasswd > /etc/samba/smbpasswd
pdbedit -i smbpasswd -e tdbsam
rm /etc/samba/smbpasswd
fi
More information about the Pkg-samba-maint
mailing list