| 1 |
<samba:parameter name="logon path" |
| 2 |
context="G" |
| 3 |
type="string" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para> |
| 7 |
This parameter specifies the directory where roaming profiles (Desktop, NTuser.dat, etc) are |
| 8 |
stored. Contrary to previous versions of these manual pages, it has nothing to do with Win 9X roaming |
| 9 |
profiles. To find out how to handle roaming profiles for Win 9X system, see the |
| 10 |
<smbconfoption name="logon home"/> parameter. |
| 11 |
</para> |
| 12 |
|
| 13 |
<para> |
| 14 |
This option takes the standard substitutions, allowing you to have separate logon scripts for each user or |
| 15 |
machine. It also specifies the directory from which the "Application Data", <filename |
| 16 |
moreinfo="none">desktop</filename>, <filename moreinfo="none">start menu</filename>, <filename |
| 17 |
moreinfo="none">network neighborhood</filename>, <filename moreinfo="none">programs</filename> and other |
| 18 |
folders, and their contents, are loaded and displayed on your Windows NT client. |
| 19 |
</para> |
| 20 |
|
| 21 |
<para> |
| 22 |
The share and the path must be readable by the user for the preferences and directories to be loaded onto the |
| 23 |
Windows NT client. The share must be writeable when the user logs in for the first time, in order that the |
| 24 |
Windows NT client can create the NTuser.dat and other directories. |
| 25 |
Thereafter, the directories and any of the contents can, if required, be made read-only. It is not advisable |
| 26 |
that the NTuser.dat file be made read-only - rename it to NTuser.man to achieve the desired effect (a |
| 27 |
<emphasis>MAN</emphasis>datory profile). |
| 28 |
</para> |
| 29 |
|
| 30 |
<para> |
| 31 |
Windows clients can sometimes maintain a connection to the [homes] share, even though there is no user logged |
| 32 |
in. Therefore, it is vital that the logon path does not include a reference to the homes share (i.e. setting |
| 33 |
this parameter to \\%N\homes\profile_path will cause problems). |
| 34 |
</para> |
| 35 |
|
| 36 |
<para> |
| 37 |
This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine. |
| 38 |
</para> |
| 39 |
|
| 40 |
<warning><para> |
| 41 |
Do not quote the value. Setting this as <quote>\\%N\profile\%U</quote> |
| 42 |
will break profile handling. Where the tdbsam or ldapsam passdb backend |
| 43 |
is used, at the time the user account is created the value configured |
| 44 |
for this parameter is written to the passdb backend and that value will |
| 45 |
over-ride the parameter value present in the smb.conf file. Any error |
| 46 |
present in the passdb backend account record must be edited using the |
| 47 |
appropriate tool (pdbedit on the command-line, or any other locally |
| 48 |
provided system tool). |
| 49 |
</para></warning> |
| 50 |
|
| 51 |
<para>Note that this option is only useful if Samba is set up as a domain controller.</para> |
| 52 |
|
| 53 |
<para> |
| 54 |
Disable the use of roaming profiles by setting the value of this parameter to no value. |
| 55 |
Take note that even if the default setting in the smb.conf file is the empty string, |
| 56 |
any value specified in the user account settings in the passdb backend will over-ride the |
| 57 |
effect of setting this parameter to null. Disabling of all roaming profile use |
| 58 |
requires that the user account settings must also be blank. |
| 59 |
</para> |
| 60 |
|
| 61 |
<para> |
| 62 |
An example of use is: |
| 63 |
<programlisting> |
| 64 |
logon path = \\PROFILESERVER\PROFILE\%U |
| 65 |
</programlisting> |
| 66 |
</para> |
| 67 |
<para> |
| 68 |
In this example the use of roaming profiles is disabled (depending also on passdb settings): |
| 69 |
<programlisting> |
| 70 |
logon path = |
| 71 |
</programlisting> |
| 72 |
</para> |
| 73 |
</description> |
| 74 |
<value type="default">\\%N\%U\profile</value> |
| 75 |
</samba:parameter> |