Windows accounts with spaces and ampersands in their names cause problems?

Richard Sharpe realrichardsharpe at gmail.com
Wed May 8 18:04:31 MDT 2013


Hi folks,

I have a situation where we have a user with an account "xxxyyyy R&d"
and under Samba 3.6.6 when you authenticate with NTLM it works, but
with Kerberos it does not.

We see lots of these messages in the log with Kerberos:

  Kerberos ticket principal name is [LabVIEW\ R&D at NIMBUS-10.SOMEWHERE.COM]
[2013/05/08 16:58:47.416052, 10] auth/user_krb5.c:82(get_user_from_kerberos_info
)
  Domain is [NIMBUS-10] (using PAC)
[2013/05/08 16:58:47.416146,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user NIMBUS-10\LabVIEW\ R&D
[2013/05/08 16:58:47.416188,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is nimbus-10\labview\ r&d
[2013/05/08 16:58:47.419236,  5] lib/username.c:124(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as given is NIMBUS-10\LabVIEW\ R&D
[2013/05/08 16:58:47.419530,  5] lib/username.c:134(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as uppercase is NIMBUS-10\LABVIEW\ R&D
[2013/05/08 16:58:47.419844,  5] lib/username.c:143(Get_Pwnam_internals)
  Checking combinations of 0 uppercase letters in nimbus-10\labview\ r&d
[2013/05/08 16:58:47.420131,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals didn't find user [NIMBUS-10\LabVIEW\ R&D]!
[2013/05/08 16:58:47.420191,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user LabVIEW\ R&D
[2013/05/08 16:58:47.420231,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is labview\ r&d
[2013/05/08 16:58:47.422262,  5] lib/username.c:124(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as given is LabVIEW\ R&D
[2013/05/08 16:58:47.423123,  5] lib/username.c:134(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as uppercase is LABVIEW\ R&D
[2013/05/08 16:58:47.423576,  5] lib/username.c:143(Get_Pwnam_internals)
  Checking combinations of 0 uppercase letters in labview\ r&d
[2013/05/08 16:58:47.423636,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals didn't find user [LabVIEW\ R&D]!
[2013/05/08 16:58:47.424667,  1] auth/user_krb5.c:162(get_user_from_kerberos_inf
o)
  Username NIMBUS-10\LabVIEW\ R&D is invalid on this system


Anyone seen this?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list