directory client mode