MaURiCe wrote:

> Hello,
> I am trying to get username information by using
> User.Identity.Name.ToString, if i logged in with username to given
> network place, it is ok! It returns SERVERNAME/username.
> Otherwise if I logged in with "[EMAIL PROTECTED]" it again
> returns SERVERNAME/username although i want it to return
> "name.surname".

Sound like you are trying to retrieve the Kerberos principal name,
but the function you are using is returning the account name.
In Windows an account can have multiple principal names.

You might be able to get the client principal name from the Kerberos
ticket. To see if is even possible, install the Microsoft klist or
kerbtray programs which can look at the tickets and see if the principal
name is preserved.

> I changed the IIS server settings, checked digest authentication and
> tried the other things, too. But makes no difference.
> It is said to originated from Kerberos Authentication...
> If anyone can help me I will be appreciated.
> Thanks for now,
> MK
> 
> ________________________________________________
> Kerberos mailing list           [email protected]
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 
> 

-- 

  Douglas E. Engert  <[EMAIL PROTECTED]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to