Using 'Sockbuf_IO_Desc' in idl implicitly means pidl will use
'struct Sockbuf_IO_Desc', which doesn't exist!
Using 'struct sockbuf_io_desc' which is used in OpenLDAP to
typedef Sockbuf_IO_Desc, we won't need to cast the assign the
'sbiod' pointer.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
{
struct ads_saslwrap *wrap = (struct ads_saslwrap *)arg;
- wrap->sbiod = (struct Sockbuf_IO_Desc *)sbiod;
+ wrap->sbiod = sbiod;
sbiod->sbiod_pvt = wrap;
ads_saslwrap_type wrap_type;
[ignore] ads_saslwrap_ops *wrap_ops;
#ifdef HAVE_LDAP_SASL_WRAPPING
- [ignore] Sockbuf_IO_Desc *sbiod; /* lowlevel state for LDAP wrapping */
+ [ignore] struct sockbuf_io_desc *sbiod; /* lowlevel state for LDAP wrapping */
#endif /* HAVE_LDAP_SASL_WRAPPING */
[ignore] TALLOC_CTX *mem_ctx;
[ignore] void *wrap_private_data;