From 2671b5aeb0442b1c2a67ba9c43113ba3eec6bc15 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 30 Jun 2010 13:47:29 +1000 Subject: s4-dsdb: fixed spelling of supportedSASLMechanisms Pair-Programmed-With: Andrew Bartlett --- source4/dsdb/samdb/ldb_modules/rootdse.c | 2 +- source4/ldap_server/ldap_backend.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index 0cb0f3fa4b..2219f59ef1 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -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; diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index c1bd630a3a..086069fe19 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -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; -- cgit