"%s: line %d: missing filename in \"include <filename>\" line\n",
fname, lineno, 0 );
+ fclose( fp );
return( 1 );
}
LUTIL_SLASHPATH( cargv[1] );
savelineno = lineno;
if ( slurpd_read_config( savefname ) != 0 ) {
+ fclose( fp );
return( 1 );
}
"%s: line %d: missing file name in \"replica-pidfile <file>\" line\n",
fname, lineno, 0 );
+ fclose( fp );
return( 1 );
}
"%s: line %d: missing file name in \"argsfile <file>\" line\n",
fname, lineno, 0 );
+ fclose( fp );
return( 1 );
}
Debug( LDAP_DEBUG_ANY, "%s: line %d: missing interval in "
"\"replicationinterval <seconds>\" line\n",
fname, lineno, 0 );
+ fclose( fp );
return( 1 );
}
"(%d) in \"replicationinterval <seconds>\" line\n",
fname, lineno, c );
+ fclose( fp );
return( 1 );
}
fprintf( stderr, "Error: Malformed \"replica\" line in slapd config " );
fprintf( stderr, "file, missing uri hostname, line %d\n",
lineno );
+ ldap_free_urldesc( ludp );
return -1;
}
ri->ri_hostname = strdup ( ludp->lud_host );
)
{
int ldrc;
- int do_tls = ri->ri_tls;
+ int do_tls;
*lderr = 0;
return( BIND_ERR_BADRI );
}
+ do_tls = ri->ri_tls;
+
retry:
if ( ri->ri_ldp != NULL ) {
ldrc = ldap_unbind( ri->ri_ldp );