- there are some processes with negative rank that need connection to ldap server, like timers - reported by Pan Christensen
@@ -157,10 +157,9 @@ static int child_init(int rank)
int i = 0, ld_count = 0;
char* ld_name;
- /* don't do anything for non-worker process */
- if (rank < 1) {
+ /* don't do anything for non-worker processes */
+ if (rank==PROC_INIT || rank==PROC_MAIN || rank==PROC_TCP_MAIN)
return 0;
- }
/*
* build ld_sessions and connect all sessions