From 266258ffc643f8d167367748139256323c6384a6 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Sun, 17 Jul 2005 05:46:16 +0000 Subject: More documentation regarding disabling of roamin profile paraphenalia. (This used to be commit bb0873dfd09afb4594343699bd0beba122f1390e) --- docs/smbdotconf/logon/logondrive.xml | 13 ++++--- docs/smbdotconf/logon/logonhome.xml | 61 +++++++++++++++++++------------ docs/smbdotconf/logon/logonpath.xml | 71 ++++++++++++++++++++---------------- 3 files changed, 85 insertions(+), 60 deletions(-) diff --git a/docs/smbdotconf/logon/logondrive.xml b/docs/smbdotconf/logon/logondrive.xml index 2b8f016ece..145a7a8eed 100644 --- a/docs/smbdotconf/logon/logondrive.xml +++ b/docs/smbdotconf/logon/logondrive.xml @@ -4,12 +4,15 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter specifies the local path to - which the home directory will be connected (see ) - and is only used by NT Workstations. + + This parameter specifies the local path to which the home directory will be + connected (see ) and is only used by NT + Workstations. + - Note that this option is only useful if Samba is set up as a - logon server. + + Note that this option is only useful if Samba is set up as a logon server. + z: h: diff --git a/docs/smbdotconf/logon/logonhome.xml b/docs/smbdotconf/logon/logonhome.xml index 5939902625..06f3d47375 100644 --- a/docs/smbdotconf/logon/logonhome.xml +++ b/docs/smbdotconf/logon/logonhome.xml @@ -4,39 +4,52 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter specifies the home directory - location when a Win95/98 or NT Workstation logs into a Samba PDC. - It allows you to do + + This parameter specifies the home directory location when a Win95/98 or NT Workstation logs into a Samba PDC. + It allows you to do + - C:\> - NET USE H: /HOME + + C:\>NET USE H: /HOME - from a command prompt, for example. + + from a command prompt, for example. + - This option takes the standard substitutions, allowing - you to have separate logon scripts for each user or machine. + + This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine. + + + + This parameter can be used with Win9X workstations to ensure that roaming profiles are stored in a + subdirectory of the user's home directory. This is done in the following way: + - This parameter can be used with Win9X workstations to ensure - that roaming profiles are stored in a subdirectory of the user's - home directory. This is done in the following way: + + logon home = \\%N\%U\profile + - logon home = \\%N\%U\profile + + This tells Samba to return the above string, with substitutions made when a client requests the info, generally + in a NetUserGetInfo request. Win9X clients truncate the info to \\server\share when a user does + net use /home but use the whole string when dealing with profiles. + - This tells Samba to return the above string, with - substitutions made when a client requests the info, generally - in a NetUserGetInfo request. Win9X clients truncate the info to - \\server\share when a user does net use /home - but use the whole string when dealing with profiles. + + Note that in prior versions of Samba, the was returned rather than + logon home. This broke net use /home + but allowed profiles outside the home directory. The current implementation is correct, and can be used for + profiles if you use the above trick. + - Note that in prior versions of Samba, the was returned rather than - logon home. This broke net use /home but allowed profiles outside the home directory. - The current implementation is correct, and can be used for profiles if you use - the above trick. + + Disable this feature by setting "" - using the empty string. + - This option is only useful if Samba is set up as a logon - server. + + This option is only useful if Samba is set up as a logon server. + \\%N\%U diff --git a/docs/smbdotconf/logon/logonpath.xml b/docs/smbdotconf/logon/logonpath.xml index eb2e9de056..77466c1960 100644 --- a/docs/smbdotconf/logon/logonpath.xml +++ b/docs/smbdotconf/logon/logonpath.xml @@ -4,40 +4,42 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter specifies the home directory - where roaming profiles (NTuser.dat etc files for Windows NT) are - stored. Contrary to previous versions of these manual pages, it has - nothing to do with Win 9X roaming profiles. To find out how to - handle roaming profiles for Win 9X system, see the parameter. + + This parameter specifies the home directory where roaming profiles (NTuser.dat etc files for Windows NT) are + stored. Contrary to previous versions of these manual pages, it has nothing to do with Win 9X roaming + profiles. To find out how to handle roaming profiles for Win 9X system, see the + parameter. + - This option takes the standard substitutions, allowing you - to have separate logon scripts for each user or machine. It also - specifies the directory from which the "Application Data", - (desktop, start menu, - network neighborhood, programs - and other folders, and their contents, are loaded and displayed on - your Windows NT client. + + This option takes the standard substitutions, allowing you to have separate logon scripts for each user or + machine. It also specifies the directory from which the "Application Data", (desktop, start menu, network neighborhood, programs and other + folders, and their contents, are loaded and displayed on your Windows NT client. + - The share and the path must be readable by the user for - the preferences and directories to be loaded onto the Windows NT - client. The share must be writeable when the user logs in for the first - time, in order that the Windows NT client can create the NTuser.dat - and other directories. + + The share and the path must be readable by the user for the preferences and directories to be loaded onto the + Windows NT client. The share must be writeable when the user logs in for the first time, in order that the + Windows NT client can create the NTuser.dat and other directories. + - Thereafter, the directories and any of the contents can, - if required, be made read-only. It is not advisable that the - NTuser.dat file be made read-only - rename it to NTuser.man to - achieve the desired effect (a MANdatory - profile). + + Thereafter, the directories and any of the contents can, if required, be made read-only. It is not advisable + that the NTuser.dat file be made read-only - rename it to NTuser.man to achieve the desired effect (a + MANdatory profile). + - Windows clients can sometimes maintain a connection to - the [homes] share, even though there is no user logged in. - Therefore, it is vital that the logon path does not include a - reference to the homes share (i.e. setting this parameter to - \%N\%U\profile_path will cause problems). + + Windows clients can sometimes maintain a connection to the [homes] share, even though there is no user logged + in. Therefore, it is vital that the logon path does not include a reference to the homes share (i.e. setting + this parameter to \%N\%U\profile_path will cause problems). + - This option takes the standard substitutions, allowing - you to have separate logon scripts for each user or machine. + + This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine. + @@ -52,8 +54,15 @@ - Note that this option is only useful if Samba is set up - as a logon server. + Note that this option is only useful if Samba is set up as a logon server. + + + Disable the use of roaming profiles by setting the value of this parameter to the empty string. For + example, "". Take note that even if the default setting + in the smb.conf file is the empty string, any value specified in the user account settings in the passdb + backend will over-ride the effect of setting this parameter to null. Disabling of all roaming profile use + requires that the user account settings must also be blank. + An example of use is: -- cgit