Stupid typo in defcc check.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 16 Aug 2006 03:10:42 +0000 (03:10 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 16 Aug 2006 03:10:42 +0000 (03:10 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@688 959494ce-11ee-0310-bf91-de5d638817bd

daemon/auth-krb5.c

index 995acb4..6dc0368 100644 (file)
@@ -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)