s4-kdc: Correct MIT talloc ctx names
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 27 Sep 2022 01:46:23 +0000 (14:46 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 21 Oct 2022 03:57:33 +0000 (03:57 +0000)
The name of the context looks like it should match the name of the
function, but doesn't quite.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/kdc/mit_samba.c

index dacb18c2f59443d7f4203c159b3a570c92816b19..a3d28d71d564ab1be419643a788050873ab89089 100644 (file)
@@ -183,7 +183,7 @@ int mit_samba_generate_random_password(krb5_data *pwd)
 
        tmp_ctx = talloc_named(NULL,
                               0,
-                              "mit_samba_create_principal_password context");
+                              "mit_samba_generate_random_password context");
        if (tmp_ctx == NULL) {
                return ENOMEM;
        }
@@ -485,7 +485,7 @@ int mit_samba_get_pac(struct mit_samba_context *smb_ctx,
 
        tmp_ctx = talloc_named(smb_ctx,
                               0,
-                              "mit_samba_get_pac_data_blobs context");
+                              "mit_samba_get_pac context");
        if (tmp_ctx == NULL) {
                return ENOMEM;
        }