summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-11-23 15:09:59 -0500
committerSimo Sorce <simo@redhat.com>2013-11-23 15:09:59 -0500
commit67cc1754f50996f4131db63f7c4789062ec0f4bf (patch)
tree5d17fcba8b37b569951fa9a622efba033663871c
parent39223d404e01dd223d4c2c4930eb5dc8da6d6305 (diff)
downloadgss-ntlmssp-67cc1754f50996f4131db63f7c4789062ec0f4bf.tar.gz
gss-ntlmssp-67cc1754f50996f4131db63f7c4789062ec0f4bf.tar.xz
gss-ntlmssp-67cc1754f50996f4131db63f7c4789062ec0f4bf.zip
Fix NTLM specific cred_store prefixes
Can't use ':' in the prefix name as ':' is the separator between prefix and values.
-rw-r--r--src/gss_creds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gss_creds.c b/src/gss_creds.c
index 1a3ccd0..03084a9 100644
--- a/src/gss_creds.c
+++ b/src/gss_creds.c
@@ -140,9 +140,9 @@ static int hex_to_key(const char *hex, struct ntlm_key *key)
return 0;
}
-#define NTLM_CS_DOMAIN "ntlm:domain"
-#define NTLM_CS_NTHASH "ntlm:nthash"
-#define NTLM_CS_PASSWORD "ntlm:password"
+#define NTLM_CS_DOMAIN "ntlmssp_domain"
+#define NTLM_CS_NTHASH "ntlmssp_nthash"
+#define NTLM_CS_PASSWORD "ntlmssp_password"
#define GENERIC_CS_PASSWORD "password"
/* To support in future, RC4 Key is NT hash */
#define KRB5_CS_CLI_KEYTAB_URN "client_keytab"