[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: use-case for arg const char *dn of ldap_sasl_bind_s()
- To: Howard Chu <hyc@symas.com>, OpenLDAP Technical <openldap-technical@OpenLDAP.org>
- Subject: Re: use-case for arg const char *dn of ldap_sasl_bind_s()
- From: Michael Ströder <michael@stroeder.com>
- Date: Sun, 18 Aug 2019 23:42:20 +0200
- Autocrypt: addr=michael@stroeder.com; prefer-encrypt=mutual; keydata= mQENBFbdnRoBCADj0vYA4aRwKJ6AE4mf8oElLgMT/1eLNKpJ2FYBWcwj9d8dTk5/p9b8DRxy S/qQIUUZqt9xRFZwUCm0vFeQMRDeN9xzAKoRzrJifoDOacOjG1lhZTKYvVZGgUT89Ao3QeHh Q7gPzcAKNoueoR2y3FXStOYuRrbk5PlSjVAITjsotgc7PWE9mmVYpeu8a+byK/DBHKUyolOA 1UXYvDa7MbPhMtdNm8qnwtKs1Vsyk1VkErM+5cIe+zTT6WYQcmZMRjCtWGiFTzk9W6Mdlskk WRTKhKNgokTsgcy1ecaCBUZWxv/SyXgD81+rwRi9b8Px+1reg43ayxi8sV7jrI1feybbABEB AAG0J01pY2hhZWwgU3Ryw7ZkZXIgPG1pY2hhZWxAc3Ryb2VkZXIuY29tPokBNwQTAQgAIQUC Vt2dGgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRAH3HrjaovJOFpTCACjO773gcmJ KvzjiNpUFl/gANyaJgIq4VbMQ7VthRb1F9X6YbdJ6Z99ntyESjGFCpjofcSomr2vJDpv6ht+ lY33yo20YwsMpqe2OeId0jPybG+FtabKjgBNoAk7iqnBGUvE4t0dz0n1LQVCQR2jxyTKmcNq OYpsRZ3H+6kWwJMuVgsNZglINVZ8JgV5QuLYN5jhYz+pOuFnU11bV6nWREvzZXzebe7g7Zus 6AsWjtJ0lDvgBNzLlF3/eFrVch6Bejs0SvuFseIdZQk+4YU6Rb8xul/jDFXIfo7eTmijO3dV T5AmC1cUi8czncwpgAJnEH8vYv23RoN/aw2gSMCS2huIuQENBFbdnRoBCAC7L1cTVBVZZuM/ yxSUM5CsgGBlTD1Cr7C2ngZFsHSYXVLq6NUB8GZA2iLK96CrwnFw4/Jjz4llOjc50iVRMQKL RyFWOJAMrpPq2ew5T+Uoo524D//dwVbqkFVVuvM8NPiKIDyPGCjP+acM1D8hXwhOXgQ8Iz8Q 3/GRSYjitn9JrkF0ia2nhariznBKVu0LDffxF/hOCx45+QRR2/rYYlshfZMB7nEJX9P+hVfM CSzltz9Z8CldeUbiJvnyrISReR2XBw9oh8JkIUP0BtpIaify9A7EfzOk+W9BUnWe+YwdSUsB fJxOhSv+umyW5GMqZGFu+4oYnkzbe+1LUs1JarCtABEBAAGJAR8EGAEIAAkFAlbdnRoCGwwA CgkQB9x642qLyTjEUgf+JX6Atatl/QKe37yCj1OZYNPd3B0rPLJRF5mEmrADRXLZC9+uFeDS Wxxln040gnR6rjBHrRcvVmlTDiZY26iuL16+V+0/aZ9uyXNQSzk2cwDSiI/8gvr72Y+FN5fh cGXpeNHxHilYc9onzDhxyE76cwzqTKm4q2ULIH2u9IHQ5O86Fv6nHPYhe2fy1bhQapNwi/Xl 3G3i2WNH/w7m+1zWU1IddZOjmXzoxLT1BATwXGa0Tt5RjVb2mM1Wg3Zj6kqFkF2vvKcvrwj0 q0Ap5uyfN5m0uWzQMCMoaV9HQf7f5MkS1lnwBqDgnojjVAieX5uk7olUiRuPKHMfhvXulYP8 AA==
- In-reply-to: <36ff64b8-8114-d36e-ed8d-f53fd657ace3@symas.com>
- Openpgp: preference=signencrypt
- References: <128a75f7-027f-f1f1-7d8f-9e4bbef49567@stroeder.com> <43ca546c-4741-8a9f-b3af-1f95a7238e67@symas.com> <485733e1-9b60-b040-54bb-f76b56310d50@stroeder.com> <36ff64b8-8114-d36e-ed8d-f53fd657ace3@symas.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
On 8/18/19 11:26 PM, Howard Chu wrote:
> Michael Ströder wrote:
>> On 8/18/19 6:35 PM, Howard Chu wrote:
>>> Michael Ströder wrote:
>>>> It seems I've never passed a DN to SASL bind functions.
>>>>
>>>> Could someone please elaborate on a valid use-case for argument dn of
>>>> libldap function ldap_sasl_bind_s()?
>>>
>>> I suppose it is only exposed since the protocol message still carries it,
>>> even though it is always empty. The client could legally put anything it wants
>>> in there; a proper server would still just ignore the DN though.
>>
>> I assume the same applies to parameter who of
>> ldap_sasl_interactive_bind_s().
>
> Yes, same thing.
Hmm, it seems one cannot simply pass NULL or "" as value for argument dn
to ldap_sasl_interactive_bind_s(). What's the correct solution?
Ciao, Michael.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature