This looks great -- the only point I would make is, yes, I would avoid using C++ and, you might wish to look at how iPlanet have enhanced the SLAPI API in iDS 5. Although the interface is not yet documented the header file is included with iDS 5. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com