[Date Prev][Date Next]
Solution: Re: ldapsearch issue with rootpw.
- To: "Dave Horsfall" <email@example.com>
- Subject: Solution: Re: ldapsearch issue with rootpw.
- From: "James Hartley" <firstname.lastname@example.org>
- Date: Thu, 6 Jul 2006 16:49:17 -0700
- Cc: "OpenLDAP Software List" <openldap-software@OpenLDAP.org>
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=qCXgvf7OItEXVSqsoSg+2wmPWgO2KProMb+RGvkKqjTrVOqn/gI/nGZGDwk+7rVaEz76h1CJurM9t21eGjWUwGgfUN8qokCH6oEFhxtZ45xzcBYZVp8GNYW12j+5wv4wRBJDQ+f6gI1K+ttczGVrm2s27vxpDzWojYLTjz6hHNc=
Thank you that was it. Your suggestion worked. I hate being such a
newbie. Appreciation all around.
On 7/5/06, Dave Horsfall <email@example.com> wrote:
On Wed, 5 Jul 2006, James Hartley wrote:
> I have been fighting and issue (non-issuse??) for awhile now. I am
> attempting to issue the following command
> #ldapsearch -x -LLL -w secret "objectclass=*"
> I continue to get the error
> ldap_bind: Invalid credentials (49).
You have not specified the rootdn with which to bind. Based on your
example, it should be:
ldapsearch -x -LLL -D "cn=Manager,dc=bogus,dc=net" -w secret
(Note the parentheses around the filter, but it appears to work without
Dave Horsfall DTM VK2KFU firstname.lastname@example.org Ph: +61 2 9552-5509 (d) -5500
Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont