dsapi_bindparams.h
void DS_BindParams_Delete(DS_BindParams *params)
Delete a bind parameters object.
DS_Status DS_BindParams_GetCertificateServer(const DS_BindParams *params, const char **ldap_host, long *ldap_port, int *check_crls)
Get the details of the LDAP server used to locate certificates and/or CRLs.
DS_Status DS_SASLProps_SetNoDictionary(DS_SASLProps *props, int nodict)
Set the "NoDictionary" flag associated with with this SASLProps.
DS_Status DS_SASLProps_SetPassCredentials(DS_SASLProps *props, int passcred)
Set the "PassCredentials" flag associated with with this SASLProps.
DS_Status DS_SASLProps_SetSSF(DS_SASLProps *props, int min_ssf, int max_ssf)
Set or clear the security strength factor (SSF) associated with this SASLProps.
DS_Status DS_BindParams_SetSimple(DS_BindParams *params, const DS_DN *bind_dn, const char *password)
Mark this set of bind parameters as being for a simple bind.
DS_Status DS_BindParams_SetIdentity(DS_BindParams *params, const DS_Identity *id)
Set or clear the identity for this bind params.
DS_Status DS_SASLProps_Copy(const DS_SASLProps *in, DS_SASLProps **copy_p)
Copy a DS_SASLProps structure.
DS_Status DS_BindParams_SetAnonymous(DS_BindParams *params)
Mark this set of bind parameters as being for an anonymous bind.
DS_Status DS_BindParams_SetSASLRealm(DS_BindParams *params, const char *sasl_realm)
Set the SASL realm for this set of (SASL) bind parameters. It only makes sense to do this for an obje...
DS_Status DS_SASLProps_SetNoPlaintext(DS_SASLProps *props, int noplain)
Set the "NoPlaintext" flag associated with with this SASLProps.
DS_Status DS_BindParams_New(DS_BindParams **params_p)
Create a bind parameters structure.
DS_Status DS_SASLProps_SetMaxBufferSize(DS_SASLProps *props, int maxbufsize)
Set the security layer maximum buffer size associated with with this SASLProps.
DS_Status DS_SASLProps_SetADcompat(DS_SASLProps *props, int enable)
Set or clear the "Active Directory compatibility" flag associated with this SASLProps.
DS_Status DS_BindParams_SetCertificateServer(DS_BindParams *params, const char *ldap_host, long ldap_port, int check_crls)
Set or clear the details for the LDAP server that holds certificates and/or CRLs.
DS_Status DS_BindParams_GetBindType(const DS_BindParams *params, DSBindType *bind_type)
Get the bind type for this bind params.
DS_Status DS_BindParams_SetSASL(DS_BindParams *params, const char *sasl_mechs, const DS_SASLProps *sasl_props, const char *sasl_authentication, const char *sasl_secret)
Mark this set of bind parameters as being for a SASL bind. It only makes sense to do SASL binds on an...
DS_Status DS_BindParams_SetStrong(DS_BindParams *params, const DS_Identity *id, const DS_DN *dsa_dn)
Mark this set of bind parameters as being for a strong bind.
DS_Status DS_SASLProps_GetSSF(const DS_SASLProps *props, int *min_ssf_p, int *max_ssf_p)
Determine the security strength factor (SSF) associated with this SASLProps.
DS_Status DS_BindParams_Copy(const DS_BindParams *in, DS_BindParams **copy_p)
Copy a DS_BindParams structure.
DS_Status DS_SASLProps_SetNoActive(DS_SASLProps *props, int noactive)
Set the "NoActive" flag associated with with this SASLProps.
Directory API type definitions and forward declarations of private types.
DS_Status DS_SASLProps_New(DS_SASLProps **props_p)
Allocate a new DS_SASLProps structure.
DS_Status DS_SASLProps_SetNoAnonymous(DS_SASLProps *props, int noanonymous)
Set the "NoAnonymous" flag associated with with this SASLProps.
DS_Status DS_SASLProps_SetForwardSecrecy(DS_SASLProps *props, int forwardsec)
Set the "ForwardSecrecy" flag associated with with this SASLProps.
DS_Status DS_BindParams_GetIdentity(const DS_BindParams *params, const DS_Identity **id_p)
identity for this bind params.