Rein Tollevik wrote:Pierangelo Masarati wrote:
- initialize slapd_serverID with some SID_UNDEFINED in order to take the action above only when SID is not defined
I agree, although I would prefer to take it one step further and reserve serverID==0 for the tools case. In ITS#5536 I tried to distinguish between a defaulted and configured serverID==0, but it didn't quite slip through and was closed without being properly fixed. It should probably be reopened.
Well, a serverID of 0 is basically the same as no serverID. For mirrormode/multimaster the serverID must be non-zero. For single-master the serverID must be zero.
Does this make any sense? If so, I'll volunteer to implement.
Rein