[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: a quick question



Katerina Tsarouchas wrote:
> 
> the error happens when they do the search on their machine
> 
> Katerina Tsarouchas wrote:
> >
> > Hey guys,
> >
> > Sorry to bug you!  I need to ask you guys a quick question.
> >
> > I was able to search:
> >
> > ldapsearch -h <my ip address> 'objectclass=*'
> >
> > and I have some stuff returned.
> >
> > But when I have someone to do the same thing it
> > says no object found.  Do they have to do something in
> > order to read my stuff or did I forgot to do something?

They probably built their ldapsearch with a different
base DN; the base DN is compiled into the binary.  This
should really go away, and the binary should determine
the base DN programatically by querying the directory,
since this is easy to do for both LDAPv2 and LDAPv3
servers.

Have them specify the base DN on the command line using
the ``-b "ou=engineering,dc=nitrosocftlinux,dc=com"'' (or
whatever your base DN really is).


-- Terry Lambert
-- Whistle Communications, Inc., an I.B.M. Company
-- terry@whistle.com
-------------------------------------------------------------------
This is formal notice under California Assembly Bill 1629, enacted
9/26/98 that any UCE sent to my email address will be billed $50
per incident to the legally allowed maximum of $25,000.