hyc(a)symas.com wrote:
> Thanks for your report. Sounds a lot like ITS#4782...
Howard,
the proposed fix is fine, but I think the issue is better addressed in
back-ldap by means of the ldap_back_send_t mask without the need of an
additional argument. I'm testing a different fix.
p.
> On Thu, Dec 11, 2008 at 10:14:23AM +0000, jorge.perez(a)adaptia.net wrote:
>> Full_Name: Jorge Perez Burgos
>> Version: 2.4.11
>> OS: SLES 10
>> URL: ftp://ftp.openldap.org/incoming/back-meta_changes.diff.gz
>> Submission from: (NULL) (194.237.142.20)
>>
>>
>> Meta backend send two response codes when trying to reconnect to other slapd.
>>
>> Steps to reproduce:
>> Configure two slapds, slapd_A and slapd_B. slapd_A connects to slapd_B trough
>> meta backend. Do some traffic operations. Restart slapd_B and do some modify,
>> delete or add operation, response code 52 is received although the operation is
>> sucessful. Using a tcpdump you can see two response codes for the request.
>>
>> I attach a possible patch for this issue.
>>
>>
>
>
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando(a)sys-net.it
-----------------------------------
Thanks for your report. Sounds a lot like ITS#4782...
On Thu, Dec 11, 2008 at 10:14:23AM +0000, jorge.perez(a)adaptia.net wrote:
> Full_Name: Jorge Perez Burgos
> Version: 2.4.11
> OS: SLES 10
> URL: ftp://ftp.openldap.org/incoming/back-meta_changes.diff.gz
> Submission from: (NULL) (194.237.142.20)
>
>
> Meta backend send two response codes when trying to reconnect to other slapd.
>
> Steps to reproduce:
> Configure two slapds, slapd_A and slapd_B. slapd_A connects to slapd_B trough
> meta backend. Do some traffic operations. Restart slapd_B and do some modify,
> delete or add operation, response code 52 is received although the operation is
> sucessful. Using a tcpdump you can see two response codes for the request.
>
> I attach a possible patch for this issue.
>
>
--=-3TUJtt6yg+CvD9VzraMk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Thu, 2008-12-11 at 23:22 +0100, Pierangelo Masarati wrote:
> Andrew Bartlett wrote:
> > On Thu, 2008-10-23 at 00:15 +0200, Pierangelo Masarati wrote:
> >> A tentative implementation is in HEAD, please test. You need to:
> >=20
> > Thankyou very much. I downloaded CVS HEAD and tested it out (finally -
> > the Samba4 side of the implementation took far longer than I expected).
> >=20
> >> - configure as --enable-deref
> >>
> >> - enable the "deref" overlay in slapd, with "overlay deref" (doesn't
> >> work as global overlay yet, sorry).
> >=20
> > This is something Samba4 will need, as many of our links are
> > cross-database. But fixing this for a single DB is a big help in any
> > case.
>=20
> Apparently this was fixed during the overlay's shakedown, as it seems to=20
> work as expected when only instantiated as global. In fact, nothing was=20
> preventing it from working this way by design, it only didn't work at=20
> some point of its evolution. Please test.
Indeed, it works well as a global. Thanks!
My only issue remaining is the clarification over the ASN.1 encoding of
the control.
Andrew Bartlett
--=20
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
--=-3TUJtt6yg+CvD9VzraMk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQBJQdk5z4A8Wyi0NrsRAiiOAKCUywnlFS2RIZlclADU/woC7id7OwCfbfwD
fh4vPeyWTWqBYACEYVFgdZA=
=UdNB
-----END PGP SIGNATURE-----
--=-3TUJtt6yg+CvD9VzraMk--
--=-WGywWWDfCXc78PSX7dDA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Thu, 2008-12-11 at 23:17 +0100, Pierangelo Masarati wrote:
> Andrew Bartlett wrote:
> > On Thu, 2008-10-23 at 00:15 +0200, Pierangelo Masarati wrote:
> >> A tentative implementation is in HEAD, please test. You need to:
> >=20
> > Thankyou very much. I downloaded CVS HEAD and tested it out (finally -
> > the Samba4 side of the implementation took far longer than I expected).
> >=20
> >> - configure as --enable-deref
> >>
> >> - enable the "deref" overlay in slapd, with "overlay deref" (doesn't
> >> work as global overlay yet, sorry).
> >=20
> > This is something Samba4 will need, as many of our links are
> > cross-database. But fixing this for a single DB is a big help in any
> > case.
> >=20
> >> - run searches like
> >>
> >> $ ldapsearch -x -b dc=3Dexample,dc=3Dcom -E 'deref=3Dmember:entryUUID'
> >>
> >> you'll see results like
> >=20
> > When using Samba4's client, it seems to work, but it is as if it extend=
s
> > the control to the full expected length, but not the data. Ie, attache=
d
> > this is the control response I got back from the 'make testenv'
> > environment in Samba4. I've also attached the full LDAP request.
> >=20
> > The extra zeros also appear in the OpenLDAP logs (so it's not a Samba4
> > parsing bug).
>=20
> I've found the bug (erroneous manipulation of octet strings containing=20
> '\0' octets). The objectSid is octet string-valued. Should be fixed=20
> now; please test.
While I'm mostly at sea on ASN.1, I don't think the OpenLDAP's
implementation matches your IETF draft (if not, an education on subtle
details of ASN.1 will be appreciated)
draft-masarati-ldap-deref-00
> 2.3. Control Response
>=20
>=20
> The control type is deref-oid (IANA assigned; see Section 6). The
> specification of the Dereference Control response is:
>=20
> controlValue ::=3D SEQUENCE OF derefRes DerefRes
>=20
> DerefRes ::=3D SEQUENCE {
> derefAttr AttributeDescription,
> derefVal LDAPDN,
> attrVals [0] PartialAttributeList OPTIONAL }
>=20
> PartialAttributeList ::=3D SEQUENCE OF
> partialAttribute PartialAttribute
>=20
> PartialAttribute is defined in [RFC4511]; the definition is reported
> here for clarity:
>=20
> PartialAttribute ::=3D SEQUENCE {
> type AttributeDescription,
> vals SET OF value AttributeValue }
>=20
the output of dumpasn1 on the control:
> 0 983: SEQUENCE {
> 4 168: SEQUENCE {
> 7 8: OCTET STRING 'memberOf'
> 17 56: OCTET STRING
> : 'cn=3DEnterprise Admins,cn=3DUsers,dc=3Dsamba,dc=3Dexamp=
l'
> : 'e,dc=3Dcom'
> 75 98: [0] {
> 77 51: SEQUENCE {
Shouldn't there be another SEQUENCE { here?
> 79 9: OCTET STRING 'entryUUID'
> 90 38: SET {
> 92 36: OCTET STRING
> '24476f18-5c24-102d-9945-7320c1040f54'
> : }
> : }
> 130 43: SEQUENCE {
> 132 9: OCTET STRING 'objectSid'
> 143 30: SET {
> 145 28: OCTET STRING
> : 01 05 00 00 00 00 00 05 15 00 00 00 AB BE DB 7B
> : 16 72 AE E6 53 BE 65 6F 07 02 00 00
> : }
> : }
> : }
> : }
>=20
Thanks,
Andrew Bartlett
--=20
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
--=-WGywWWDfCXc78PSX7dDA
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQBJQa1Nz4A8Wyi0NrsRAtyAAJ9Dqzqn3DknKqThzy7KML5Z+i/h2wCfZ2nM
d8HdE9UXPLaN2DZRwIseCk0=
=HFZS
-----END PGP SIGNATURE-----
--=-WGywWWDfCXc78PSX7dDA--
Andrew Bartlett wrote:
> On Thu, 2008-10-23 at 00:15 +0200, Pierangelo Masarati wrote:
>> A tentative implementation is in HEAD, please test. You need to:
>
> Thankyou very much. I downloaded CVS HEAD and tested it out (finally -
> the Samba4 side of the implementation took far longer than I expected).
>
>> - configure as --enable-deref
>>
>> - enable the "deref" overlay in slapd, with "overlay deref" (doesn't
>> work as global overlay yet, sorry).
>
> This is something Samba4 will need, as many of our links are
> cross-database. But fixing this for a single DB is a big help in any
> case.
Apparently this was fixed during the overlay's shakedown, as it seems to
work as expected when only instantiated as global. In fact, nothing was
preventing it from working this way by design, it only didn't work at
some point of its evolution. Please test.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando(a)sys-net.it
-----------------------------------
Andrew Bartlett wrote:
> On Thu, 2008-10-23 at 00:15 +0200, Pierangelo Masarati wrote:
>> A tentative implementation is in HEAD, please test. You need to:
>
> Thankyou very much. I downloaded CVS HEAD and tested it out (finally -
> the Samba4 side of the implementation took far longer than I expected).
>
>> - configure as --enable-deref
>>
>> - enable the "deref" overlay in slapd, with "overlay deref" (doesn't
>> work as global overlay yet, sorry).
>
> This is something Samba4 will need, as many of our links are
> cross-database. But fixing this for a single DB is a big help in any
> case.
>
>> - run searches like
>>
>> $ ldapsearch -x -b dc=example,dc=com -E 'deref=member:entryUUID'
>>
>> you'll see results like
>
> When using Samba4's client, it seems to work, but it is as if it extends
> the control to the full expected length, but not the data. Ie, attached
> this is the control response I got back from the 'make testenv'
> environment in Samba4. I've also attached the full LDAP request.
>
> The extra zeros also appear in the OpenLDAP logs (so it's not a Samba4
> parsing bug).
I've found the bug (erroneous manipulation of octet strings containing
'\0' octets). The objectSid is octet string-valued. Should be fixed
now; please test.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando(a)sys-net.it
-----------------------------------
Full_Name: Jorge Perez Burgos
Version: 2.4.11
OS: SLES 10
URL: ftp://ftp.openldap.org/incoming/back-meta_changes.diff.gz
Submission from: (NULL) (194.237.142.20)
Meta backend send two response codes when trying to reconnect to other slapd.
Steps to reproduce:
Configure two slapds, slapd_A and slapd_B. slapd_A connects to slapd_B trough
meta backend. Do some traffic operations. Restart slapd_B and do some modify,
delete or add operation, response code 52 is received although the operation is
sucessful. Using a tcpdump you can see two response codes for the request.
I attach a possible patch for this issue.
--=-svDYOuAyXlEqIDWU48Ko
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Thu, 2008-12-11 at 12:22 +1100, Andrew Bartlett wrote:
> On Thu, 2008-10-23 at 00:15 +0200, Pierangelo Masarati wrote:
> > A tentative implementation is in HEAD, please test. You need to:
>=20
> Thankyou very much. I downloaded CVS HEAD and tested it out (finally -
> the Samba4 side of the implementation took far longer than I expected).
>=20
> > - configure as --enable-deref
> >=20
> > - enable the "deref" overlay in slapd, with "overlay deref" (doesn't
> > work as global overlay yet, sorry).
>=20
> This is something Samba4 will need, as many of our links are
> cross-database. But fixing this for a single DB is a big help in any
> case.
>=20
> > - run searches like
> >
> > $ ldapsearch -x -b dc=3Dexample,dc=3Dcom -E 'deref=3Dmember:entryUUID'
> >=20
> > you'll see results like
>=20
> When using Samba4's client, it seems to work, but it is as if it extends
> the control to the full expected length, but not the data. Ie, attached
> this is the control response I got back from the 'make testenv'
> environment in Samba4. I've also attached the full LDAP request.
>=20
> The extra zeros also appear in the OpenLDAP logs (so it's not a Samba4
> parsing bug).
>=20
> I can make the Samba4 tree that reproduces this available as a GIT
> repository if you like. =20
To reproduce:
In a checkout from git://git.samba.org/abartlet/samba.git master run:
OPENLDAP_ROOT=3D/usr/local/ TEST_LDAP=3Dyes make testenv
Then in the xterm that pops up, run:
bin/ldbsearch -H ldap://localdc1 cn=3Dadministrator
--controls=3Dextended_dn:1:1
This will not return the extended DN (compare with TEST_LDAP=3Dno),
because it fails to parse the returned control in
libcli/ldap/ldap_controls.c (I suspect my parser also needs work)
Thanks,
Andrew Bartlett
--=20
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
--=-svDYOuAyXlEqIDWU48Ko
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQBJQJosz4A8Wyi0NrsRAuLgAJwIYEfeK/rj9xXw+/2KiVhDPw6bvwCeJwaj
Q/I64Xu6suP53nnqNT6Bkv0=
=GSzF
-----END PGP SIGNATURE-----
--=-svDYOuAyXlEqIDWU48Ko--
--=-3DGTDdLilVnhuysLkRP/
Content-Type: multipart/mixed; boundary="=-vUh+QDuuW5KKlkVC19pp"
--=-vUh+QDuuW5KKlkVC19pp
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Thu, 2008-10-23 at 00:15 +0200, Pierangelo Masarati wrote:
> A tentative implementation is in HEAD, please test. You need to:
Thankyou very much. I downloaded CVS HEAD and tested it out (finally -
the Samba4 side of the implementation took far longer than I expected).
> - configure as --enable-deref
>=20
> - enable the "deref" overlay in slapd, with "overlay deref" (doesn't
> work as global overlay yet, sorry).
This is something Samba4 will need, as many of our links are
cross-database. But fixing this for a single DB is a big help in any
case.
> - run searches like
>
> $ ldapsearch -x -b dc=3Dexample,dc=3Dcom -E 'deref=3Dmember:entryUUID'
>=20
> you'll see results like
When using Samba4's client, it seems to work, but it is as if it extends
the control to the full expected length, but not the data. Ie, attached
this is the control response I got back from the 'make testenv'
environment in Samba4. I've also attached the full LDAP request.
The extra zeros also appear in the OpenLDAP logs (so it's not a Samba4
parsing bug).
I can make the Samba4 tree that reproduces this available as a GIT
repository if you like. =20
Thanks,
Andrew Bartlett
--=20
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
--=-vUh+QDuuW5KKlkVC19pp
Content-Disposition: attachment; filename=control
Content-Type: application/octet-stream; name=control
Content-Transfer-Encoding: base64
MIIDnzCBqAQIbWVtYmVyT2YEOGNuPUVudGVycHJpc2UgQWRtaW5zLGNuPVVzZXJzLGRjPXNhbWJh
LGRjPWV4YW1wbGUsZGM9Y29toGIwMwQJZW50cnlVVUlEMSYEJGU4MmNiMjE4LTViNmEtMTAyZC05
MDk4LTU1MGYxMWFkZWE4OTArBAlvYmplY3RTaWQxHgQcAQUAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAA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vY2F0aW9uT2JqZWN0MBYECWVudHJ5
VVVJRAQJb2JqZWN0U0lEMCEEB3N1YlJlZnMwFgQJZW50cnlVVUlEBAlvYmplY3RTSUQwIwQJcm9v
dFRydXN0MBYECWVudHJ5VVVJRAQJb2JqZWN0U0lEMDkEH2lwc2VjTmVnb3RpYXRpb25Qb2xpY3lS
ZWZlcmVuY2UwFgQJZW50cnlVVUlEBAlvYmplY3RTSUQwKAQObWFuYWdlZE9iamVjdHMwFgQJZW50
cnlVVUlEBAlvYmplY3RTSUQwIAQGbkNOYW1lMBYECWVudHJ5VVVJRAQJb2JqZWN0U0lE
--=-vUh+QDuuW5KKlkVC19pp
Content-Disposition: attachment; filename=response
Content-Type: application/octet-stream; name=response
Content-Transfer-Encoding: base64
MIITbwIBBmSCD54ENGNuPUFkbWluaXN0cmF0b3IsY249VXNlcnMsZGM9c2FtYmEsZGM9ZXhhbXBs
ZSxkYz1jb20wgg9kMBUEAmNuMQ8EDUFkbWluaXN0cmF0b3IwRwQLZGVzY3JpcHRpb24xOAQ2QnVp
bHQtaW4gYWNjb3VudCBmb3IgYWRtaW5pc3RlcmluZyB0aGUgY29tcHV0ZXIvZG9tYWluMB0EEnVz
ZXJBY2NvdW50Q29udHJvbDEHBAU2NjA0ODArBAlvYmplY3RTaWQxHgQcAQUAAAAAAAUVAAAAUZnM
kG8t4Wyarf059AEAADARBAphZG1pbkNvdW50MQMEATEwJwQOYWNjb3VudEV4cGlyZXMxFQQTOTIy
MzM3MjAzNjg1NDc3NTgwNzAhBA5zQU1BY2NvdW50TmFtZTEPBA1BZG1pbmlzdHJhdG9yMCAEFmlz
Q3JpdGljYWxTeXN0ZW1PYmplY3QxBgQEVFJVRTAcBAlzYW1iYTRSRE4xDwQNQWRtaW5pc3RyYXRv
cjBDBAtvYmplY3RDbGFzczE0BAN0b3AEBnBlcnNvbgQUb3JnYW5pemF0aW9uYWxQZXJzb24EBHVz
ZXIECXNhbWJhNFRvcDBTBA5vYmplY3RDYXRlZ29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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAA=
--=-vUh+QDuuW5KKlkVC19pp--
--=-3DGTDdLilVnhuysLkRP/
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQBJQGs/z4A8Wyi0NrsRApYSAKCypwyLcW8Xy7h/bZm+jVgwfXsrzACgqKLt
aQNMQH/eZvlH1z5jyZ7/FYA=
=OLsg
-----END PGP SIGNATURE-----
--=-3DGTDdLilVnhuysLkRP/--
jsafrane(a)redhat.com wrote:
> Following ldapsearch crashes when referral chasing is enabled in very unusual
> environment with many AD servers referring to each other (I had to increase
> refhoplimit to chase all the referrals).
Thanks for the detailed report. However, IMHO, automatic referral
chasing Is Broken. Clients should explicitly chase them, possibly
providing some interactive means for rebinding. This is what is
currently done, for example, by slapd when using slapo-chain(5), and
what should be done by proxy backends as well.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando(a)sys-net.it
-----------------------------------