From: Luke Howard Date: Sun, 2 Jan 2000 05:42:14 +0000 (+0000) Subject: Filled in Cyrus SASL authz/storage callbacks for all backends X-Git-Tag: UCDATA_2_4~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1ccf169da503a6eb323f128733d626970a04dd9;p=openldap Filled in Cyrus SASL authz/storage callbacks for all backends (callbacks not yet implemented though). --- diff --git a/servers/slapd/back-bdb2/init.c b/servers/slapd/back-bdb2/init.c index d3b243f2ca..2e234d07d8 100644 --- a/servers/slapd/back-bdb2/init.c +++ b/servers/slapd/back-bdb2/init.c @@ -102,6 +102,12 @@ bdb2_back_initialize( bi->bi_tool_index_change = bdb2_tool_index_change; bi->bi_tool_sync = bdb2_tool_sync; +#ifdef HAVE_CYRUS_SASL + bi->bi_sasl_authorize = 0; + bi->bi_sasl_getsecret = 0; + bi->bi_sasl_putsecret = 0; +#endif /* HAVE_CYRUS_SASL */ + bi->bi_connection_init = 0; bi->bi_connection_destroy = 0; diff --git a/servers/slapd/back-ldap/init.c b/servers/slapd/back-ldap/init.c index 830c833e8d..f3e26e3e13 100644 --- a/servers/slapd/back-ldap/init.c +++ b/servers/slapd/back-ldap/init.c @@ -76,6 +76,12 @@ ldap_back_initialize( bi->bi_acl_group = 0; +#ifdef HAVE_CYRUS_SASL + bi->bi_sasl_authorize = 0; + bi->bi_sasl_getsecret = 0; + bi->bi_sasl_putsecret = 0; +#endif /* HAVE_CYRUS_SASL */ + bi->bi_connection_init = 0; bi->bi_connection_destroy = ldap_back_conn_destroy; diff --git a/servers/slapd/back-ldbm/init.c b/servers/slapd/back-ldbm/init.c index c50800681f..e213feade4 100644 --- a/servers/slapd/back-ldbm/init.c +++ b/servers/slapd/back-ldbm/init.c @@ -83,10 +83,10 @@ ldbm_back_initialize( bi->bi_tool_sync = ldbm_tool_sync; #ifdef HAVE_CYRUS_SASL - bi->bi_sasl_authorize = 0; /* ldbm_sasl_authorize; */ - bi->bi_sasl_getsecret = 0; /* ldbm_sasl_getsecret; */ - bi->bi_sasl_putsecret = 0; /* ldbm_sasl_putsecret; */ -#endif + bi->bi_sasl_authorize = 0; + bi->bi_sasl_getsecret = 0; + bi->bi_sasl_putsecret = 0; +#endif /* HAVE_CYRUS_SASL */ bi->bi_connection_init = 0; bi->bi_connection_destroy = 0; diff --git a/servers/slapd/back-passwd/init.c b/servers/slapd/back-passwd/init.c index ac41c382f4..d6bee89f8e 100644 --- a/servers/slapd/back-passwd/init.c +++ b/servers/slapd/back-passwd/init.c @@ -55,6 +55,12 @@ passwd_back_initialize( bi->bi_acl_group = 0; +#ifdef HAVE_CYRUS_SASL + bi->bi_sasl_authorize = 0; + bi->bi_sasl_getsecret = 0; + bi->bi_sasl_putsecret = 0; +#endif /* HAVE_CYRUS_SASL */ + bi->bi_connection_init = 0; bi->bi_connection_destroy = 0; diff --git a/servers/slapd/back-perl/init.c b/servers/slapd/back-perl/init.c index 1fdeb55ce3..2b7b84e16b 100644 --- a/servers/slapd/back-perl/init.c +++ b/servers/slapd/back-perl/init.c @@ -100,6 +100,12 @@ perl_back_initialize( bi->bi_acl_group = 0; +#ifdef HAVE_CYRUS_SASL + bi->bi_sasl_authorize = 0; + bi->bi_sasl_getsecret = 0; + bi->bi_sasl_putsecret = 0; +#endif /* HAVE_CYRUS_SASL */ + bi->bi_connection_init = 0; bi->bi_connection_destroy = 0; diff --git a/servers/slapd/back-shell/init.c b/servers/slapd/back-shell/init.c index f86ccccb0d..80affe1035 100644 --- a/servers/slapd/back-shell/init.c +++ b/servers/slapd/back-shell/init.c @@ -55,6 +55,12 @@ shell_back_initialize( bi->bi_acl_group = 0; +#ifdef HAVE_CYRUS_SASL + bi->bi_sasl_authorize = 0; + bi->bi_sasl_getsecret = 0; + bi->bi_sasl_putsecret = 0; +#endif /* HAVE_CYRUS_SASL */ + bi->bi_connection_init = 0; bi->bi_connection_destroy = 0;