typo: mandetory -> mandatory
authorGarming Sam <garming@catalyst.net.nz>
Mon, 13 Jun 2016 03:42:25 +0000 (15:42 +1200)
committerGarming Sam <garming@samba.org>
Mon, 4 Jul 2016 22:00:15 +0000 (00:00 +0200)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/gensec/gensec.c

index 2a8bba8..3f3c31b 100644 (file)
@@ -244,7 +244,7 @@ static NTSTATUS gensec_verify_dcerpc_auth_level(struct gensec_security *gensec_s
        switch (gensec_security->dcerpc_auth_level) {
        case DCERPC_AUTH_LEVEL_INTEGRITY:
                if (!gensec_have_feature(gensec_security, GENSEC_FEATURE_SIGN)) {
-                       DEBUG(0,("Did not manage to negotiate mandetory feature "
+                       DEBUG(0,("Did not manage to negotiate mandatory feature "
                                 "SIGN for dcerpc auth_level %u\n",
                                 gensec_security->dcerpc_auth_level));
                        return NT_STATUS_ACCESS_DENIED;
@@ -252,13 +252,13 @@ static NTSTATUS gensec_verify_dcerpc_auth_level(struct gensec_security *gensec_s
                break;
        case DCERPC_AUTH_LEVEL_PRIVACY:
                if (!gensec_have_feature(gensec_security, GENSEC_FEATURE_SIGN)) {
-                       DEBUG(0,("Did not manage to negotiate mandetory feature "
+                       DEBUG(0,("Did not manage to negotiate mandatory feature "
                                 "SIGN for dcerpc auth_level %u\n",
                                 gensec_security->dcerpc_auth_level));
                        return NT_STATUS_ACCESS_DENIED;
                }
                if (!gensec_have_feature(gensec_security, GENSEC_FEATURE_SEAL)) {
-                       DEBUG(0,("Did not manage to negotiate mandetory feature "
+                       DEBUG(0,("Did not manage to negotiate mandatory feature "
                                 "SEAL for dcerpc auth_level %u\n",
                                 gensec_security->dcerpc_auth_level));
                        return NT_STATUS_ACCESS_DENIED;