Package version: 7.4.1 – 7.4.7
Version 7.4 rounds out the CLI with the last missing piece of password management, a new group-management typer, and a broad pass of small correctness fixes across existing typers — several of them silent failures that had gone unnoticed until now.
lmncli passwd <user>: manages a user's first (initial) and current login password — brings parity with the webui/API password management.lmncli lmngroup:ls,create,delete,legacy(list sophomorix-groups not yet migrated toOU=LMNGroups),migrate.
- Fixed a shell injection in
lmncli version(dpkg -lviashell=True). - Fixed several crashes:
student manage(invalidtyper.Colors.RED),IndexErroron malformed DNs in printers/devices listing,KeyErroron an unknown--schoolinsamba drives(),UnboundLocalErrorinquotas lswithout--class/--teachers. - Fixed
reset-internetmatching a schoolclass by substring instead of exact name; fixed--schoolaccepted but never forwarded inlinbo lastsync()/schoolclass sync(); fixedmgmtgroup manage()silently doing nothing when neither--add-membersnor--remove-membersis given. printersnow shows "Not registered" instead of silently dropping a printer with no matching LDAP entry;student manage()now handles each--add-parents/--remove-parentsentry independently instead of aborting the whole list on the first failure.
students reset-internet now uses samba_util.GroupManager instead of the
deprecated LMNMgmtGroup: only students actually missing internet access
are updated, and a failure on one student no longer aborts silently — all
failures are collected and reported at the end, with a non-zero exit code.
lastsyncadapted tolinuxmuster-tools' newlast_sync_all()return shape.- README added for each typer; Samba/smbclient bindings lazy-imported in
check_smbclient/sambato improve load time.
Author: Arnaud Kientz Co-Author: Claude