Can ldbsearch do searches against AD?

Richard Sharpe realrichardsharpe at
Thu Aug 13 19:14:01 UTC 2015

On Thu, Aug 13, 2015 at 12:03 PM, Andrew Bartlett <abartlet at> wrote:
> On Thu, 2015-08-13 at 11:47 -0700, Richard Sharpe wrote:
>> Hi folks,
>> When I try to do this:
>>     ldbsearch -H ldap://
>> 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

Yeah, I tried that:

Invalid option -Uagave: unknown option

Richard Sharpe

More information about the samba-technical mailing list