Can ldbsearch do searches against AD?

Richard Sharpe realrichardsharpe at gmail.com
Thu Aug 13 19:18:19 UTC 2015


On Thu, Aug 13, 2015 at 12:16 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Thu, 2015-08-13 at 12:14 -0700, Richard Sharpe wrote:
>> On Thu, Aug 13, 2015 at 12:03 PM, Andrew Bartlett <abartlet at samba.org
>> > wrote:
>> > 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
>>
>> Yeah, I tried that:
>>
>> Invalid option -Uagave: unknown option
>
> Then you have installed and are running ldbsearch from an ldb package,
> but not installed Samba to put the plugins in the right spot (the ldb
> plugins dir).  The easy option is to (make the build system build and t
> hen) use the in-tree one.

Yeah. Sigh. Consequence of an earlier decision to go with RPMs that was changed.


-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



More information about the samba-technical mailing list