Bug#23903: samba: samba maps username before authenicating with NT password server

Eloy A. Paris eparis at ven.ra.rockwell.com
Thu Jun 25 23:41:27 GMT 1998


I am the Debian GNU/Linux of the Samba package in this distribution.
Today I received this bug report but since I don't use the
authentication method this user mentions, I can't reproduce the
problem. I heard Jeremy Allison said something about a bug in 1.9.18p8
regarding user mappings and posted a patch but since the patch is
applied to the version of Samba this user is using, I am wondering if
there is something else broken...

Does anyone have a comment or suggestion regarding this?



----- Forwarded message from ashcroft -----

>From discard-all at chiark.greenend.org.uk  Thu Jun 25 17:47:28 1998
Delivered-To: peloy at debian.org
Subject: Bug#23903: samba: samba maps username before authenicating with NT password          server
Reply-To: ashcroft <ashcroft at mround.bt.co.uk>, 23903 at bugs.debian.org
Resent-From: ashcroft <ashcroft at mround.bt.co.uk>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: peloy at debian.org (Eloy A. Paris)
Resent-Date: Thu, 25 Jun 1998 18:48:01 GMT
Resent-Message-ID: <handler.23903.B.8987999903748 at bugs.debian.org>
Resent-Sender: iwj at debian.org
X-Debian-PR-Message: report 23903
X-Debian-PR-Package: samba
X-Loop: owner at bugs.debian.org
From: ashcroft <ashcroft at mround.bt.co.uk>
Message-Id: <m0ypGup-000RhYC at shotgun.mround.bt.co.uk>
Date: Thu, 25 Jun 1998 19:38:35 +0100 (BST)
To: submit at bugs.debian.org
X-Mailer: bug 3.1.5

Package: samba
Version: 1.9.18p8-1
Severity: grave

With authentication set to go to an NT server the username passed to the
server has been mapped to the UNIX username. I think this is wrong.

I have a patched reply.c by copying username just before
the username_map call and using the copy in server_validate.

This looks like an upstream bug.

-- System Information
Debian Release: 2.0
Kernel Version: Linux shotgun 2.0.33 #1 Tue Feb 24 13:58:04 GMT 1998 i686 unknown

Versions of the packages samba depends on:
ii  netbase         3.09-1         Basic TCP/IP networking binaries
ii  libc6           2.0.7r-2       The GNU C library version 2 (run-time files)

--- Begin /etc/smb.conf (modified conffile)
   printing = lprng
   load printers = yes
   guest account = nobody
   invalid users = root
   workgroup = FRED
   os level = 1
   wins server = atlantic
   security = server
   password server = NTBOX
   username map = /etc/users.map
   announce version = 4.0
   name resolve order = host

   comment = Home Directories
   browseable = no
   read only = no
   create mode = 0750
   preserve case = yes

--- End /etc/smb.conf

----- End of forwarded message from ashcroft -----


Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645

More information about the samba mailing list