Lines Matching refs:username
110 char username[1024]; in _krb5_get_default_principal_local() local
111 ULONG sz = sizeof(username); in _krb5_get_default_principal_local()
113 if (GetUserNameEx(NameUserPrincipal, username, &sz)) { in _krb5_get_default_principal_local()
114 return krb5_parse_name_flags(context, username, in _krb5_get_default_principal_local()
123 char username[1024]; in _krb5_get_default_principal_local() local
124 DWORD dsz = sizeof(username); in _krb5_get_default_principal_local()
126 if (GetUserName(username, &dsz)) { in _krb5_get_default_principal_local()
127 return krb5_make_principal(context, princ, NULL, username, NULL); in _krb5_get_default_principal_local()
133 const char * username = get_env_user(); in _krb5_get_default_principal_local() local
135 if (username == NULL) { in _krb5_get_default_principal_local()
141 return krb5_make_principal(context, princ, NULL, username, NULL); in _krb5_get_default_principal_local()