--- vdt-orig/mds/common/source/grid-info-soft-register Fri Sep 13 05:30:33 2002 +++ vdt-modified/mds/common/source/grid-info-soft-register Thu May 22 14:20:05 2003 @@ -24,6 +24,9 @@ # get everything by default DEFAULT_DAEMON_SIZELIMIT=0 +# set default network timeout to 30 seconds +DEFAULT_NETWORK_TIMEOUT="-o 30" + . ${libexecdir}/grid-info-ldap-shell short_usage_error () @@ -391,10 +394,10 @@ if [ "X$SLAVE_DAEMON_BINDMETHOD" = "XAUTHC-ONLY" ] then ${ldapbindir}/ldapadd -h "${SLAVE_REG_HOST}" \ - -p "${SLAVE_REG_PORT}" + -p "${SLAVE_REG_PORT}" $DEFAULT_NETWORK_TIMEOUT else ${ldapbindir}/ldapadd -x -h "${SLAVE_REG_HOST}" \ - -p "${SLAVE_REG_PORT}" + -p "${SLAVE_REG_PORT}" $DEFAULT_NETWORK_TIMEOUT fi else ldap_shell_log_error "cannot execute \"${ldapbindir}/ldapadd\""