Can ldbsearch do searches against AD?

Andrew Bartlett abartlet at samba.org
Thu Aug 13 19:03:49 UTC 2015


On Thu, 2015-08-13 at 11:47 -0700, Richard Sharpe wrote:
> Hi folks,
> 
> When I try to do this:
> 
>     ldbsearch -H ldap://hqengminp01.automation.nutanix.com
> 
> I get this:
> 
>     search error - 000004DC: LdapErr: DSID-0C09072B, comment: In 
> order
> to perform this operation a successful bind must be completed on the
> connection., data 0, v2580
> 
> Is there any way to bind?

It uses the common command line parsing code when it picks up the samba
plugins.  That means that when ldbsearch is installed with the samba
plugins (eg from a Samba build, or if packaged correctly and samba also
installed correctly) -Uusername works like every other Samba tool.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba





More information about the samba-technical mailing list