[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Invalid credentials
- To: Dave Beach <drbeach4@gmail.com>
- Subject: Re: Invalid credentials
- From: Ryan Tandy <ryan@nardis.ca>
- Date: Sun, 21 Feb 2016 11:28:47 -0800
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nardis.ca; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ceMom6sR7pG/hcNeOHlEXDGvkAKDkxV8z9OekMujf/c=; b=S4Gpp55nO/PoIzVZWx3jhg6mlaCr92O09F8IfKbY1Hy0dh3DjF5tWIV6tBTshuNDox eIRya19wJKAp8W06A8cWk0SMl55VDRLXChHV3CQdDxM+pAFLXAXbVar9Jk1Peoa0XKxk eH1foG80d9cmYtQqSVbRp8MAQk5+PUh8pa1qk=
- In-reply-to: <006501d16cd7$0fdf0ea0$2f9d2be0$@gmail.com>
- Mail-followup-to: Dave Beach <drbeach4@gmail.com>, openldap-technical@openldap.org
- References: <001201d16b94$285e5e20$791b1a60$@gmail.com> <DA06CE5AA35A4905CC681854@192.168.1.9> <003e01d16c06$776a8c10$663fa430$@gmail.com> <CACsf_wx3Xd50ALD2q5+aJrMSZsAVf-S8C6cG4ne5uFLXtJj_kQ@mail.gmail.com> <004801d16cb9$35b79bb0$a126d310$@gmail.com> <20160221174753.GA632@kiwi> <006401d16cd4$01e07990$05a16cb0$@gmail.com> <20160221182836.GB632@kiwi> <006501d16cd7$0fdf0ea0$2f9d2be0$@gmail.com>
- User-agent: Mutt/1.5.23 (2014-03-12)
On Sun, Feb 21, 2016 at 01:38:29PM -0500, Dave Beach wrote:
Stop slapd before running slapindex.
Sigh. Early morning. Ok, done.
:)
Now, re-running the ldapsearch command-line:
ldapsearch -D cn=admin,dc=drbhome,dc=ca -W -b "dc=drbhome,dc=ca" -s sub
"(&(objectClass=sambaDomain)(sambaDomainName=DRBHOME))" sambaDomainName
Same result as before:
# extended LDIF
#
# LDAPv3
# base <dc=drbhome,dc=ca> with scope subtree
# filter: (&(objectClass=sambaDomain)(sambaDomainName=DRBHOME))
# requesting: sambaDomainName
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
OK, some sanity checks:
ensure the parent entry exists and has expected contents:
ldapsearch -D cn=admin,dc=drbhome,dc=ca -W -s base -b 'dc=drbhome,dc=ca' '*' +
("'*' +" is asking for all attributes including operational ones; then
the output will be closer to what you see from slapcat)
ensure the samba domain entry exists and has expected contents:
ldapsearch -D cn=admin,dc=drbhome,dc=ca -W -s base -b 'sambaDomainName=DRBHOME,dc=drbhome,dc=ca' '*' +
try each part of the filter separately:
ldapsearch -D cn=admin,dc=drbhome,dc=ca -W -s sub -b 'dc=drbhome,dc=ca' '(objectClass=sambaDomain)'
ldapsearch -D cn=admin,dc=drbhome,dc=ca -W -s sub -b 'dc=drbhome,dc=ca' '(sambaDomainName=DRBHOME)'