net use/home versus profiles

Luke Kenneth Casson Leighton lkcl at
Sat Jan 15 15:43:12 GMT 2000

On Sat, 15 Jan 2000, Richard Sharpe wrote:

> Hi,
> When you do a net use /home, Win9x sends a NetUserGetInfo with a detail of 11.
> Samba 2.0.6 fills in the usri11_homedir with lp_logon_home, not lp_logon_path.
> However, when Win9x is logging off or on, it also does a NetUserGetInfo
> request with a detail of 11.  Samba also returns lp_logon_home in the
> usri11_homedir field.
> Now, Samba cannot distinguish between the user doing a logon and the user
> doing a net use /home.

that's because win9x doesn't have the concept of domain logon, therefore
there _is_ no means.

i think what you are saying is that there is a screw-up in win9x (another
one) where the user's profile location is always expected to be in the
user's home directory?

this should not be the case, this is worth while checking with NT as a
PDC.  put a home dir location in that is different from the profile
location, and see what happens.  i have a sneaking suspicion, from
previous traffic analysis, that the profile location is ignored.


<a href="mailto:lkcl at"   > Luke Kenneth Casson Leighton    </a>
<a href=""> Samba and Network Development   </a>
<a href=""        > Samba Web site                  </a>
<a href=""      > Internet Security Systems, Inc. </a>
<a href=""          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

More information about the samba-technical mailing list