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