[Samba] Mapping usernames

GARCIA CABALLERO Jordi Jordi.GARCIA at oami.europa.eu
Tue Sep 29 01:30:06 MDT 2009

Dear all


I am trying to configure samba username map file in order to map the
same user from a windows domain to 2 different unix users:


Map to = map from


bea = PRODUCTION\garcijo

mpcadmin = PRODUCTION\garcijo


but only works for the first map in the map file. When I try to use a
share with permissions for mpcadmin unix user, I realize that smbd takes
the first map (bea user) and then it makes the authentication with the
user PRODUCTION\garcijo. Then it checks whether user bea has permissions
to the that share which it is not and it eventually fails. I try to put
exclamation mark at the beginning of the map but it does not work


I did not find any way to fix it. Any ideas? Any workaround?


Any help will be much appreciated.




IT Infrastructure & Operations Service // ITD - OHIM

Services Provided by



E-mail:        Jordi.GARCIA at oami.europa.eu

Phone:        Fixed #9777 - Mobile #5777


IMPORTANT: This message is intended exclusively for information purposes. It cannot be considered as an 
official OHIM communication concerning procedures laid down in the Community Trade Mark Regulations 
and Designs Regulations. It is therefore not legally binding on the OHIM for the purpose of those procedures.
The information contained in this message and attachments is intended solely for the attention and use of the 
named addressee and may be confidential. If you are not the intended recipient, you are reminded that the 
information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this 
e-mail. If you have received this message in error, please contact the sender immediately and irrevocably 
delete or destroy this message and any copies.


More information about the samba mailing list