Add sasl "mech" argument to backend bind routines.

This commit is contained in:
Kurt Zeilenga 1999-06-29 03:29:26 +00:00
parent 1ee85df297
commit a7dfc2aada
11 changed files with 19 additions and 8 deletions

View File

@ -217,6 +217,7 @@ bdb2_back_bind(
Operation *op, Operation *op,
char *dn, char *dn,
int method, int method,
char *mech,
struct berval *cred, struct berval *cred,
char** edn char** edn
) )

View File

@ -21,7 +21,8 @@ extern int bdb2_back_db_config LDAP_P(( BackendDB *bd,
extern int bdb2_back_bind LDAP_P(( BackendDB *bd, extern int bdb2_back_bind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op, Connection *conn, Operation *op,
char *dn, int method, struct berval *cred, char** edn )); char *dn, int method, char* mech,
struct berval *cred, char** edn ));
extern int bdb2_back_unbind LDAP_P(( BackendDB *bd, extern int bdb2_back_unbind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op )); Connection *conn, Operation *op ));

View File

@ -38,6 +38,7 @@ ldap_back_bind(
Operation *op, Operation *op,
char *dn, char *dn,
int method, int method,
char *mech,
struct berval *cred, struct berval *cred,
char **edn char **edn
) )

View File

@ -16,7 +16,8 @@ extern int ldap_back_db_config LDAP_P(( BackendDB *bd,
extern int ldap_back_bind LDAP_P(( BackendDB *bd, extern int ldap_back_bind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op, Connection *conn, Operation *op,
char *dn, int method, struct berval *cred, char** edn )); char *dn, int method, char* mech,
struct berval *cred, char** edn ));
extern int ldap_back_unbind LDAP_P(( BackendDB *bd, extern int ldap_back_unbind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op )); Connection *conn, Operation *op ));

View File

@ -18,7 +18,8 @@ extern int ldbm_back_db_config LDAP_P(( BackendDB *bd,
extern int ldbm_back_bind LDAP_P(( BackendDB *bd, extern int ldbm_back_bind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op, Connection *conn, Operation *op,
char *dn, int method, char* mech, struct berval *cred, char** edn )); char *dn, int method, char* mech,
struct berval *cred, char** edn ));
extern int ldbm_back_unbind LDAP_P(( BackendDB *bd, extern int ldbm_back_unbind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op )); Connection *conn, Operation *op ));

View File

@ -34,6 +34,7 @@ perl_back_bind(
Operation *op, Operation *op,
char *dn, char *dn,
int method, int method,
char *mech,
struct berval *cred, struct berval *cred,
char** edn char** edn
) )

View File

@ -16,7 +16,8 @@ extern int perl_back_db_config LDAP_P(( BackendDB *bd,
extern int perl_back_bind LDAP_P(( BackendDB *bd, extern int perl_back_bind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op, Connection *conn, Operation *op,
char *dn, int method, struct berval *cred, char** edn )); char *dn, int method, char* mech,
struct berval *cred, char** edn ));
extern int perl_back_unbind LDAP_P(( BackendDB *bd, extern int perl_back_unbind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op )); Connection *conn, Operation *op ));

View File

@ -17,6 +17,7 @@ shell_back_bind(
Operation *op, Operation *op,
char *dn, char *dn,
int method, int method,
char *mech,
struct berval *cred, struct berval *cred,
char **edn char **edn
) )

View File

@ -16,7 +16,8 @@ extern int shell_back_db_config LDAP_P(( BackendDB *bd,
extern int shell_back_bind LDAP_P(( BackendDB *bd, extern int shell_back_bind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op, Connection *conn, Operation *op,
char *dn, int method, struct berval *cred, char** edn )); char *dn, int method, char* mech,
struct berval *cred, char** edn ));
extern int shell_back_unbind LDAP_P(( BackendDB *bd, extern int shell_back_unbind LDAP_P(( BackendDB *bd,
Connection *conn, Operation *op )); Connection *conn, Operation *op ));

View File

@ -1,4 +1,4 @@
/* $Id: external.h,v 1.5 1999/02/18 01:18:39 bcollins Exp $ */ /* $Id: external.h,v 1.6 1999/03/05 02:42:17 gomez Exp $ */
#ifndef _TCL_EXTERNAL_H #ifndef _TCL_EXTERNAL_H
#define _TCL_EXTERNAL_H #define _TCL_EXTERNAL_H
@ -20,7 +20,8 @@ extern int tcl_back_db_config LDAP_P ((BackendDB * bd,
extern int tcl_back_bind LDAP_P ((BackendDB * bd, extern int tcl_back_bind LDAP_P ((BackendDB * bd,
Connection * conn, Operation * op, Connection * conn, Operation * op,
char *dn, int method, struct berval * cred, char **edn)); char *dn, int method, char *mech,
struct berval * cred, char **edn));
extern int tcl_back_unbind LDAP_P ((BackendDB * bd, extern int tcl_back_unbind LDAP_P ((BackendDB * bd,
Connection * conn, Operation * op)); Connection * conn, Operation * op));

View File

@ -1,6 +1,6 @@
/* bind.c - tcl bind routines /* bind.c - tcl bind routines
* *
* $Id: tcl_bind.c,v 1.4 1999/02/19 06:55:20 bcollins Exp $ * $Id: tcl_bind.c,v 1.5 1999/02/28 04:55:48 bcollins Exp $
* *
* Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved. * Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
* *
@ -24,6 +24,7 @@ tcl_back_bind (
Operation * op, Operation * op,
char *dn, char *dn,
int method, int method,
char *mech,
struct berval *cred, struct berval *cred,
char **edn char **edn
) )