I've corrected the above patch (si->si_contextdn was only coincidentally the correct value to use there), combined it with the previous patch, and posted the result at: http://mikk.net/~chris/syncprov/patch-syncprov.c Thanks, -Chris