summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/patches/smbadduser.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/patches/smbadduser.patch')
-rw-r--r--packaging/Debian/debian/patches/smbadduser.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packaging/Debian/debian/patches/smbadduser.patch b/packaging/Debian/debian/patches/smbadduser.patch
new file mode 100644
index 0000000000..9bfb457301
--- /dev/null
+++ b/packaging/Debian/debian/patches/smbadduser.patch
@@ -0,0 +1,22 @@
+--- samba-2.2.2.cvs20020120.orig/source/script/smbadduser
++++ samba-2.2.2.cvs20020120/source/script/smbadduser
+@@ -2,13 +2,14 @@
+ #
+ # smbadduser - Written by Mike Zakharoff
+ #
++# Customized for Debian by Eloy A. Paris <peloy@debian.org>
++#
+ unalias *
+-set path = ($path /usr/local/samba/bin)
++# No need to set a path in Debian
++#set path = ($path /usr/local/samba/bin)
+
+-set smbpasswd = /usr/local/samba/private/smbpasswd
+-#set smbpasswd = /etc/samba.d/smbpasswd
+-set user_map = /usr/local/samba/lib/users.map
+-#set user_map = /etc/samba.d/smbusers
++set smbpasswd = /etc/samba/smbpasswd
++set user_map = /etc/samba/users.map
+ #
+ # Set to site specific passwd command
+ #