From b2f8279bbf1dc13b84b10e80617fcf1850d9928c Mon Sep 17 00:00:00 2001
From: floblanc <floblanc@localhost>
Date: Fri, 31 Oct 2008 10:45:08 +0000
Subject: [PATCH] The network group defines resource limits for maximum search size and maximum search time. These limits also exist at the directory server level.

---
 opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java b/opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java
index 3c4f11c..1ed8c0e 100644
--- a/opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java
+++ b/opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java
@@ -681,7 +681,7 @@
     if (resourceLimits != null) {
       return resourceLimits.getSizeLimit();
     }
-    return 0;
+    return -1;
   }
 
   /**
@@ -693,7 +693,7 @@
     if (resourceLimits != null) {
       return resourceLimits.getTimeLimit();
     }
-    return 0;
+    return -1;
   }
 
   /**

--
Gitblit v1.10.0