patches/samba-05-smb.conf.default-add-machine-script-useradd.diff
author tom68
Fri, 03 Oct 2008 21:14:47 +0000
changeset 1408 22ef21dba203
child 1411 8b53bb8a7b85
permissions -rw-r--r--
* SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1408
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     1
--- samba-3.2.4/examples/smb.conf.default.orig	2008-09-18 08:49:02.000000000 +0200
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     2
+++ samba-3.2.4/examples/smb.conf.default	2008-10-03 23:02:25.438408916 +0200
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     3
@@ -151,7 +151,7 @@
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     4
 # machine to add or delete corresponding unix accounts
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     5
 ;  add user script = /usr/sbin/useradd %u
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     6
 ;  add group script = /usr/sbin/groupadd %g
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     7
-;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     8
+;  add machine script = /usr/sbin/useradd -d / -g 1 -s /bin/false -M %u
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
     9
 ;  delete user script = /usr/sbin/userdel %u
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
    10
 ;  delete user from group script = /usr/sbin/deluser %u %g
22ef21dba203 * SFEsamba.spec: *NEW* 3.2.4 security fix / want standalone PDC for Domain-Logons
tom68
parents:
diff changeset
    11
 ;  delete group script = /usr/sbin/groupdel %g