[Samba] No Roaming profiles local only

John H Terpstra jht at samba.org
Tue Nov 11 17:16:35 GMT 2003


On Tue, 11 Nov 2003 David.Grudek at anixter.com wrote:

> On a windows server there is a local profile by default unless you tell it
> to have a roaming profile.  I want to have the same thing happen.  All the
> machines say that they used the local copy   then a couple seconds later
> it says it could not copy to the server and any changes will not be saved.
>  I know that I could let it be a roaming and switch it to a local later
> but in a larger enterprise that is too much work.
>
> I tried this in my smb.conf on debian testing with samba 3.0
>
> logon home = ""
> logon path = ""
>
> I used to use this on redhat  8 with samba 2.28a before and it worked.
>
> and     logon home = c:\documents and settings\%u
>              logon path = c:\documents and settings\%u
>
> I saw this on a web site and so I tried it but it did not work.
>
> I bought the book called The official Samba 3 howto and reference guide.
> What a great book but it says in there if you want to disable roaming
> profiles, there are three ways to do it.  Do it in the smb.conf file but
> does not show how just says to do it.  Then it says to do it in the
> windows registry but this is not practical to do to 100 workstations.  Or
> to leave as roaming and then switch to local which is also not practical
> to do to 100 workstations.   There should be a way to just make it do
> local on the fly as it creates the profile as windows does it.  I would
> like to know how your smb.conf file should look in order to accomplish
> this.  Any help would be appreciated.
>


logon home =
logon path =

These two entries will cancel the default settings and enforce local
profiles. If you are using Samba-3.0.x and you have a tdbsam backend, and
it has a profile path set, then this setting will be used. In this case
you have to use either pdbedit to remove the setting, or use the SRVTOOLS
User Manager for Domains to change the setting to a blank.

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list