]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
gssapi: Don't do krb5_kuserok() to authz_name. It shouldn't be necessary.
authorTimo Sirainen <tss@iki.fi>
Mon, 27 Jul 2009 02:00:46 +0000 (22:00 -0400)
committerTimo Sirainen <tss@iki.fi>
Mon, 27 Jul 2009 02:00:46 +0000 (22:00 -0400)
--HG--
branch : HEAD

src/auth/mech-gssapi.c

index 065a0a7b59e9847d838eab8c82bb2ee4f899917b..9874e18a75f2d36958aa08f6fb6df2ea283bc770 100644 (file)
@@ -443,12 +443,6 @@ mech_gssapi_userok(struct gssapi_auth_request *request, const char *login_user)
                return -1;
        }
 
-       if (!mech_gssapi_krb5_userok(request, request->authz_name,
-                                    login_user, FALSE)) {
-               auth_request_log_info(auth_request, "gssapi",
-                       "authz_name (%s) not authorized", login_user);
-               return -1;
-       }
        return 0;
 #else
        auth_request_log_info(auth_request, "gssapi",