[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Invalid credentials
- To: "'Ryan Tandy'" <ryan@nardis.ca>
- Subject: RE: Invalid credentials
- From: "Dave Beach" <drbeach4@gmail.com>
- Date: Sun, 21 Feb 2016 14:33:18 -0500
- Cc: openldap-technical@openldap.org
- Content-language: en-ca
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:thread-index :content-language; bh=51BAc16VIqEFP4AnzUIMshGpMDja8fEzN2c9H/iGka4=; b=gMW4ouslUHe4RVGUH09xRC7geArA0pRkZrhiRtJeMxnuMpgeT/k3dxBk7p+16rZ/Xe YnJFhKZxFdGOsgxj8wgbPtIAjhBTrHjsGvkIHJPcI75m7daotLG3GEm60IQjHumJZNcx 4lmvBnK4DQuXIunaMZFXKDfAM2p1tBligYi8wO1SBzRZND5NhZlt6DZBBow9DTYK82zX oP369Fd7ITAzFiKfOCxqyG1NYBMosutzvM0J9rn0Vm0fn3HKaWFGx6g5drGMmAwTDJL7 kRhCSgMQCrMPLYG7HdpCFtxKJu685eqGJ9P81l3KKQ2X/B+ulPlyn1IoDiQEU400lXgb o7Kg==
- In-reply-to: <20160221192847.GC632@kiwi>
- 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> <20160221192847.GC632@kiwi>
- Thread-index: AQGQGsr6H8Dlu7b2wMcbGBUYLhZ9lwJHQVrRAnziEBsBKNYWEAFvaOuYAnZUa18CerQjIwJDHea6AWSrhxICI0iH6Z8owYhQ
>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)
Result: 34 Invalid DN syntax
Text: invalid DN
>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' '*' +
Same result.
>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)'
Result: 32 No such object
>ldapsearch -D cn=admin,dc=drbhome,dc=ca -W -s sub -b 'dc=drbhome,dc=ca'
'(sambaDomainName=DRBHOME)'
Result: 32 No such object
All of which is reminding me of something I was thinking of earlier: is it
somehow possible that slapcat is able to read the entries (which it does),
but ldapsearch is not because it's reading something OTHER THAN the same
database slapcat is querying?