mapping from NT users to Unix users. question.

Luke Kenneth Casson Leighton lkcl at
Mon Jan 17 19:44:44 GMT 2000


i have a slight issue to consider.  when giving out home directories, a
user logs in as "NTuser" and gets mapped to "unixuser", i wonder if it's
better to return \\server\unixuser as the home directory instead of

the reason is that it will make life a _lot_ simpler when it comes to
accessing smbd.  i won't have to do _any_ nt to unix mapping to create the
[homes] section.

... but i _will_ still get an authentication request based on NTusername,
but that's ok in SAMBA_TNG because that's handed off to netlogond to deal
with, which can do the NTuser to unix user translation (which it just did
exactly as above when the user logged in!)

plus, i will get exactly the same user profile back, so i can grab the
home directory from that, and set up the [homes] share.

so it all works.


my question is, is this acceptable?  do you, the administrators, mind if a
user logs in as NTusername but actually gets told that their home
directory is Unixusername?

or, do you really want user logs in as NTusername and accesses their
[homes] share as \\server\NTusername?

which would _you_ prefer?


<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