diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c index ff2a8db9fd..da3b9c3d00 100644 --- a/source3/utils/net_sam.c +++ b/source3/utils/net_sam.c @@ -1926,7 +1926,7 @@ doma_done: d_printf(_("Checking Guest's group.\n")); - pwd = getpwnam_alloc(talloc_autofree_context(), lp_guestaccount()); + pwd = getpwnam_alloc(tc, lp_guestaccount()); if (!pwd) { d_fprintf(stderr, _("Failed to find just created Guest account!\n" |