Skip to content

The "--kerberos=true" is not recognized #8

@Wodel

Description

@Wodel

Hi,

I've managed to get Sybil working on my POC, now I am trying to understand how to use it...

What was done so far :

  • Compilation and creation of sybil rpms with support of slurm : make rpm WITH_SLURM=1 SLURM_VERSION=25.05
  • Installation and configuration of sybild on the freeipa server.
  • Creation of servicedelegationtarget and servicedelegationrule...
  • Installation of sybil cli and the spank sybil plugin in : slurm-controller, login node, compute nodes.
  • I have configured slurm to use the plugin using the example file : "required spank_sybil.so default=no min_tkt_lifetime="
  • I've modified the slurmd systemd service file (on the compute nodes only).

Note : the login node is excluded from computation, and slurmd in not started, this node is not intended to be used for jobs.

As root on the login node I did : sybil kinit gandalf@EXAMPLE.LOCAL
then I did

ssh gandalf@login01

[gandalf@login01 ~]$ klist 
Ticket cache: KCM:1033000003:94279
Default principal: gandalf@EXAMPLE.LOCAL

Valid starting       Expires              Service principal
08/04/2025 10:54:44  08/04/2025 20:54:44  krbtgt/EXAMPLE.LOCAL@EXAMPLE.LOCAL
        renew until 08/11/2025 10:54:44
08/04/2025 10:56:30  08/04/2025 20:54:44  sybil/idm01.example.local@EXAMPLE.LOCAL
        renew until 08/11/2025 10:54:44


[gandalf@login01 ~]$ sybil store

[gandalf@login01 ~]$ sybil list
UID         START_TIME           END_TIME             RENEW_UNTIL          PRINCIPAL
1033000003  2025-08-04T10:56:43  2025-08-04T20:54:44  2025-08-11T10:54:44  gandalf@EXAMPLE.LOCAL

But when using srun I got :

[gandalf@login01 ~]$ srun --kerberos=true klist
srun: error: Invalid --kerberos argument: true

it is not recognizing --kerberos, I tried to do the same directly on one of the compute nodes, same error !!!!????

I have also some questions :

  • "Allow a given host to perform impersonation against the Sybil service" : What hosts should I added, all of them or only the login node(s) only???
  • KCM configuration, where should this be done? only on freeipa server (this is my understanding), or on all servers enrolled in freeipa including freeipa server itself?
  • Since the "sybil kinit user@DOMAIN.LAN" has to be done as root, how can this be automated for a user when he logs-in without opening security holes?

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions