Disable command recognition for not-fully-implemented commands
authorPaul Park <pjpark@mit.edu>
Fri, 28 Apr 1995 22:03:54 +0000 (22:03 +0000)
committerPaul Park <pjpark@mit.edu>
Fri, 28 Apr 1995 22:03:54 +0000 (22:03 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5645 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5server/ChangeLog
src/kadmin/v5server/proto_serv.c

index c71f27d48478aa1ba3a6088bf9e4c8833d06d090..c8daf39b64c5388d9f64ff6347fb273c39f8bed2 100644 (file)
@@ -1,3 +1,9 @@
+
+Fri Apr 28 17:58:11 EDT 1995   Paul Park       (pjpark@mit.edu)
+
+       * proto_serv.c  - ifdef-out commands which are not fully supported.
+
+
 Fri Apr 28 17:38:36 EDT 1995   Paul Park       (pjpark@mit.edu)
 
        * srv_net.c, proto_serv.c - re-include <signal.h> for signal name
index 475ddfdc6e0a3717c3bce15cb90f716dbbfd6369..44cf910ef0d914f1cb7879a8eec908cd07442137 100644 (file)
@@ -353,6 +353,7 @@ proto_serv(kcontext, my_id, cl_sock, sv_p, cl_p)
                        err_aux = KRB5_ADM_BAD_ARGS;
                    }
                }
+#ifdef MOTD_SUPPORTED
                else if (!strcasecmp(arglist[0].data, KRB5_ADM_MOTD_CMD)) {
                    DPRINT(DEBUG_REQUESTS, proto_debug_level,
                           ("> %d:MOTD command\n", my_id));
@@ -371,6 +372,8 @@ proto_serv(kcontext, my_id, cl_sock, sv_p, cl_p)
                        err_aux = KRB5_ADM_BAD_ARGS;
                    }
                }
+#endif /* MOTD_SUPPORTED */
+#ifdef MIME_SUPPORTED
                else if (!strcasecmp(arglist[0].data, KRB5_ADM_MIME_CMD)) {
                    DPRINT(DEBUG_REQUESTS, proto_debug_level,
                           ("> %d:MIME command\n", my_id));
@@ -386,6 +389,8 @@ proto_serv(kcontext, my_id, cl_sock, sv_p, cl_p)
                        err_aux = KRB5_ADM_BAD_ARGS;
                    }
                }
+#endif /* MIME_SUPPORTED */
+#ifdef LANGUAGES_SUPPORTED
                else if (!strcasecmp(arglist[0].data, KRB5_ADM_LANGUAGE_CMD)) {
                    DPRINT(DEBUG_REQUESTS, proto_debug_level,
                           ("> %d:LANGUAGE command\n", my_id));
@@ -410,6 +415,7 @@ proto_serv(kcontext, my_id, cl_sock, sv_p, cl_p)
                        err_aux = KRB5_ADM_BAD_ARGS;
                    }
                }
+#endif /* LANGUAGES_SUPPORTED */
                else {
                    DPRINT(DEBUG_REQUESTS, proto_debug_level,
                           ("> %d:UNKNOWN command %s\n", my_id,