BUG in Win9x profile summary/clarification
Richard Sharpe
sharpe at ns.aus.com
Sat Oct 28 21:50:15 GMT 2000
At 02:58 PM 10/28/00 -0700, D Davies wrote:
>Hi,
>Just so there is no confusion as to what I reported earlier,
>consider this before and after illustration:
Did you update from 2.0.5 or earlier?
>Before:
># ls -la /home/profiles
>total 8
>drwxrwxrwx 2 root root 4096 Oct 28 14:19 ./
>drwxr-xr-x 8 root root 4096 Oct 25 19:58 ../
>
>Now if I log into the SAMBA PDC using a Windows 98
>computer, which is configured for profiles, while using
>these relevant portions from my smb.conf:
>logon home = \\me\profiles\%U
You cannot do this for Win9X from Samba 2.0.6 onwards. The reasons were all
sorted out last Feb (2000) or there abouts. Please have a look at one of
the document files, or go back over the archive or have a look at Special
Edition, Using Samba.
Basically, Win9X logons use a LanManager call to pick up information that
is used to locate where the profiles are, and this call does not have a
separate homes share and profiles share.
The best you can do is:
logon home = \\%L\%U\.profiles
>[profiles]
> path = /home/profiles
>
>The 'Creating Using Profile' dialog box pops up, which
>shows my profile being created on the server location.
>But the logon home string is passed to the Windows 98
>computer with the %U unexpanded, and you get the
>wrong result:
>
>After:
># ls -la /home/profiles
>total 16
>drwxr-xr-x 9 joebob users 4096 Oct 28 14:23 %U/
>drwxrwxrwx 3 root root 4096 Oct 28 14:24 ./
>drwxr-xr-x 8 root root 4096 Oct 25 19:58 ../
>
># cd %U
># ls -la
>total 36
>drwxr-xr-x 9 joebob users 4096 Oct 28 14:23 ./
>drwxrwxrwx 3 root root 4096 Oct 28 14:24 ../
>drwxr-xr-x 5 joebob users 4096 Oct 28 14:23 Application\ Data/
>drwxr-xr-x 2 joebob users 4096 Oct 28 14:23 Cookies/
>drwxr-xr-x 3 joebob users 4096 Oct 28 14:23 Desktop/
>drwxr-xr-x 3 joebob users 4096 Oct 28 14:23 History/
>drwxr-xr-x 2 joebob users 4096 Oct 28 14:23 NetHood/
>drwxr-xr-x 2 joebob users 4096 Oct 28 14:23 Recent/
>drwxr-xr-x 3 joebob users 4096 Oct 28 14:23 Start\ Menu/
>
>I hope this illustration makes things clearer. It should be a relatively
>easy thing to fix I hope :)
>
>Cheers,
>D Davies
>
>
>
>
Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
More information about the samba-technical
mailing list