[Pkg-samba-maint] r2193 - trunk/samba/debian

bubulle at alioth.debian.org bubulle at alioth.debian.org
Sun Oct 19 17:25:57 UTC 2008


tags 349049 pending
thanks

Author: bubulle
Date: 2008-10-19 17:25:57 +0000 (Sun, 19 Oct 2008)
New Revision: 2193

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/smb.conf
Log:
Add (commented) example add machine and group scripts in the default smb.conf file


Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2008-10-19 16:35:47 UTC (rev 2192)
+++ trunk/samba/debian/changelog	2008-10-19 17:25:57 UTC (rev 2193)
@@ -2,6 +2,8 @@
 
   * Better document cases where using a "master" file for smb.conf
     is a bad idea. Closes: #483187
+  * Insert example "add machine script" and "add group script" scripts
+    in the default smb.conf. Closes: #349049
 
  -- Christian Perrier <bubulle at debian.org>  Sun, 19 Oct 2008 18:34:22 +0200
 

Modified: trunk/samba/debian/smb.conf
===================================================================
--- trunk/samba/debian/smb.conf	2008-10-19 16:35:47 UTC (rev 2192)
+++ trunk/samba/debian/smb.conf	2008-10-19 17:25:57 UTC (rev 2193)
@@ -162,6 +162,15 @@
 # password; please adapt to your needs
 ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
 
+# This allows machine accounts to be created on the domain controller via the 
+# SAMR RPC pipe.  
+# The following assumes a "machines" group exists on the system
+; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
+
+# This allows Unix groups to be created on the domain controller via the SAMR
+# RPC pipe.  
+; add group script = /usr/sbin/addgroup --force-badname %g
+
 ########## Printing ##########
 
 # If you want to automatically load your printer list rather




More information about the Pkg-samba-maint mailing list