From d81faa730305978c89581da7eb45fe95b41e5ca9 Mon Sep 17 00:00:00 2001 From: Ravi Tripathi <ravi89@uab.edu> Date: Thu, 13 May 2021 13:50:03 -0500 Subject: [PATCH] In Bright 8.2 , parameter to add userid for a user is userid rather then the id that comes into picture with Bright version 9.2 --- prod_rmq_agents/get-next-uid-gid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prod_rmq_agents/get-next-uid-gid.py b/prod_rmq_agents/get-next-uid-gid.py index 5fbd7e4..4968605 100644 --- a/prod_rmq_agents/get-next-uid-gid.py +++ b/prod_rmq_agents/get-next-uid-gid.py @@ -36,7 +36,7 @@ def create_account(msg): # Bright command to create user cmd = "/cm/local/apps/cmd/bin/cmsh -c " - cmd += f'"user; add {username}; set id {uid}; set email {email}; set commonname \\"{fullname}\\"; ' + cmd += f'"user; add {username}; set userid {uid}; set email {email}; set commonname \\"{fullname}\\"; ' cmd += 'commit;"' if not args.dry_run: -- GitLab