[Samba] WINBIND with usernames with &

Tom Dickson tdickson at inostor.com
Wed Mar 19 20:06:00 GMT 2003


Samba doesn't allow connections from usernames that have & in them. For
example, using 2.2.5 and winbind with

security = DOMAIN
password server = win2kmixed
workgroup = MIXEDDOMAIN

all my users can login, (for example MIXEDDOMAIN+aho, MIXEDDOMAIN+tdickson),
but my users named "&" and "bobalso&" (which should be MIXEDDOMAIN+& and
MIXEDDOMAIN+bobalso&) don't work. The log.win2kclient file indicates that
samba has changed & to _. (I.E, unable to connect for user _ or user
bobalso_, which won't work because it can't validate those users with the
domain controller (windows 2000), because they don't exist.

Is there anyway to work around this?

If this sounds too convoluted, let me know. I can add smb.conf files and log
files, but I think the problem is samba changing & to _ before processing
the login request.

Thank you,

Tom Dickson



More information about the samba mailing list