commit:     1fa74e657fa959c61f2a69b321d44e7537181406
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  4 18:36:51 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Apr  4 18:36:51 2025 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=1fa74e65

Fix debug option for krb5

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 pambase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pambase.py b/pambase.py
index c3afb30..d92117c 100755
--- a/pambase.py
+++ b/pambase.py
@@ -105,7 +105,7 @@ def process_args(args):
     output["unix_authtok"] = "use_authtok"
 
     if args.krb5:
-        output["krb5_params"] = "{0} ignore_root 
try_first_pass".format("debug").strip()
+        output["krb5_params"] = f"{args.debug} ignore_root try_first_pass"
 
     if args.yescrypt:
         output["unix_extended_encryption"] = "yescrypt shadow"

Reply via email to