]> git.sur5r.net Git - openldap/commitdiff
Filled in Cyrus SASL authz/storage callbacks for all backends
authorLuke Howard <lukeh@openldap.org>
Sun, 2 Jan 2000 05:42:14 +0000 (05:42 +0000)
committerLuke Howard <lukeh@openldap.org>
Sun, 2 Jan 2000 05:42:14 +0000 (05:42 +0000)
(callbacks not yet implemented though).

servers/slapd/back-bdb2/init.c
servers/slapd/back-ldap/init.c
servers/slapd/back-ldbm/init.c
servers/slapd/back-passwd/init.c
servers/slapd/back-perl/init.c
servers/slapd/back-shell/init.c

index d3b243f2ca2eb90fd1f64706def4c093d3f1ccf7..2e234d07d85de7caa86cf1f49e7e22dafbfed97c 100644 (file)
@@ -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;
 
index 830c833e8db5b920121a0b6f4ba74f68f7eb7647..f3e26e3e132186c70b141cbc55ec1867114ced85 100644 (file)
@@ -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;
 
index c50800681f40c9599d2a412be64bd500238662fc..e213feade4b3ed261534c913532328903656a150 100644 (file)
@@ -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;
index ac41c382f4d5480357d5d78cecde4949b80aa537..d6bee89f8e17318e865eb44d1696c1a811f55aa5 100644 (file)
@@ -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;
 
index 1fdeb55ce399270896d85eb290861749b6d68c3e..2b7b84e16b56688883e4f8f0840354157b2767de 100644 (file)
@@ -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;
 
index f86ccccb0d144d1d6a6c04a1ccbc77e2d3ec6ee2..80affe10351418f207c34b87af73252237153d0e 100644 (file)
@@ -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;