[Samba] Strange "username map" behaviour with "security=user"

Gerald (Jerry) Carter jerry at samba.org
Wed Feb 12 20:24:04 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 6 Feb 2003, Vladimir Yumashev wrote:

> I use Samba 2.2.0 on small network.  I use "security = user" and
> "username map" to map some Win-users to unix users. I have simple
> testing file with username mapping:
>     root = vlad 
> It is supposed that when I connect to samba as user
> "Vlad" with vlad's password I get the root's rigths to shares.  Right?
> But when I try to connect to samba as "vlad" it tries to authorize me as
> samba user "root" and tries to find user "root" in passdb.  Why?

username mapping takes place before authentication.
This is by design.



cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+Sq1kIR7qMdg1EfYRAlzhAKCMyjr+qUKx/ps/e1Ip94TNq+cKzgCgw1Ha
CTRyLpqiG2zvEfQsm7WG/tM=
=f0yg
-----END PGP SIGNATURE-----



More information about the samba mailing list