Simo, > First I'll make struct ldb_dn private and all the needed functions so > that modules can perform their duties and are happy, then we can start > optimizing the way we handle that. yep, that's the right approach. In between those two steps run LOCAL-DBSPEED and make sure performance isn't lost from making ldb_dn private. Cheers, Tridge