Commit 41416f38 authored by Jeremy Allison's avatar Jeremy Allison Committed by Gerald (Jerry) Carter
Browse files

r1245: I think the parameter for "password" and "data" was reversed.

CHECK THIS !
Jeremy.
(This used to be commit d4abeefe3e307ff226fba481ca2c743cde153e4b)
parent c3f09f23
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -79,9 +79,9 @@ int kerberos_kinit_password(const char *principal, const char *password, int tim
		return code;
	}
	
	if ((code = krb5_get_init_creds_password(ctx, &my_creds, me, NULL, 
	if ((code = krb5_get_init_creds_password(ctx, &my_creds, me, password, 
						 kerb_prompter, 
						 password, 0, NULL, NULL))) {
						 NULL, 0, NULL, NULL))) {
		krb5_free_principal(ctx, me);
		krb5_free_context(ctx);		
		return code;