mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
netcmd: gmsa: fix typo if trustee is not found
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a6e79982c9
commit
48c0ed76e0
@ -119,7 +119,7 @@ class cmd_service_account_group_msa_membership_add(Command):
|
||||
raise CommandError(e)
|
||||
|
||||
if trustee is None:
|
||||
raise CommandError(f"Trust {principal} not found.")
|
||||
raise CommandError(f"Trustee {principal} not found.")
|
||||
|
||||
try:
|
||||
trustees = gmsa.trustees
|
||||
@ -182,7 +182,7 @@ class cmd_service_account_group_msa_membership_remove(Command):
|
||||
raise CommandError(e)
|
||||
|
||||
if trustee is None:
|
||||
raise CommandError(f"User {principal} not found.")
|
||||
raise CommandError(f"Trustee {principal} not found.")
|
||||
|
||||
try:
|
||||
trustees = gmsa.trustees
|
||||
|
Loading…
Reference in New Issue
Block a user