Skip to content
Snippets Groups Projects
Commit 205d32f3 authored by Moe Jette's avatar Moe Jette
Browse files

Revert authentication plugin version, otherwise we break

  authentication of communications to older versions of
  slurmdbd
parent 0e2f69e1
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
<h2> Overview</h2>
<p> This document describes SLURM authentication plugins and the API that defines
them. It is intended as a resource to programmers wishing to write their own SLURM
authentication plugins. This is version 100 of the API.</p>
authentication plugins. This is version 90 of the API.</p>
<p>SLURM authentication plugins are SLURM plugins that implement the SLURM authentication
API described herein. They must conform to the SLURM Plugin API with the following
specifications:</p>
......
......@@ -264,7 +264,8 @@ slurm_auth_generic_errstr( int slurm_errno )
{ SLURM_AUTH_MEMORY, "memory management error" },
{ SLURM_AUTH_NOUSER, "no such user" },
{ SLURM_AUTH_INVALID, "authentication credential invalid" },
{ SLURM_AUTH_MISMATCH, "authentication type mismatch" },
{ SLURM_AUTH_MISMATCH,
"authentication type or verstion mismatch" },
{ 0, NULL }
};
......
......@@ -65,7 +65,7 @@
const char plugin_name[] = "Brent Chun's authd authentication plugin";
const char plugin_type[] = "auth/authd";
const uint32_t plugin_version = 100;
const uint32_t plugin_version = 90;
/*
* Where to find the timeout in the argument vector. This is set
......
......@@ -76,7 +76,7 @@
const char plugin_name[] = "auth plugin for Munge (http://home.gna.org/munge/)";
const char plugin_type[] = "auth/munge";
const uint32_t plugin_version = 100;
const uint32_t plugin_version = 10;
static int plugin_errno = SLURM_SUCCESS;
......
......@@ -96,7 +96,7 @@
*/
const char plugin_name[] = "Null authentication plugin";
const char plugin_type[] = "auth/none";
const uint32_t plugin_version = 100;
const uint32_t plugin_version = 90;
/*
......
......@@ -1533,7 +1533,7 @@ static int _init_conn(slurmdbd_conn_t *slurmdbd_conn,
int rc = SLURM_SUCCESS;
if ((rc = slurmdbd_unpack_init_msg(slurmdbd_conn->rpc_version,
&init_msg, in_buffer,
&init_msg, in_buffer,
slurmdbd_conf->auth_info))
!= SLURM_SUCCESS) {
comment = "Failed to unpack DBD_INIT message";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment