I have had a look at the code. There seems to be very little/no validation on the host names.
I am going to write a patch for this and see if I can fix it.
Andy Lawrence
-----Original Message----- From: openldap-devel [mailto:openldap-devel-bounces@openldap.org] On Behalf Of Quanah Gibson-Mount Sent: 15 January 2018 16:30 To: Lawrence, Andy (MO MM R&D UK IXL); arekkusu@r42.ch; openldap-devel@openldap.org Subject: RE: Beginner projects
--On Saturday, January 13, 2018 9:14 AM +0000 "Lawrence, Andy" andrew.lawrence@siemens.com wrote:
You have used the deprecated -h option. Would it really be beneficial to fix this?
While the API is deprecated, there's also no timetable on if/when that usage will be removed, so it's probably worth fixing at some point. ;)
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com