From: fredrik Date: Wed, 16 Aug 2006 03:10:42 +0000 (+0000) Subject: Stupid typo in defcc check. X-Git-Tag: 0.2~19 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=5f4622925a9ed3f063838278fd1b9da88a60054f Stupid typo in defcc check. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@688 959494ce-11ee-0310-bf91-de5d638817bd --- 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)