diff options
author | Luke Howard <lukeh@padl.com> | 2011-04-09 01:30:03 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2011-04-09 01:30:03 +0000 |
commit | 272ae4ad1240fa21535389a05f68c47dbe45a3da (patch) | |
tree | e04510da89079da099355a19fc700b92e21dffae /src/lib/gssapi | |
parent | a38474ab772acf7e87538c7c21c02d8a20b4a5e5 (diff) | |
download | krb5-272ae4ad1240fa21535389a05f68c47dbe45a3da.zip krb5-272ae4ad1240fa21535389a05f68c47dbe45a3da.tar.gz krb5-272ae4ad1240fa21535389a05f68c47dbe45a3da.tar.bz2 |
in gss_userok, import name as GSS_C_NT_USER_NAME
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/moonshot-mechglue-fixes@24864 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r-- | src/lib/gssapi/mechglue/g_authorize_localname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/mechglue/g_authorize_localname.c b/src/lib/gssapi/mechglue/g_authorize_localname.c index 7e6ce9f..feaddf4 100644 --- a/src/lib/gssapi/mechglue/g_authorize_localname.c +++ b/src/lib/gssapi/mechglue/g_authorize_localname.c @@ -220,7 +220,7 @@ gss_userok(const gss_name_t name, userBuf.value = (void *)user; userBuf.length = strlen(user); - major = gss_import_name(&minor, &userBuf, GSS_C_NO_OID, &userName); + major = gss_import_name(&minor, &userBuf, GSS_C_NT_USER_NAME, &userName); if (GSS_ERROR(major)) return (0); |