MasteringOpenLDAP code