Skip to content

Releases: th-nuernberg/usermgmt

v0.6.1

14 Dec 12:31
Compare
Choose a tag to compare

Added

  • Added conf field "ldap_add_created_at" to opt in for creating LDAP users with creation date
    Note: the field value field "createdAtRole" under the array field "objectclass_common" is needed
    in the config file. Otherwise one gets an error while creating an LDAP user.
  • Added configuration field "ldap_default_user". Allows to define username for LDAP login used by default.
  • Added CLI option to specify the configuration file
  • Logging also performed to logging file
  • SSH key pair can be provided by field within configuration file or as a CLI argument.

Changed

  • In CLI, connection to LDAP and Slurm is checked before any attempt at performing adding/removing/listing or modifying/listing.
  • In CLI, user can just press enter to provide no password during password prompt for SSH (useful for ssh key pair without password).

Fixed

  • Fixed broken Quota creation exit code check in dir.rs.
  • Some typos

v0.6.0

08 Nov 13:02
a16b1b0
Compare
Choose a tag to compare

Changelog for CLI tool.

Changed

  • Configuration file is not created automatically anymore
  • Username and passwords which are empty or only white spaces and have default value are invalid
  • Output of for LDAP user via the sub command list is now presented in a nicer ASCII table format
  • CLI argument for slurm, ldap and directory management can be toggled via cli and conf.toml individually
    CLI Option for a system is only available if a sub command supports it.
    slurm-only, ldap-only and dirs-only were replaced by new options
  • LDAP bind OU and general LDPA OU are more configurable.
    One can now specify several dn parts like ou=people,ou=department.
    Before one could only specify a value for one fixed dn key part like people => ou=people.

Added

  • Subcommands can be issued via shortcuts which consists of one or two letters.
  • Configuration file can be located in several places.
    It always try user specific configuration locations, then system configuration places and the CWD as the last resort.
  • Default configuration can be generated via new subcommand "generate-config".
  • Option to try authentication via ssh agent before simple password authentication.
  • Added option to use different user prefix and org unit binding for readonly LDAP user.
  • Made username and password optional for readonly user to allow for prompting these credentials.
  • Used base dc, dn for user manipulation and dn for user bind are now logged.
  • Port for ssh connection can now specified via configuration file

Fixed

  • CLI tool now enforces the following:
    • Default Qos must be contained in the collection of Qos for the operations add, remove and modify
    • Default Qos along with the collection of Qos must be given both or none of them for the operations add, remove and modify.
  • This prevents the problem where sacctmgr CLI, slurm CLI, did not update default Qos or colletion of Qos.
  • The prompt showing allowed number for selection for several keys under ssh agent is now correctly displayed.
    Before the maximum index selection was too big by one.
  • Fixed faulty determining inside os config folder space.
    Example: before It searched under ~/.config instead of ~/.config/usermgmt

Changelog for GUI version of this tool.

Implemented a GUI which allows to perform the management of LDAP and Slurm users

v0.5.0

19 Apr 16:22
dbca42a
Compare
Choose a tag to compare

Changed

  • Output of for LDAP user via the sub command list is now presented in a nicer ASCII table format
  • CLI argument for slurm, ldap and directory management can be toggled via cli and conf.toml individually CLI Option for a system is only available if a sub command supports it. slurm-only, ldap-only and dirs-only were replaced by new options
  • LDAP bind OU and general LDAP OU are more configurable. One can now specify several dn parts like ou=people,ou=department. Before one could only specify a value for one fixed dn key part like people => ou=people.

Added

  • Added possibility to output listing of LDAP user via pretty table format and the old machine-readable format via CLI flag in subcommand list
  • Used base dc, dn for user manipulation and dn for user bind are now logged.
  • Port for ssh connection can now specified via configuration file

What's Changed

  • WIP: Docker open ldap, slurm and directory management by @BoolPurist in #17
  • feat: CLI version is synced with cargo package version automatically by @BoolPurist in #36
  • test: tests functions for validating/filtering QOS by @BoolPurist in #35
  • fix: moved fixed items to last release by @BoolPurist in #33
  • Feat ssh connection with port by @BoolPurist in #32
  • Refacture cli to operation by @BoolPurist in #34
  • feat: introduced anyhow and thiserror crate. by @BoolPurist in #31
  • fix: no redundant LDAP config creation and more flexible dc and bind configuration by @BoolPurist in #37
  • Fix: no unclean aborting process on error for result anymore by @BoolPurist in #39
  • overhaul: overhauled CLI args for LDAP, Slurm and Directory by @BoolPurist in #38
  • fix: before not all old qos were deleted before the changes to qos by @BoolPurist in #42
  • Feat: better output for listing LDAP users by @BoolPurist in #41

Full Changelog: v0.4.8...v0.5.0

v0.4.8

16 Mar 10:35
Compare
Choose a tag to compare

Added

Changed

  • Order of Slurm QOS modification during user creation
  • Pick default QOS from conf.toml when no value is provided and remove default value from CLI

v0.4.7

15 Mar 19:00
Compare
Choose a tag to compare

Fixed

Added

  • New config parameters ldap_bind_prefix and ldap_bind_org_unit to allow more flexibility regarding user binding for establishing LDAP connections
  • Unit tests by @BoolPurist

Changed

  • Improved listing of Slurm users. It now executes sacctmgr show assoc format=User%30,Account,DefaultQOS,QOS%80.
  • Various improvements by @BoolPurist

v0.4.5

14 Nov 08:38
Compare
Choose a tag to compare

Changed

  • Adjust directory creation on NFS from /nfs/scratch to /nfs/scratch/<students|staff>

v0.4.1

01 Nov 12:12
Compare
Choose a tag to compare

Added

  • Slurm remote execution via SSH
  • Options for listing users in Slurm and/or LDAP

Changed

  • Fix for broken --slurm-only and --ldap-only flags during user creation
  • Config file location now depends on the target OS, as well as debug assertions

v0.3.10

31 Oct 15:03
Compare
Choose a tag to compare

Removed

  • Broken aarch64-unknown-linux-gnu target (missing openssl lib)