<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=smb.conf%2Fexamples%2F2010-05-25</id>
	<title>smb.conf/examples/2010-05-25 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=smb.conf%2Fexamples%2F2010-05-25"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smb.conf/examples/2010-05-25&amp;action=history"/>
	<updated>2026-07-04T16:32:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smb.conf/examples/2010-05-25&amp;diff=19787&amp;oldid=prev</id>
		<title>Woozle: &#039;code&#039; tag was disabled; changed to &#039;ini&#039;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smb.conf/examples/2010-05-25&amp;diff=19787&amp;oldid=prev"/>
		<updated>2013-10-25T19:39:41Z</updated>

		<summary type="html">&lt;p&gt;&amp;#039;code&amp;#039; tag was disabled; changed to &amp;#039;ini&amp;#039;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:39, 25 October 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After that, the &amp;quot;laser&amp;quot; printer share started working again after inexplicably stopping.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After that, the &amp;quot;laser&amp;quot; printer share started working again after inexplicably stopping.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Contents==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Contents==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ini&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#======================= Global Settings =======================&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#======================= Global Settings =======================&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l324&quot;&gt;Line 324:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 324:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	force security mode = 777&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	force security mode = 777&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	force directory security mode = 777&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	force directory security mode = 777&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ini&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smb.conf/examples/2010-05-25&amp;diff=13692&amp;oldid=prev</id>
		<title>Woozle: Created page with &#039;Working example from gonzo, just after I ran the Samba config utility (gksu system-config-samba) and closed it without changing anything. It apparently did the following: * uncom…&#039;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smb.conf/examples/2010-05-25&amp;diff=13692&amp;oldid=prev"/>
		<updated>2010-05-25T23:17:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;Working example from gonzo, just after I ran the Samba config utility (gksu system-config-samba) and closed it without changing anything. It apparently did the following: * uncom…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Working example from gonzo, just after I ran the Samba config utility (gksu system-config-samba) and closed it without changing anything. It apparently did the following:&lt;br /&gt;
* uncommented &amp;quot;printer=laser&amp;quot;&lt;br /&gt;
* commented out several settings near the beginning:&lt;br /&gt;
** load printers = yes&lt;br /&gt;
** follow symlinks = yes&lt;br /&gt;
** printing = cups&lt;br /&gt;
** os level = 20&lt;br /&gt;
** preferred master = no&lt;br /&gt;
* removed a couple of lines that were commented out already&lt;br /&gt;
* in [print$], changed &amp;quot;read only = yes&amp;quot; to &amp;quot;writeable = yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After that, the &amp;quot;laser&amp;quot; printer share started working again after inexplicably stopping.&lt;br /&gt;
==Contents==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#======================= Global Settings =======================&lt;br /&gt;
&lt;br /&gt;
[global]&lt;br /&gt;
	log file = /var/log/samba/log.%m&lt;br /&gt;
	lanman auth = Yes&lt;br /&gt;
;	load printers = yes&lt;br /&gt;
	guest account = sambaguest&lt;br /&gt;
	printer = laser&lt;br /&gt;
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .&lt;br /&gt;
	obey pam restrictions = yes&lt;br /&gt;
	guest ok = yes&lt;br /&gt;
	map to guest = bad user&lt;br /&gt;
	domain master = no&lt;br /&gt;
;	follow symlinks = yes&lt;br /&gt;
	passwd program = /usr/bin/passwd %u&lt;br /&gt;
	unix extensions = no&lt;br /&gt;
	dns proxy = no&lt;br /&gt;
;	printing = cups&lt;br /&gt;
	wide links = yes&lt;br /&gt;
	server string = %h server (Samba, Ubuntu)&lt;br /&gt;
	message command = /bin/sh -c &amp;#039;/usr/bin/linpopup&lt;br /&gt;
	unix password sync = yes&lt;br /&gt;
	local master = no&lt;br /&gt;
	workgroup = pinecrest&lt;br /&gt;
;	os level = 20&lt;br /&gt;
	client lanman auth = Yes&lt;br /&gt;
	comment = the Brother laserjet thingy&lt;br /&gt;
	printcap name = cups&lt;br /&gt;
	security = share&lt;br /&gt;
	syslog = 0&lt;br /&gt;
;	preferred master = no&lt;br /&gt;
	usershare allow guests = yes&lt;br /&gt;
	panic action = /usr/share/samba/panic-action %d&lt;br /&gt;
	max log size = 1000&lt;br /&gt;
	pam password change = yes&lt;br /&gt;
# allows samba to show/include symbolic-linked folders and files:&lt;br /&gt;
# allows links to targets not within the shared folder&lt;br /&gt;
# 2010-04-20 makes wide links work again&lt;br /&gt;
&lt;br /&gt;
# added 2009-11-03 - apparently helpful for Win9x clients&lt;br /&gt;
&lt;br /&gt;
## Browsing/Identification ###&lt;br /&gt;
&lt;br /&gt;
# Change this to the workgroup/NT-domain name your Samba server will part of&lt;br /&gt;
&lt;br /&gt;
# server string is the equivalent of the NT Description field&lt;br /&gt;
&lt;br /&gt;
# Windows Internet Name Serving Support Section:&lt;br /&gt;
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server&lt;br /&gt;
#   wins support = no&lt;br /&gt;
&lt;br /&gt;
# WINS Server - Tells the NMBD components of Samba to be a WINS Client&lt;br /&gt;
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both&lt;br /&gt;
;   wins server = w.x.y.z&lt;br /&gt;
&lt;br /&gt;
# This will prevent nmbd to search for NetBIOS names through DNS.&lt;br /&gt;
&lt;br /&gt;
# What naming service and in what order should we use to resolve host names&lt;br /&gt;
# to IP addresses&lt;br /&gt;
;   name resolve order = lmhosts host wins bcast&lt;br /&gt;
&lt;br /&gt;
#### Networking ####&lt;br /&gt;
&lt;br /&gt;
# The specific set of interfaces / networks to bind to&lt;br /&gt;
# This can be either the interface name or an IP address/netmask;&lt;br /&gt;
# interface names are normally preferred&lt;br /&gt;
;   interfaces = 127.0.0.0/8 eth0&lt;br /&gt;
&lt;br /&gt;
# Only bind to the named interfaces and/or networks; you must use the&lt;br /&gt;
# &amp;#039;interfaces&amp;#039; option above to use this.&lt;br /&gt;
# It is recommended that you enable this feature if your Samba machine is&lt;br /&gt;
# not protected by a firewall or is a firewall itself.  However, this&lt;br /&gt;
# option cannot handle dynamic or non-broadcast interfaces correctly.&lt;br /&gt;
;   bind interfaces only = yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Debugging/Accounting ####&lt;br /&gt;
&lt;br /&gt;
# This tells Samba to use a separate log file for each machine&lt;br /&gt;
# that connects&lt;br /&gt;
&lt;br /&gt;
# Cap the size of the individual log files (in KiB).&lt;br /&gt;
&lt;br /&gt;
# If you want Samba to only log through syslog then set the following&lt;br /&gt;
# parameter to &amp;#039;yes&amp;#039;.&lt;br /&gt;
#   syslog only = no&lt;br /&gt;
&lt;br /&gt;
# We want Samba to log a minimum amount of information to syslog. Everything&lt;br /&gt;
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log&lt;br /&gt;
# through syslog you should set the following parameter to something higher.&lt;br /&gt;
&lt;br /&gt;
# Do something sensible when Samba crashes: mail the admin a backtrace&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
####### Authentication #######&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;security = user&amp;quot; is always a good idea. This will require a Unix account&lt;br /&gt;
# in this server for every user accessing the server. See&lt;br /&gt;
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html&lt;br /&gt;
# in the samba-doc package for details.&lt;br /&gt;
#   security = user&lt;br /&gt;
&lt;br /&gt;
# You may wish to use password encryption.  See the section on&lt;br /&gt;
# &amp;#039;encrypt passwords&amp;#039; in the smb.conf(5) manpage before enabling.&lt;br /&gt;
;	encrypt passwords = yes&lt;br /&gt;
&lt;br /&gt;
# If you are using encrypted passwords, Samba will need to know what&lt;br /&gt;
# password database type you are using.&lt;br /&gt;
;	passdb backend = tdbsam&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# This boolean parameter controls whether Samba attempts to sync the Unix&lt;br /&gt;
# password with the SMB password when the encrypted SMB password in the&lt;br /&gt;
# passdb is changed.&lt;br /&gt;
&lt;br /&gt;
# For Unix password sync to work on a Debian GNU/Linux system, the following&lt;br /&gt;
# parameters must be set (thanks to Ian Kahan &amp;lt;&amp;lt;kahan@informatik.tu-muenchen.de&amp;gt; for&lt;br /&gt;
# sending the correct chat script for the passwd program in Debian Sarge).&lt;br /&gt;
&lt;br /&gt;
# This boolean controls whether PAM will be used for password changes&lt;br /&gt;
# when requested by an SMB client instead of the program listed in&lt;br /&gt;
# &amp;#039;passwd program&amp;#039;. The default is &amp;#039;no&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
# This option controls how unsuccessful authentication attempts are mapped&lt;br /&gt;
# to anonymous connections&lt;br /&gt;
&lt;br /&gt;
########## Domains ###########&lt;br /&gt;
&lt;br /&gt;
# Is this machine able to authenticate users. Both PDC and BDC&lt;br /&gt;
# must have this setting enabled. If you are the BDC you must&lt;br /&gt;
# change the &amp;#039;domain master&amp;#039; setting to no&lt;br /&gt;
#&lt;br /&gt;
;   domain logons = yes&lt;br /&gt;
#&lt;br /&gt;
# The following setting only takes effect if &amp;#039;domain logons&amp;#039; is set&lt;br /&gt;
# It specifies the location of the user&amp;#039;s profile directory&lt;br /&gt;
# from the client point of view)&lt;br /&gt;
# The following required a [profiles] share to be setup on the&lt;br /&gt;
# samba server (see below)&lt;br /&gt;
;   logon path = \\%N\profiles\%U&lt;br /&gt;
# Another common choice is storing the profile in the user&amp;#039;s home directory&lt;br /&gt;
# (this is Samba&amp;#039;s default)&lt;br /&gt;
#   logon path = \\%N\%U\profile&lt;br /&gt;
&lt;br /&gt;
# The following setting only takes effect if &amp;#039;domain logons&amp;#039; is set&lt;br /&gt;
# It specifies the location of a user&amp;#039;s home directory (from the client&lt;br /&gt;
# point of view)&lt;br /&gt;
;   logon drive = H:&lt;br /&gt;
#   logon home = \\%N\%U&lt;br /&gt;
&lt;br /&gt;
# The following setting only takes effect if &amp;#039;domain logons&amp;#039; is set&lt;br /&gt;
# It specifies the script to run during logon. The script must be stored&lt;br /&gt;
# in the [netlogon] share&lt;br /&gt;
# NOTE: Must be store in &amp;#039;DOS&amp;#039; file format convention&lt;br /&gt;
;   logon script = logon.cmd&lt;br /&gt;
&lt;br /&gt;
# This allows Unix users to be created on the domain controller via the SAMR&lt;br /&gt;
# RPC pipe.  The example command creates a user account with a disabled Unix&lt;br /&gt;
# password; please adapt to your needs&lt;br /&gt;
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos &amp;quot;&amp;quot; %u&lt;br /&gt;
&lt;br /&gt;
# This allows machine accounts to be created on the domain controller via the&lt;br /&gt;
# SAMR RPC pipe.&lt;br /&gt;
# The following assumes a &amp;quot;machines&amp;quot; group exists on the system&lt;br /&gt;
; add machine script  = /usr/sbin/useradd -g machines -c &amp;quot;%u machine account&amp;quot; -d /var/lib/samba -s /bin/false %u&lt;br /&gt;
&lt;br /&gt;
# This allows Unix groups to be created on the domain controller via the SAMR&lt;br /&gt;
# RPC pipe.&lt;br /&gt;
; add group script = /usr/sbin/addgroup --force-badname %g&lt;br /&gt;
&lt;br /&gt;
########## Printing ##########&lt;br /&gt;
&lt;br /&gt;
# If you want to automatically load your printer list rather&lt;br /&gt;
# than setting them up individually then you&amp;#039;ll need this&lt;br /&gt;
&lt;br /&gt;
# lpr(ng) printing. You may wish to override the location of the&lt;br /&gt;
# printcap file&lt;br /&gt;
&lt;br /&gt;
# CUPS printing.  See also the cupsaddsmb(8) manpage in the&lt;br /&gt;
# cupsys-client package.&lt;br /&gt;
&lt;br /&gt;
############ Misc ############&lt;br /&gt;
&lt;br /&gt;
# Using the following line enables you to customise your configuration&lt;br /&gt;
# on a per machine basis. The %m gets replaced with the netbios name&lt;br /&gt;
# of the machine that is connecting&lt;br /&gt;
;   include = /home/samba/etc/smb.conf.%m&lt;br /&gt;
&lt;br /&gt;
# Most people will find that this option gives better performance.&lt;br /&gt;
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html&lt;br /&gt;
# for details&lt;br /&gt;
# You may want to add the following on a Linux system:&lt;br /&gt;
#         SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
#   socket options = TCP_NODELAY&lt;br /&gt;
&lt;br /&gt;
# The following parameter is useful only if you have the linpopup package&lt;br /&gt;
# installed. The samba maintainer and the linpopup maintainer are&lt;br /&gt;
# working to ease installation and configuration of linpopup and samba.&lt;br /&gt;
&lt;br /&gt;
# Domain Master specifies Samba to be the Domain Master Browser. If this&lt;br /&gt;
# machine will be configured as a BDC (a secondary logon server), you&lt;br /&gt;
# must set this to &amp;#039;no&amp;#039;; otherwise, the default behavior is recommended.&lt;br /&gt;
#   domain master = auto&lt;br /&gt;
&lt;br /&gt;
# Some defaults for winbind (make sure you&amp;#039;re not using the ranges&lt;br /&gt;
# for something else.)&lt;br /&gt;
;   idmap uid = 10000-20000&lt;br /&gt;
;   idmap gid = 10000-20000&lt;br /&gt;
;   template shell = /bin/bash&lt;br /&gt;
&lt;br /&gt;
# The following was the default behaviour in sarge,&lt;br /&gt;
# but samba upstream reverted the default because it might induce&lt;br /&gt;
# performance issues in large organizations.&lt;br /&gt;
# See Debian bug #368251 for some of the consequences of *not*&lt;br /&gt;
# having this setting and smb.conf(5) for details.&lt;br /&gt;
;   winbind enum groups = yes&lt;br /&gt;
;   winbind enum users = yes&lt;br /&gt;
&lt;br /&gt;
# Setup usershare options to enable non-root users to share folders&lt;br /&gt;
# with the net usershare command.&lt;br /&gt;
&lt;br /&gt;
# Maximum number of usershare. 0 (default) means that usershare is disabled.&lt;br /&gt;
;	usershare max shares = 100&lt;br /&gt;
&lt;br /&gt;
# Allow users who&amp;#039;ve been granted usershare privileges to create&lt;br /&gt;
# public shares, not just authenticated ones&lt;br /&gt;
&lt;br /&gt;
#======================= Share Definitions =======================&lt;br /&gt;
&lt;br /&gt;
# Un-comment the following (and tweak the other settings below to suit)&lt;br /&gt;
# to enable the default home directory shares.  This will share each&lt;br /&gt;
# user&amp;#039;s home directory as \\server\username&lt;br /&gt;
;[homes]&lt;br /&gt;
;   comment = Home Directories&lt;br /&gt;
;   browseable = no&lt;br /&gt;
&lt;br /&gt;
# By default, the home directories are exported read-only. Change the&lt;br /&gt;
# next parameter to &amp;#039;no&amp;#039; if you want to be able to write to them.&lt;br /&gt;
;   read only = yes&lt;br /&gt;
&lt;br /&gt;
# File creation mask is set to 0700 for security reasons. If you want to&lt;br /&gt;
# create files with group=rw permissions, set next parameter to 0775.&lt;br /&gt;
;   create mask = 0700&lt;br /&gt;
&lt;br /&gt;
# Directory creation mask is set to 0700 for security reasons. If you want to&lt;br /&gt;
# create dirs. with group=rw permissions, set next parameter to 0775.&lt;br /&gt;
;   directory mask = 0700&lt;br /&gt;
&lt;br /&gt;
# By default, \\server\username shares can be connected to by anyone&lt;br /&gt;
# with access to the samba server.  Un-comment the following parameter&lt;br /&gt;
# to make sure that only &amp;quot;username&amp;quot; can connect to \\server\username&lt;br /&gt;
# This might need tweaking when using external authentication schemes&lt;br /&gt;
;   valid users = %S&lt;br /&gt;
&lt;br /&gt;
# Un-comment the following and create the netlogon directory for Domain Logons&lt;br /&gt;
# (you need to configure Samba to act as a domain controller too.)&lt;br /&gt;
;[netlogon]&lt;br /&gt;
;   comment = Network Logon Service&lt;br /&gt;
;   path = /home/samba/netlogon&lt;br /&gt;
;   guest ok = yes&lt;br /&gt;
;   read only = yes&lt;br /&gt;
;   share modes = no&lt;br /&gt;
&lt;br /&gt;
# Un-comment the following and create the profiles directory to store&lt;br /&gt;
# users profiles (see the &amp;quot;logon path&amp;quot; option above)&lt;br /&gt;
# (you need to configure Samba to act as a domain controller too.)&lt;br /&gt;
# The path below should be writable by all users so that their&lt;br /&gt;
# profile directory may be created the first time they log on&lt;br /&gt;
;[profiles]&lt;br /&gt;
;   comment = Users profiles&lt;br /&gt;
;   path = /home/samba/profiles&lt;br /&gt;
;   guest ok = no&lt;br /&gt;
;   browseable = no&lt;br /&gt;
;   create mask = 0600&lt;br /&gt;
;   directory mask = 0700&lt;br /&gt;
&lt;br /&gt;
[printers]&lt;br /&gt;
	create mask = 0700&lt;br /&gt;
	comment = All Printers&lt;br /&gt;
	printable = yes&lt;br /&gt;
	writable = yes&lt;br /&gt;
	public = yes&lt;br /&gt;
	path = /var/spool/samba&lt;br /&gt;
&lt;br /&gt;
# Windows clients look for this share name as a source of downloadable&lt;br /&gt;
# printer drivers&lt;br /&gt;
[print$]&lt;br /&gt;
	comment = Printer Drivers&lt;br /&gt;
	path = /var/lib/samba/printers&lt;br /&gt;
;	browseable = yes&lt;br /&gt;
	guest ok = yes&lt;br /&gt;
	writeable = yes&lt;br /&gt;
&lt;br /&gt;
[stuff]&lt;br /&gt;
	path = /home/woozle/Public/&lt;br /&gt;
	guest ok = yes&lt;br /&gt;
	read only = no&lt;br /&gt;
	map archive = no&lt;br /&gt;
	force create mode = 0777&lt;br /&gt;
	force security mode = 777&lt;br /&gt;
	force directory security mode = 0777&lt;br /&gt;
	force directory mode = 777&lt;br /&gt;
&lt;br /&gt;
[things]&lt;br /&gt;
	path = /home/woozle/things/&lt;br /&gt;
	guest ok = yes&lt;br /&gt;
	read only = no&lt;br /&gt;
	force create mode = 777&lt;br /&gt;
	force security mode = 777&lt;br /&gt;
	force directory security mode = 777&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>