change to default break response time of 10ms -> 0ms.
Jeremy.
Globals.bRestrictAnonymous = False;
Globals.map_to_guest = 0; /* By Default, "Never" */
Globals.min_passwd_length = MINPASSWDLENGTH; /* By Default, 5. */
- Globals.oplock_break_wait_time = 10; /* By Default, 10 msecs. */
+ Globals.oplock_break_wait_time = 0; /* By Default, 0 msecs. */
#ifdef WITH_LDAP
/* default values for ldap */
struct timeval cur_tv;
long wait_left = (long)lp_oplock_break_wait_time();
+ if (wait_left == 0)
+ return;
+
GetTimeOfDay(&cur_tv);
wait_left -= ((cur_tv.tv_sec - smb_last_time.tv_sec)*1000) +