[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] share/debian-edu-config/tools/gosa-remove: Fix kadmin.local, Use '-force' to...

Daniel Teichmann (@dzatoah) gitlab at salsa.debian.org
Tue Jul 25 17:07:56 BST 2023



Daniel Teichmann pushed to branch master at Debian Edu / debian-edu-config


Commits:
df38e13d by Daniel Teichmann at 2023-07-25T18:06:37+02:00
share/debian-edu-config/tools/gosa-remove: Fix kadmin.local, Use '-force' to disable interaction via stdin.

- - - - -


1 changed file:

- share/debian-edu-config/tools/gosa-remove


Changes:

=====================================
share/debian-edu-config/tools/gosa-remove
=====================================
@@ -52,7 +52,7 @@ mv $HOMEDIR $RM_HOMEDIR
 chown root:root $RM_HOMEDIR
 chmod go-rwx $RM_HOMEDIR
 
-kadmin.local -q "delete_principal $USERID"
+kadmin.local -q "delete_principal -force $USERID"
 pdbedit -x -u $USERID > /dev/null
 logger -t gosa-remove -p notice Home directory \'$HOMEDIR\' marked for deletion, samba account and principal \'$USERID\' removed.
 



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/df38e13dbca06dc779b81b61a58ecdfed2ed74f7

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/df38e13dbca06dc779b81b61a58ecdfed2ed74f7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20230725/894da521/attachment.htm>


More information about the debian-edu-commits mailing list