[Date Prev][Date Next]
RE: ldapsearch command help
Well what I am trying to accomplish here is that we have a one big AD domain
and below that we have separate child domain for each organization. So what
I would like is when I run the ldapsearch command to query a specific child
domain I am not able to get the result I am looking for. It queries the
whole domain which I don't want.
So I hope you understand what I am talking about. If you can help me out
here as what syntax to input to get the result I am looking for.
From: Kirk A. Turner-Rustin [mailto:firstname.lastname@example.org]
Sent: Thursday, May 05, 2005 3:28 PM
To: Talwar, Puneet (NIH/NIAID)
Subject: Re: ldapsearch command help
On Thu, 5 May 2005, Talwar, Puneet (NIH/NIAID) wrote:
> I would like to get some help with ldapsearch command.
Have you read the ldapsearch man page?
> Would need to have admin right if I run the following command?
> $ldapsearch -s base -h server -b "uid=user,ou=test,dc=example,dc=com"
I'm not sure what you mean by "admin right" in your question.
Whether the above ldapsearch command returns what you expect depends
on several factors, most of which have to do with you understanding
ldapsearch itself and its command line parameters, the configuration
of the slapd you're trying to query (such as the bind method it
expects and the access control that you've set up), and the nature of
the target directory's contents (such as the structure of its DIT).
I recommend that you spend much more time investigating and learning
about these things, then come back for help if your question is
still unanswered by what you've read.
Kirk Turner-Rustin | Programmer/Analyst
Ohio Wesleyan University | Libraries and Information Services
http://www.owu.edu | http://lis.owu.edu