[Pkg-samba-maint] r1028 - trunk

Christian Perrier bubulle at costa.debian.org
Thu Feb 9 12:21:39 UTC 2006


Author: bubulle
Date: 2006-02-09 12:21:39 +0000 (Thu, 09 Feb 2006)
New Revision: 1028

Modified:
   trunk/changelog
   trunk/smb.conf
Log:
Attempt for providing reasonable example parameters for logon-type
settings and an example [profiles] share


Modified: trunk/changelog
===================================================================
--- trunk/changelog	2006-02-09 07:27:07 UTC (rev 1027)
+++ trunk/changelog	2006-02-09 12:21:39 UTC (rev 1028)
@@ -1,5 +1,7 @@
 samba (3.0.21b-2) UNRELEASED; urgency=low
 
+  * add a few logon-related parameters as good and safe
+    examples for *DC-type settings. Closes: #349051
   
  -- Christian Perrier <bubulle at debian.org>  Wed,  8 Feb 2006 18:39:15 +0100
 

Modified: trunk/smb.conf
===================================================================
--- trunk/smb.conf	2006-02-09 07:27:07 UTC (rev 1027)
+++ trunk/smb.conf	2006-02-09 12:21:39 UTC (rev 1028)
@@ -119,7 +119,36 @@
 # 'passwd program'. The default is 'no'.
 ;   pam password change = no
 
++########## Domains ###########
 
+# Is this machine able to authenticate users. Both PDC and BDC
+# must have this setting enabled. If you are the BDC you must
+# change the 'domain master' setting to no
+#
+;   domain logons = yes
+#
+# Tho following setting only takes effect if 'domain logons' is set
+# It specifies the location of the user's profile directory
+# from the client point of view)
+# The following required a [profiles] share to be setup on the
+# samba server (see below)
+;   logon path = \\%N\profiles\%U
+# Another common choice is storing the profile in the user's home directory
+;   logon path = \\%N\%U\profile
+
+# The following setting only takes effect if 'domain logons' is set
+# It specifies the location of a user's home directory (from the client
+# point of view)
+;   logon drive = H:
+;   logon home = \\%N\%U
+
+# The following setting only takes effect if 'domain logons' is set
+# It specifies the script to run during logon. The script must be stored
+# in the [netlogon] share
+# NOTE: Must be store in 'DOS' file format convention
+   logon script = logon.cmd
+
+
 ########## Printing ##########
 
 # If you want to automatically load your printer list rather
@@ -199,6 +228,19 @@
 ;   writable = no
 ;   share modes = no
 
+# Un-comment the following and create the profiles directory to store
+# users profiles (see the "logon path" option above)
+# (you need to configure Samba to act as a domain controller too.)
+# The path below should be writable by all users so that their
+# profile directory may be created the first time they log on
+;[profiles]
+;   comment = Users profiles
+;   path = /home/samba/profiles
+;   guest ok = no
+;   browseable = no
+;   create mask = 0600
+;   directory mask = 0700
+
 [printers]
    comment = All Printers
    browseable = no




More information about the Pkg-samba-maint mailing list