In the map file (/etc/samba/name_map.cfg) if one does not put spaces between the '=', the backend will not see properly the entries and when queried (wbinfo --user-info toto): winbindd/winbindd_cache.c:1206(resolve_alias_to_username) resolve_alias_to_username: backend query returned NT_STATUS_NOT_FOUND cat /etc/samba/name_map.cfg toto=tom On the other hand with cat /etc/samba/name_map.cfg toto = tom winbindd/winbindd_cache.c:1052(wcache_save_alias_username) wcache_save_alias_username: toto -> tom winbindd/winbindd_cache.c:1206(resolve_alias_to_username) resolve_alias_to_username: backend query returned NT_STATUS_OK The problem may be in mapfile.c (map_file_readline function) Thanks