[Samba] Correct behavior for home drives?????

Book, Jesse jbook at nationaljournal.com
Fri Oct 17 12:42:11 GMT 2003


Hello all,
	In getting ready to roll out samba 3, I came across some behavior that may or 
may not be a bug.  My clients are mixed win98 / winxp.  Roaming is enabled as 
we frequently have interns that do not have a dedicated computer.  When an 
intern logs into an xp machine and saves a file to their home drive (H:), and 
then has to log into a 98 machine, everything is fine, the file is 
accessable.  The problem shows up when the intern goes back to an xp machine. 
The file saved on H: is no longer accessable as their home drive mapping has 
changed.  The first time the intern logs on to the xp machine the home drive 
is mapped to \\samba3\intern.  When the intern logs into the 98 box the home 
drive is mapped to \\samba3\intern.  When the intern logs back into an xp box 
the home drive gets mapped to \\samba3\intern\.profile.  This is by no means 
a show stopper for me as I can simply work around it by dropping the 
'.profile' from the 'logon home' option, I was just wondering if this was 
normal behavior?

Pertinent part of the smb.conf
============================
[global]
        netbios name = samba3
        server string = TestPDC
        workgroup = wrkgrp

        os level = 99
        preferred master = yes
        domain master = yes
        local master = yes

        security = user
        encrypt passwords = yes
        interfaces = 192.168.0.5/24
        hosts allow = 192.168.0. 127.0.0.

        add machine script = /usr/sbin/useradd -d /dev/null -g 103 -s /bin/
false %u'$'

        domain logons = yes
        logon path = \\%N\profiles\/%U
        logon drive = H:
        logon home = \\%N\%U\.profile
        logon script = scripts\%U.bat

-= Jesse =-



More information about the samba mailing list