62 if (!credW)
goto exit;
114 if (!credU)
goto exit;
158 if (!credW)
goto exit;
206 if (!credU)
goto exit;
241 if (!ld || !dn || !mechanism || !cred || !
message)
247 mechanismW =
strAtoW( mechanism );
248 if (!mechanismW)
goto exit;
251 serverctrlsW = controlarrayAtoW( serverctrls );
252 if (!serverctrlsW)
goto exit;
255 clientctrlsW = controlarrayAtoW( clientctrls );
256 if (!clientctrlsW)
goto exit;
264 controlarrayfreeW( serverctrlsW );
265 controlarrayfreeW( clientctrlsW );
299 char *dnU, *mechanismU =
NULL;
308 if (!ld || !dn || !mechanism || !cred || !
message)
314 mechanismU =
strWtoU( mechanism );
315 if (!mechanismU)
goto exit;
318 serverctrlsU = controlarrayWtoU( serverctrls );
319 if (!serverctrlsU)
goto exit;
322 clientctrlsU = controlarrayWtoU( clientctrls );
323 if (!clientctrlsU)
goto exit;
330 serverctrlsU, clientctrlsU,
message ));
335 controlarrayfreeU( serverctrlsU );
336 controlarrayfreeU( clientctrlsU );
359 debugstr_a(mechanism), cred, serverctrls, clientctrls, serverdata );
361 if (!ld || !dn || !mechanism || !cred || !serverdata)
367 mechanismW =
strAtoW( mechanism );
368 if (!mechanismW)
goto exit;
371 serverctrlsW = controlarrayAtoW( serverctrls );
372 if (!serverctrlsW)
goto exit;
375 clientctrlsW = controlarrayAtoW( clientctrls );
376 if (!clientctrlsW)
goto exit;
384 controlarrayfreeW( serverctrlsW );
385 controlarrayfreeW( clientctrlsW );
419 char *dnU, *mechanismU =
NULL;
426 debugstr_w(mechanism), cred, serverctrls, clientctrls, serverdata );
428 if (!ld || !dn || !mechanism || !cred || !serverdata)
434 mechanismU =
strWtoU( mechanism );
435 if (!mechanismU)
goto exit;
438 serverctrlsU = controlarrayWtoU( serverctrls );
439 if (!serverctrlsU)
goto exit;
442 clientctrlsU = controlarrayWtoU( clientctrls );
443 if (!clientctrlsU)
goto exit;
450 serverctrlsU, clientctrlsU, (
struct berval **)serverdata ));
455 controlarrayfreeU( serverctrlsU );
456 controlarrayfreeU( clientctrlsU );
485 if (!passwdW)
goto exit;
535 if (!passwdU)
goto exit;
538 pwd.bv_val = passwdU;
579 if (!passwdW)
goto exit;
628 if (!passwdU)
goto exit;
631 pwd.bv_val = passwdU;
661 TRACE(
"(%p)\n", ld );
689 TRACE(
"(%p)\n", ld );
ACPI_SIZE strlen(const char *String)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void pwd(int argc, const char *argv[])
static UINT map_error(DWORD error)
ULONG CDECL ldap_sasl_bind_sW(WLDAP32_LDAP *ld, const PWCHAR dn, const PWCHAR mechanism, const BERVAL *cred, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls, PBERVAL *serverdata)
ULONG CDECL ldap_simple_bindW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR passwd)
ULONG CDECL ldap_bindW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR cred, ULONG method)
ULONG CDECL WLDAP32_ldap_unbind(WLDAP32_LDAP *ld)
ULONG CDECL ldap_bind_sA(WLDAP32_LDAP *ld, PCHAR dn, PCHAR cred, ULONG method)
ULONG CDECL ldap_simple_bind_sW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR passwd)
ULONG CDECL WLDAP32_ldap_unbind_s(WLDAP32_LDAP *ld)
ULONG CDECL ldap_bind_sW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR cred, ULONG method)
ULONG CDECL ldap_simple_bind_sA(WLDAP32_LDAP *ld, PCHAR dn, PCHAR passwd)
ULONG CDECL ldap_bindA(WLDAP32_LDAP *ld, PCHAR dn, PCHAR cred, ULONG method)
ULONG CDECL ldap_sasl_bind_sA(WLDAP32_LDAP *ld, const PCHAR dn, const PCHAR mechanism, const BERVAL *cred, PLDAPControlA *serverctrls, PLDAPControlA *clientctrls, PBERVAL *serverdata)
ULONG CDECL ldap_sasl_bindW(WLDAP32_LDAP *ld, const PWCHAR dn, const PWCHAR mechanism, const BERVAL *cred, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls, int *message)
ULONG CDECL ldap_simple_bindA(WLDAP32_LDAP *ld, PCHAR dn, PCHAR passwd)
ULONG CDECL ldap_sasl_bindA(WLDAP32_LDAP *ld, const PCHAR dn, const PCHAR mechanism, const BERVAL *cred, PLDAPControlA *serverctrls, PLDAPControlA *clientctrls, int *message)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
static LPWSTR strAtoW(const char *str)
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
static void strfreeU(char *str)
static void strfreeW(LPWSTR str)
static char * strWtoU(LPCWSTR str)