Username mapping

Luke Kenneth Casson Leighton lkcl at
Fri Jun 5 15:02:10 GMT 1998

i need to create a "domain map username" parameter.

this will take a username / domain / password from an nt domain login and
return a _different_ (unix) username in the LsaSamLogon response.

the user will actually be logged in under the returned username _not_ the
one they specified in the nt domain login dialog.

then you will be able to do things like log in with a 20 character name
and actually be logged in with an 8 character name.


On Fri, 5 Jun 1998, Kevin P. Fleming wrote:

> For some reason my smb.conf man page doesn't include any information on
> "map user" and I think it will do what I want... Here's the scenario:
> I've got a Linux machine (RH 4.2) running the 1.9.19-prealpha code from
> a week or so ago. It works fine, and is running as a domain member
> server with a (real:-) NT machine as the PDC. There are a couple of
> shares on this machine, and I've tested accessing those shares from
> three different user accounts.
> The three user accounts are set up identically in /etc/passwd and
> /etc/group, but only two of them work. The third does not, and I suspect
> it does not because the user name is longer than 8 characters. The full
> username is listed in /etc/passwd, and works just fine when used for the
> POP/IMAP servers on the same Linux machine, but does not work through
> Samba.
> Any thoughts as to what might be wrong here?

More information about the samba-ntdom mailing list