[Samba] winbind logon username is too long

Chuck Hutchins ch at phonicear.com
Thu Sep 9 21:34:10 GMT 2004


Thanks Matt, but as my message said,
I already have the winbind 'use default domain' set to Yes.
My problem is related to logons from other trusted domains.

Anybody else have any suggestions?


On Thu, 2004-09-09 at 14:02, Chuck Hutchins wrote:
Adding the following line to smb.conf will allow you to login as user
instead of DOMAIN\user.

winbind use default domain = yes

Matt Perkins

On Thu, 2004-09-09 at 14:02, Chuck Hutchins wrote:
> I'm using winbind to authenticate telnet session under Red Hat 
> Enterprise
> 2.1
> 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 becomes
'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 exits.
>  
> 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.
>  
> 
> Thanks
>    Chuck Hutchins


More information about the samba mailing list