From 5f4622925a9ed3f063838278fd1b9da88a60054f Mon Sep 17 00:00:00 2001 From: fredrik Date: Wed, 16 Aug 2006 03:10:42 +0000 Subject: [PATCH] Stupid typo in defcc check. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@688 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/auth-krb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0