|
Line
Link Here
|
| 0 |
-- auth-krb5.c 2005-01-20 10:56:16.178146904 +0530 |
0 |
++ auth-krb5.c-patch 2005-01-20 10:58:44.166649232 +0530 |
|
Lines 75-83
Link Here
|
| 75 |
krb5_ccache ccache = NULL; |
75 |
krb5_ccache ccache = NULL; |
| 76 |
int len; |
76 |
int len; |
| 77 |
if (!authctxt->valid) |
|
|
| 78 |
return (0); |
| 79 |
|
| 80 |
temporarily_use_uid(authctxt->pw); |
77 |
temporarily_use_uid(authctxt->pw); |
| 81 |
problem = krb5_init(authctxt); |
78 |
problem = krb5_init(authctxt); |
|
Lines 208-217
Link Here
|
| 208 |
krb5_cleanup_proc(authctxt); |
205 |
krb5_cleanup_proc(authctxt); |
| 209 |
if (options.kerberos_or_local_passwd) |
206 |
if((authctxt->valid && options.kerberos_or_local_passwd) + options.kerberos_or_local_passwd) |
| 210 |
return (-1); |
207 |
return (-1); |
| 211 |
else |
208 |
else |
| 212 |
return (0); |
209 |
return (0); |
| 213 |
} |
210 |
} |
| 214 |
return (1); |
211 |
return (1); |
| 215 |
} |
212 |
} |