Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 heimdal (7.7.1+dfsg-1) oldstable-heimdal-dev; urgency=medium
 .
   * Backport to stretch.
Author: Adam Henry Lewenberg <adamhl@stanford.edu>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2019-12-18

--- heimdal-7.7.1+dfsg.orig/kadmin/random_password.c
+++ heimdal-7.7.1+dfsg/kadmin/random_password.c
@@ -64,9 +64,9 @@ random_password(char *pw, size_t len)
 #else
     char *pass;
     generate_password(&pass, 3,
-		      "abcdefghijklmnopqrstuvwxyz", 7,
-		      "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 2,
-		      "@$%&*()-+=:,/<>1234567890", 1);
+		      "abcdefghijklmnopqrstuvwxyz", 10,
+		      "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 4,
+		      "@$%&*()-+=:,/<>1234567890", 2);
     strlcpy(pw, pass, len);
     len = strlen(pass);
     memset_s(pass, len, 0, len);
