File: adapt_machine_creation_script.patch

package info (click to toggle)
samba 3.0.24-6etch10
  • links: PTS
  • area: main
  • in suites: etch
  • size: 49,836 kB
  • ctags: 44,390
  • sloc: ansic: 335,711; sh: 8,133; perl: 7,045; makefile: 3,107; python: 2,370; exp: 1,147; yacc: 881; awk: 486; csh: 58; sed: 45
file content (21 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Goal: Adapt example script to Debian
Fixes: #346234

Status wrt upstream: Debian specific

Index: samba-3.0.23d/docs/manpages/smb.conf.5
===================================================================
--- samba-3.0.23d.orig/docs/manpages/smb.conf.5	2006-09-02 10:08:44.724548775 +0200
+++ samba-3.0.23d/docs/manpages/smb.conf.5	2006-09-02 10:09:36.184964559 +0200
@@ -561,8 +561,8 @@
 Default:
 \fB\fIadd machine script\fR = \fR
 .sp
-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/adduser -n -g machines -c Machine -d /var/lib/samba -s /bin/false %u \fR
 .TP 3n
 add port command (G)
 Samba 3.0.23 introduces support for adding printer ports remotely using the Windows "Add Standard TCP/IP Port Wizard". This option defines an external program to be executed when smbd receives a request to add a new Port to the system. he script is passed two parameters: