<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<p>Hello everyone,</p>
<p><br>
</p>
<p>I am trying to give users ssh access via pam_slurm_adopt.</p>
<p>I've installed the module and it worked correctly on testing
environment</p>
<p>But when i add pbis-open modules (which auth users against active
directory), <br>
</p>
<p>users are able to ssh to the server but the session isn't
dedicated to the job resources.</p>
<p><br>
</p>
<p>simple example: </p>
<p>srun -c1 --pty bash</p>
<p>$nproc</p>
<p>1</p>
<p><br>
</p>
<p>ssh to that server <br>
</p>
<p>$nproc</p>
<p>2</p>
<p><br>
</p>
<p>This example used to work(second nproc retuend 1) before
installing pbis, which install new pam module (lsass.so)</p>
<p>I have tried to put 'account sufficient pam_slurm_adopt.so'
before and after every common-* in sshd file including
after/before pam_access.so</p>
<p><br>
</p>
<p><br>
</p>
<p>The desire result will be pam_slurm_adopt working as described +
having users auth against specific groups in AD</p>
<p><br>
</p>
<p>If someone manage to solve it or have better solution We will be
glad to know.</p>
<p><br>
</p>
<p>Thanks in advance, Nadav<br>
</p>
</body>
</html>