[Samba] Roaming Profile & Folder Redirection Problems

Rich Edelman redelman at speedscript.com
Thu Oct 14 22:11:44 GMT 2004

Sorry about the top post...

John and list... 

I have figured out what my problem was with Chaper 6 of Samba 3 By Example. 
Table 6.3 (page 167 of the print copy) has some incorrect values. That table 
says to set the Cache directory key, for example, to: 

That is incorrect! The leading "\\" characters cause the profile path to be 
unreachable, as I believe the path would then expand to:
\\\\SMB-PDC\profdata\testuser\InternetFiles. Removing the two leading \ 
characters fixed all my problems on both Windows 2000 and XP. 

Both the print versions and the web versions of Samba 3 By Example have this 
typo in multiple places in section 6.6.1. (Step 3 under "Redirect Folders In 
Default User Profile" has it as an example of a network redirection that 
contains a macro, as well as the aforementioned Table 6.3 errors.)

The web version of TOSHARG, Chapter 23, does not contain this error and is 
what led me to figuring out what I was going incorrectly.

Rich Edelman

On Sunday 10 October 2004 09:43 pm, John H Terpstra wrote:
> Rich,
> I have seen a number of reports of problems with the procedure I outlined
> in the book. Rest assured that this was well tested prior to publication.
> Additionally, there are some large sites in Europe that use roaming
> profiles in precisely this fashion.
> That leaves us with the problem of the need to identify what you have done
> that is different, or to identify what is different in your client Windows
> configuration.
> I regret that at this time I do not have time to assist you further,
> however I am keen to hear of any progress you make in solving the issue and
> would much appreciate any comments that can be added to the chapter to help
> others to avoid your pain.
> Cheers,
> John T.
> On Sunday 10 October 2004 13:19, Rich Edelman wrote:
> > I'm running Samba 3.0.7 on SuSE 9.1 with OpenLDAP for auth.
> >
> > I've been mostly following along Terpstra's Book "Samba 3 By Example", as
> > lots of other people here have been.
> >
> > The three big problems I'm having are:
> > 1) After a Windows XP user logs out for the first time, upon next login
> > they get an error message saying "Windows cannot log you in because your
> > profile cannot be loaded." Deleting the NTUSER.DAT file for that user
> > allows that user to log in again.
> >
> > 2) It doesn't appear like the default user profile (located
> > in /var/lib/samba/netlogon/Default User/) is getting used for anything,
> > as when I log in for the first time and view the registry any changes
> > that I made for the default user are not there!
> >
> > 3) This one will probably be solved by #2 above, but whenever a user logs
> > out, there is that stupid 'synchronizing' window, even though all profile
> > folders have been redirected to a network drive. Why?
> >
> > Any help or suggestions on these would be greatly appreciated!
> >
> > Thanks,
> >
> > Rich Edelman
> --
> John H Terpstra
> Samba-Team Member
> Phone: +1 (650) 580-8668
> Author:
> The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
> Samba-3 by Example, ISBN: 0131472216
> Hardening Linux, ISBN: 0072254971
> OpenLDAP by Example, ISBN: 0131488732
> Other books in production.

More information about the samba mailing list