summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-25 16:27:04 -0700
committerVolker Lendecke <vl@samba.org>2010-09-26 03:29:29 +0200
commit77e96d3229ea95d220a663aa99c7d376f3619d41 (patch)
tree5d53a49948bf7a67505557a13294ffd310616bd7
parent2b601d72d55bb6cbdd1e47b002782159e0e589bf (diff)
downloadsamba-77e96d3229ea95d220a663aa99c7d376f3619d41.tar.gz
samba-77e96d3229ea95d220a663aa99c7d376f3619d41.tar.bz2
samba-77e96d3229ea95d220a663aa99c7d376f3619d41.zip
s3: Remove talloc_autofree_context() from net_sam_provision()
-rw-r--r--source3/utils/net_sam.c2
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"