s4-dsdb: fixed spelling of supportedSASLMechanisms
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Jun 2010 03:47:29 +0000 (13:47 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 2 Jul 2010 02:49:04 +0000 (12:49 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/dsdb/samdb/ldb_modules/rootdse.c
source4/ldap_server/ldap_backend.c

index 0cb0f3fa4b9d7e99bf64c275cfe3ca5eef090967..2219f59ef1423cca69b1f06c77e9fb9f1cd1ea0b 100644 (file)
@@ -220,7 +220,7 @@ static int rootdse_add_dynamic(struct ldb_module *module, struct ldb_message *ms
                }
        }
 
-       server_sasl = talloc_get_type(ldb_get_opaque(ldb, "supportedSASLMechanims"),
+       server_sasl = talloc_get_type(ldb_get_opaque(ldb, "supportedSASLMechanisms"),
                                       char *);
        if (server_sasl && do_attribute(attrs, "supportedSASLMechanisms")) {
                unsigned int i;
index c1bd630a3ac7fce99e872898cbd1926894c9d2ae..086069fe19b5435e80903e58d5b0c8e24a60532f 100644 (file)
@@ -219,7 +219,7 @@ NTSTATUS ldapsrv_backend_Init(struct ldapsrv_connection *conn)
                        }
                }
                talloc_unlink(conn, ops);
-               ldb_set_opaque(conn->ldb, "supportedSASLMechanims", sasl_mechs);
+               ldb_set_opaque(conn->ldb, "supportedSASLMechanisms", sasl_mechs);
        }
 
        return NT_STATUS_OK;