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
317055cd
Commit
317055cd
authored
18 years ago
by
Christopher J. Morrone
Browse files
Options
Downloads
Patches
Plain Diff
Fix ifdef
parent
26aac1a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmd/slurmstepd/pam_ses.c
+3
-1
3 additions, 1 deletion
src/slurmd/slurmstepd/pam_ses.c
with
3 additions
and
1 deletion
src/slurmd/slurmstepd/pam_ses.c
+
3
−
1
View file @
317055cd
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include
"src/common/log.h"
#include
"src/common/log.h"
#include
"src/slurmd/slurmd/slurmd.h"
#include
"src/slurmd/slurmd/slurmd.h"
#ifdef
conf->use_pam
#ifdef
HAVE_PAM
#include
<security/pam_appl.h>
#include
<security/pam_appl.h>
#include
<security/pam_misc.h>
#include
<security/pam_misc.h>
...
@@ -65,6 +65,8 @@ pam_setup (char *user, char *host)
...
@@ -65,6 +65,8 @@ pam_setup (char *user, char *host)
struct
pam_conv
conv
=
{
misc_conv
,
NULL
};
struct
pam_conv
conv
=
{
misc_conv
,
NULL
};
int
rc
=
0
;
int
rc
=
0
;
if
(
!
conf
->
use_pam
)
return
SLURM_SUCCESS
;
/*
/*
* SLURM uses PAM to obtain resource limits established by the system
* SLURM uses PAM to obtain resource limits established by the system
* administrator. PAM's session management library is responsible for
* administrator. PAM's session management library is responsible for
...
...
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