ldapsearch -x –D user -w password -s scope [–b basedn] [-H scheme://host:port/] [filter] [attr1 [attr2 …]]