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:
vlad = vova vladimir vovan
According to manpage if I connect to Samba as "vova" I should supply vova's password.
Then Samba maps me to unix user "vlad". Then I have vlad's rights to files in share.
Right? Yes. It works this way when "security = domain" and Samba is domain member.
But when "security = user" Samba behaves differently. When I connect to share as
"vova" Samba rejects vova's password. Logfile tells me that Samba tries to find user
"vlad" in password database and checks my password against vlad's password.
---
[2003/02/06 07:54:21, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'vlad' in passdb.
[2003/02/06 07:54:21, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'vlad' in passdb.
[2003/02/06 07:54:21, 1] smbd/reply.c:reply_sesssetup_and_X(1001)
Rejecting user 'vlad': authentication failed
---
It looks like Samba first maps user and then check him in passdb.
How to handle this? I need realy working username mapping.
-----
Regards,
Vladimir
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba