[Samba] samba3 win2k roaming profiles.
John H Terpstra
jht at samba.org
Sun Jan 18 02:29:24 GMT 2004
On Sun, 18 Jan 2004, John H Terpstra wrote:
> Nathan,
>
> Workstation default user profiles go in:
> C:\Application and User Defaults\'username'
Oops! The actual location is:
C:\Documents and Settings\'username'
Sorry. I hit send instead of postpone. I was starting up WinXP Pro to
validate, abd found I'd sent it.
- John T.
>
> Roaming profiles go in:
>
> logon path/'username'
>
> ie: If "logon path = \\server\profiles"
>
> Fred's profile will go in \\server\profiles\fred
>
> If the UNIX path for the [profiles] share is: /home/profiles
> Fred's profile under UNIX will be in /home/profiles/fred
>
> Note: You must create the directory 'fred' under the profile share because
> Samba does not automatically do that for you. If the directory does not
> exist, the profile will not be saved.
>
> Cheers,
> John T.
>
> On Sat, 17 Jan 2004, Nathan Brown wrote:
>
> > Perhaps I have a faulty Windows setup because I used the group policy
> > editor gpedit.msc and set it to delete all profiles after you logout
> > and to wait for roaming profiles. Perhaps I should re-install? Also,
> > where are the profiles supposed to go? The same place it downloaded it
> > from; the "logon path"?
> >
> >
> > On Jan 17, 2004, at 8:10 PM, John H Terpstra wrote:
> >
> > > On Sat, 17 Jan 2004, Nathan Brown wrote:
> > >
> > >> I'm running Windows 2000 Professional and Samba 3.0.1 and I can't seem
> > >> to get roaming profiles to work right. When there are no profiles
> > >> stored locally on the win2k machine, and a user logs in for the first
> > >> time, it successfully reads the profile from the server in the
> > >> \\netlogon\Default User share. Next, if you manually copy the profile
> > >> to server and login to the workstation, it will read the profile.
> > >>
> > >> The problem comes in when any changes are made to the profile or if a
> > >> profile exists (for that user) on the workstation, it won't read the
> > >> profile from the server nor will it update the profile on the server
> > >> when they log off. I can't tell if this is a Windows problem or a
> > >> Samba
> > >> problem, but everything looks like it set correctly in Samba and on
> > >> Windows and I just don't know what to do now!
> > >
> > > What you see is the correct Windows behavior. Windows will read the
> > > Default Network Profile only the to create the users' default profile.
> > > That default will be stored on the local windows workstation in the
> > > default location. If roaming profiles are enabled, the users' default
> > > profile will be written to the profile share in a directory named as
> > > the
> > > user.
> > >
> > > You can configure the workstation to delete a roaming profile on
> > > logout.
> > > Whent that is done, if the user has a 'per user' default profile it
> > > will
> > > be used in preference to the Network Default User profile.
> > >
> > > Cheers,
> > > John T.
> > >
> > >>
> > >> Samba Config:
> > >>
> > >> [global]
> > >> workgroup = WORKSTATION
> > >> time server = Yes
> > >> log level = 11
> > >> logon script = %u.bat
> > >> logon drive = h:
> > >> domain logons = Yes
> > >> os level = 33
> > >> preferred master = Yes
> > >> domain master = Yes
> > >> profile acls = yes
> > >> logon home = \\www\%u
> > >> logon path = \\www\profile\%u
> > >> profile acls = yes
> > >>
> > >> [profile]
> > >> create mask = 0777
> > >> directory mask = 0777
> > >> writable = yes
> > >> browseable = yes
> > >> path = /home/profiles
> > >>
> > >> [netlogon]
> > >> path = /usr/local/netlogon
> > >> read only = No
> > >> locking = No
> > >> root preexec = /usr/local/netlogon/logonscript.pl %U %M %m
> > >> root postexec = /usr/local/netlogon/logoutscript.pl %U %M %m
> > >>
> > >> [homes]
> > >> comment = Home Directories
> > >> read only = No
> > >> create mask = 0700
> > >> browseable = No
> > >>
> > >>
> > >
> > > --
> > > John H Terpstra
> > > Email: jht at samba.org
> >
> >
>
>
--
John H Terpstra
Email: jht at samba.org
More information about the samba
mailing list