BUG - SAMBA_2_2 Win9X profiles are broken

Richard Sharpe sharpe at ns.aus.com
Mon Oct 30 05:33:55 GMT 2000


At 11:44 PM 10/29/00 -0800, D Davies wrote:
>Hi, this 'feature' is clearly broken in this branch.  I have a freshly
updated checkout
>of SAMBA_2_2 and am certain, that the 'logon home' smb.conf param is broken.
>
>The solution presented in the smb.conf distributed with SAMBA_2_2 does not
>work.  It suggests to use:
>    logon home = \\%L\%U\profile
>    -> but this doesnt work.

As it happens, I have just compiled up Samba 2.2.0, so I will try this out
and check it ...


>neither does this:
>    logon home = \\%L\%U
>
>furthermore, not even this works:
>    logon home = \\mynbname\%U
>
>In all of the above cases, an attempt by the Win9X client to do a:
>    net use * /HOME
>results in an error 67 - the share name cannot be found.
>
>*BUT* if I use this:
>    logon home = \\mynbname\profiles
>
>then the Win9X client can do a:
>    net use * /HOME
>
>and this gets him a mapping to my [profiles] share, which is clearly not
>useful.  This is because the Win9X computer creates the roaming profile
>for the user in /home/profiles. Look:
>
># cd /home/profiles
># ls -la
>total 44
>drwxrwxrwx  12 root     root         4096 Oct 29 23:18 ./
>drwxr-xr-x   7 root     root         4096 Oct 29 15:51 ../
>drwxr-xr-x   5 homer     users         4096 Oct 29 23:18 Application\ Data/
>drwxr-xr-x   2 homer     users         4096 Oct 29 23:18 Cookies/
>drwxr-xr-x   3 homer     users         4096 Oct 29 23:18 Desktop/
>drwxr-xr-x  12 homer     users         4096 Oct 29 23:18 Favorites/
>drwxr-xr-x   3 homer     users         4096 Oct 29 23:18 History/
>drwxr-xr-x   7 homer     users         4096 Oct 29 23:18 My\ Documents/
>drwxr-xr-x   2 homer     users         4096 Oct 29 23:18 NetHood/
>drwxr-xr-x   2 homer     users         4096 Oct 29 23:18 Recent/
>drwxr-xr-x   3 homer     users         4096 Oct 29 23:18 Start\ Menu/
>
>*And just to convince you* (I know, you're skeptical ;-), if you try this:
>    logon home = \\mynbname\profiles\%U
>
>then the Win9X client can do a:
>    net use * /HOME
>
>and as *correctly* documented in the smb.conf, the Win9X client will
>only use the \\server\share part to do the /HOME thing. (ie. my client
>gets a mapping to \\server\profiles for its home directory).  But again
>this is clearly NOT anything useful.  And the icing on the cake is that
>again, as correctly referenced in the smb.conf, the Win9X client will
>use the \\server\share\%U part for the profile storage location,
>unfortunately the whole BUG to this story is that now you get the
>profile stored at another bogus spot. Look:
>
># ls -la /home/profiles
>total 16
>drwxr-xr-x   9 homer    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 /home/profiles/%U
># ls -la
>total 36
>drwxr-xr-x   9 homer    users        4096 Oct 28 14:23 ./
>drwxrwxrwx   3 root     root         4096 Oct 28 14:24 ../
>drwxr-xr-x   5 homer    users        4096 Oct 28 14:23 Application\ Data/
>drwxr-xr-x   2 homer    users        4096 Oct 28 14:23 Cookies/
>drwxr-xr-x   3 homer    users        4096 Oct 28 14:23 Desktop/
>drwxr-xr-x   3 homer    users        4096 Oct 28 14:23 History/
>drwxr-xr-x   2 homer    users        4096 Oct 28 14:23 NetHood/
>drwxr-xr-x   2 homer    users        4096 Oct 28 14:23 Recent/
>drwxr-xr-x   3 homer    users        4096 Oct 28 14:23 Start\ Menu/
>
>
>It seems all the supporting pieces to have Win9X profiles are in place, just
>that the variables aren't getting expanded in smb.conf for the logon home
>param.
>
>If I am unclear with any of these details, tell me, Im happy to help fix this
>support in SAMBA_2_2.
>
>Regards
>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