From: <svn...@op...> - 2009-09-21 19:33:43
|
Author: scriptor Date: Mon Sep 21 21:33:30 2009 New Revision: 5824 URL: http://www.opensync.org/changeset/5824 Log: I have disabled a timeout on the side of the LDAP server when the ldap_search command is performed. Modified: plugins/ldap-sync/src/ldap_connect.c Modified: plugins/ldap-sync/src/ldap_connect.c ============================================================================== --- plugins/ldap-sync/src/ldap_connect.c Mon Sep 21 18:10:41 2009 (r5823) +++ plugins/ldap-sync/src/ldap_connect.c Mon Sep 21 21:33:30 2009 (r5824) @@ -1506,9 +1506,6 @@ const char *scope_str = NULL; - struct timeval timeout; - timeout.tv_sec = 10; - timeout.tv_usec = 0; const char *userattributes[2]; userattributes[1] = NULL; @@ -1609,7 +1606,7 @@ 0, ///< attrsonly NULL, ///< server controls NULL, ///< client controls - &timeout, ///< timeout + NULL, ///< timeout 4096, ///< sizelimit results ///< The result of the search ); |