From: Joseph Sutton Date: Tue, 26 Sep 2023 23:39:03 +0000 (+1300) Subject: s3:passdb: Fix code spelling X-Git-Tag: talloc-2.4.2~1063 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a670182f463f9b20cf6dc435de2726a16386b1a;p=thirdparty%2Fsamba.git s3:passdb: Fix code spelling Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 58b2b010b72..ed5c3e9a495 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -81,7 +81,7 @@ LDAP *priv2ld(struct ldapsam_privates *priv) } /********************************************************************** - Get the attribute name given a user schame version. + Get the attribute name given a user schema version. **********************************************************************/ static const char* get_userattr_key2string( int schema_ver, int key ) @@ -6563,7 +6563,7 @@ static void free_private_data(void **vp) } /********************************************************************* - Intitalise the parts of the pdb_methods structure that are common to + Initialise the parts of the pdb_methods structure that are common to all pdb_ldap modes *********************************************************************/ diff --git a/source3/passdb/pdb_nds.c b/source3/passdb/pdb_nds.c index 5f00a8c5629..fc0d19b06f1 100644 --- a/source3/passdb/pdb_nds.c +++ b/source3/passdb/pdb_nds.c @@ -185,13 +185,13 @@ static int berEncodeLoginData( if (!err) { if (putData) { - /* BER Encode the the tag and data */ + /* BER Encode the tag and data */ err = (ber_printf(requestBer, "oio}", utf8TagPtr, utf8TagSize, putDataLen, putData, putDataLen) < 0) ? LDAP_ENCODING_ERROR : 0; } else { - /* BER Encode the the tag */ + /* BER Encode the tag */ err = (ber_printf(requestBer, "o}", utf8TagPtr, utf8TagSize) < 0) ? LDAP_ENCODING_ERROR : 0; @@ -223,7 +223,7 @@ Cleanup: /********************************************************************** Takes the reply BER Value and decodes the NMAS server version and return code and if a non null retData buffer was supplied, tries to - decode the the return data and length + decode the return data and length **********************************************************************/ static int berDecodeLoginData( @@ -862,7 +862,7 @@ static NTSTATUS pdb_nds_update_login_attempts(struct pdb_methods *methods, } /********************************************************************** - Intitalise the parts of the pdb_methods structuire that are common + Initialise the parts of the pdb_methods structure that are common to NDS_ldapsam modes *********************************************************************/