Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
1ff7252b
Commit
1ff7252b
authored
8 years ago
by
Don Lipari
Committed by
Morris Jette
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Modify pam module to work when configured NodeName and NodeHostname differ
bug 3473
parent
d8376bec
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+1
-0
1 addition, 0 deletions
NEWS
contribs/pam/README
+1
-2
1 addition, 2 deletions
contribs/pam/README
contribs/pam/pam_slurm.c
+14
-0
14 additions, 0 deletions
contribs/pam/pam_slurm.c
with
16 additions
and
2 deletions
NEWS
+
1
−
0
View file @
1ff7252b
...
@@ -3,6 +3,7 @@ documents those changes that are of interest to users and administrators.
...
@@ -3,6 +3,7 @@ documents those changes that are of interest to users and administrators.
* Changes in Slurm 17.02.1
* Changes in Slurm 17.02.1
==========================
==========================
-- Modify pam module to work when configured NodeName and NodeHostname differ.
* Changes in Slurm 17.02.0
* Changes in Slurm 17.02.0
==========================
==========================
...
...
This diff is collapsed.
Click to expand it.
contribs/pam/README
+
1
−
2
View file @
1ff7252b
...
@@ -37,8 +37,7 @@ Description:
...
@@ -37,8 +37,7 @@ Description:
Notes:
Notes:
This module will not work on systems where the hostname returned by the
This module will not work on systems where the hostname returned by the
gethostname() differs from SLURM node name. This includes front-end
gethostname() differs from SLURM node name. This includes front-end
configurations (IBM BlueGene or Cray systems) or systems configured
configurations (IBM BlueGene or Cray/ALPS systems).
in SLURM using the NodeHostName parameter.
rsh_kludge - The rsh service under RH71 (rsh-0.17-2.5) truncates the first
rsh_kludge - The rsh service under RH71 (rsh-0.17-2.5) truncates the first
character of this message. The rsh client sends 3 NUL-terminated ASCII
character of this message. The rsh client sends 3 NUL-terminated ASCII
strings: client-user-name, server-user-name, and command string. The
strings: client-user-name, server-user-name, and command string. The
...
...
This diff is collapsed.
Click to expand it.
contribs/pam/pam_slurm.c
+
14
−
0
View file @
1ff7252b
...
@@ -341,6 +341,20 @@ _slurm_match_allocation(uid_t uid)
...
@@ -341,6 +341,20 @@ _slurm_match_allocation(uid_t uid)
uid
,
nodename
,
j
->
job_id
);
uid
,
nodename
,
j
->
job_id
);
authorized
=
1
;
authorized
=
1
;
break
;
break
;
}
else
{
char
*
nodename
;
nodename
=
slurm_conf_get_nodename
(
hostname
);
if
(
nodename
)
{
if
(
_hostrange_member
(
nodename
,
j
->
nodes
))
{
DBG
(
"user %ld allocated node %s in job %ld"
,
uid
,
nodename
,
j
->
job_id
);
authorized
=
1
;
xfree
(
nodename
);
break
;
}
xfree
(
nodename
);
}
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment