[Samba] winbind logon username is too long

Chuck Hutchins ch at phonicear.com
Thu Sep 9 19:02:51 GMT 2004

I'm using winbind to authenticate telnet session under Red Hat Enterprise
samba/winbind version 2.2.10
Domains are NT4 domains
I have everything set up and configured correctly. Local users and users
from trusted domains are able to log-in.
I'm having a problem with the resulting username when a user logs on from a
trusted domain.
Local domain is phonic
Trusted domain is thisted
winbind separator = .   (period)
use default domain =yes
when a user logs in as 'phonic.user' or just as 'user',  the linux username
is 'user'
when a user logs in as 'thisted.user', the linux username is 'THISTED.user'
The problem is that the application we're using won't run if the username is
that long.
There is a limit of 8 characters. If the username is longer the program
Is there a way to strip the domain name from the username so that the
username is just user.
Usernames across all of our domains are globally unique so there shouldn't
be a problem with duplicate names.
   Chuck Hutchins

More information about the samba mailing list