[Samba] Apostrophe's in Windows usernames

EXT-Auleta, Michael michael.auleta at boeing.com
Tue Jun 1 14:47:05 GMT 2004

I saw the posting for the attached issue from Dec 8, 2003 and made the changes to smbd/password.c
and include/smb.h but am still having a problem with a user attaching to our Samba server with an
apostrophe in his name.  We use a usermap file and it looks like the apostrophe is being stripped out
of the map file when the Windows ID is trying to be mapped.  The entry in the user name map file is
bvec32 =  o'brienta, but a level 10 log shows:

user_in_list: checking user |bvevc32| against |obrienta|

so the authentication fails.  I'm assuming that a change needs to be made to username.c, but I'm not sure what ...

We're running 3.0.2a on Solaris 8.

Any help?


Mike Auleta
Boeing IDS, Philadelphia

Who's the more foolish, the fool or the fool who's following him?

More information about the samba mailing list