X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fauth-krb5.c;h=6dc0368486b8442bd658880bfeb52e134df4d230;hb=5f4622925a9ed3f063838278fd1b9da88a60054f;hp=995acb477b89bc3320cfd5831c4e6a503eac5d14;hpb=9d131372dcfd547dee727bb3475675daf5467024;p=doldaconnect.git diff --git a/daemon/auth-krb5.c b/daemon/auth-krb5.c index 995acb4..6dc0368 100644 --- a/daemon/auth-krb5.c +++ b/daemon/auth-krb5.c @@ -419,7 +419,7 @@ static int opensess(struct authhandle *auth) flog(LOG_ERR, "could not get passwd entry for forwarded tickets (user %s): %s", data->username, strerror(errno)); return(AUTH_ERR); } - if(confgetint("auth-krb5", "usedefcc")) + if(!confgetint("auth-krb5", "usedefcc")) { buf = sprintf2("/tmp/krb5cc_dc_%i_XXXXXX", pwent->pw_uid); if((fd = mkstemp(buf)) < 0)