]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/controls.c
Fix q[-1] ref in prev commit
[openldap] / servers / slapd / controls.c
index 1d6efbb66e6056214b15ead691d3aebf35e534f7..f9e9b9b076fafb20c3d4ecc418f81c53628de850 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -991,14 +991,6 @@ static int parseProxyAuthz (
        op->o_ndn = dn;
        ber_dupbv( &op->o_dn, &dn );
 
-       /*
-        * since the authzid has changed, we need to delete
-        * cached groups (ITS#4760)
-        */
-        if ( op->o_groups ) {
-                slap_op_groups_free( op );
-        }
-
        Statslog( LDAP_DEBUG_STATS, "%s PROXYAUTHZ dn=\"%s\"\n",
            op->o_log_prefix, dn.bv_val, 0, 0, 0 );