Penguin

Differences between current version and revision by previous author of smb.PDC.conf.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 10 Last edited on Friday, August 8, 2003 12:08:36 pm by CraigBox
Older page: version 7 Last edited on Wednesday, July 31, 2002 9:18:52 am by GavinGrieve Revert
@@ -103,9 +103,9 @@
  # startup and gives it a slightly higher chance of winning the election 
  preferred master = yes 
  
  # Enable this if you want Samba to be a domain logon server for 
- # Windows95 workstations. 
+ # Windows workstations. 
  domain logons = yes 
  
  # if you enable domain logons then you may want a per-machine or 
  # per user logon script 
@@ -124,9 +124,9 @@
  # WINS Server 
  wins support = yes 
  
  logon drive = Z: 
- logon home = \\server \%u  
+ logon home = \\%L \%U  
  
  # WINS Server - Tells the NMBD components of Samba to be a WINS Client 
  # Note: Samba can be either a WINS Server, or a WINS Client, but 
  # NOT both 
@@ -153,4 +153,9 @@
  
  # Script to run when adding users/machines to the domain 
  add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false \ 
  -M %u 
+  
+ # If you're on Debian, you can use the following line:  
+ # add user script = /usr/sbin/adduser --home /dev/null \  
+ # --ingroup machines --shell /bin/false --no-create-home \  
+ # --disabled-login --gecos "SAMBA Machine Account" --force-badname %u