Initial import
[samba] / debian / patches / adapt_machine_creation_script.patch
diff --git a/debian/patches/adapt_machine_creation_script.patch b/debian/patches/adapt_machine_creation_script.patch
new file mode 100644 (file)
index 0000000..4558c53
--- /dev/null
@@ -0,0 +1,18 @@
+Goal: Adapt example script to Debian
+Fixes: #346234
+
+Status wrt upstream: Debian specific
+
+Index: samba-3.0.21c/docs/manpages/smb.conf.5
+===================================================================
+--- samba-3.0.21c.orig/docs/manpages/smb.conf.5        2006-02-25 11:57:09.465788416 +0100
++++ samba-3.0.21c/docs/manpages/smb.conf.5     2006-02-25 11:58:33.128907806 +0100
+@@ -454,7 +454,7 @@
+ Default: \fB\fIadd machine script\fR = \fR 
+-Example: \fB\fIadd machine script\fR = /usr/sbin/adduser \-n \-g machines \-c Machine \-d /var/lib/nobody \-s /bin/false %u \fR 
++Example for Debian: \fB\fIadd machine script\fR = /usr/sbin/useradd \-g machines \-c Machine \-d /var/lib/samba \-s /bin/false %u \fR 
+ .TP
+ add printer command (G)