credentials: gss_set_cred_option() needs gss_cred_id_t * argument, not gss_cred_id_t.
authorMichael Adam <obnox@samba.org>
Thu, 26 Jun 2008 21:32:37 +0000 (23:32 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 27 Jun 2008 07:26:35 +0000 (09:26 +0200)
This call was added in f573c1ff4443f3002c310d3ba29d8c343ad03907.
Metze, please check!

Michael

source/auth/credentials/credentials_krb5.c

index b9207ab601a5bc8cce44e6f0399b4f62c3236b6a..583469edae1f1081fb072d7b1c9182e5f1338d35 100644 (file)
@@ -389,7 +389,7 @@ _PUBLIC_ int cli_credentials_get_client_gss_creds(struct cli_credentials *cred,
        }
 
        /* don't force GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG */
-       maj_stat = gss_set_cred_option(&min_stat, gcc->creds,
+       maj_stat = gss_set_cred_option(&min_stat, &gcc->creds,
                                       GSS_KRB5_CRED_NO_CI_FLAGS_X,
                                       GSS_C_NO_BUFFER);
        if (maj_stat) {