Commit eb859d07 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Generate unencrypted cert for nonlocal users so the event system

does not croak for them.
parent 8edf9fee
...@@ -523,14 +523,14 @@ sub AddUser() ...@@ -523,14 +523,14 @@ sub AddUser()
system("$ADDMMUSER $user") system("$ADDMMUSER $user")
if ($MAILMANSUPPORT); if ($MAILMANSUPPORT);
# Generate the SSL cert for the user.
system("$MKUSERCERT $user");
if ($isnonlocal) { if ($isnonlocal) {
$EUID = 0; $EUID = 0;
goto skipstuff; goto skipstuff;
} }
# Generate the SSL cert for the user.
system("$MKUSERCERT $user");
# #
# If the user requested an initial encrypted SSL certificate, create # If the user requested an initial encrypted SSL certificate, create
# that too. Need to delete the initial_passphrase slot though, so that # that too. Need to delete the initial_passphrase slot though, so that
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment