[Samba] winbind logon username is too long
mperkins at lbmc.com
Thu Sep 9 20:03:51 GMT 2004
On Thu, 2004-09-09 at 14:02, Chuck Hutchins wrote:
> 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
Adding the following line to smb.conf will allow you to login as user
instead of DOMAIN\user.
winbind use default domain = yes
More information about the samba