summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/util_unixsids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/util_unixsids.c b/source3/passdb/util_unixsids.c
index 1bd07c7a2f..24d2c45449 100644
--- a/source3/passdb/util_unixsids.c
+++ b/source3/passdb/util_unixsids.c
@@ -64,7 +64,7 @@ bool lookup_unix_user_name(const char *name, struct dom_sid *sid)
struct passwd *pwd;
bool ret;
- pwd = getpwnam_alloc(talloc_autofree_context(), name);
+ pwd = getpwnam_alloc(talloc_tos(), name);
if (pwd == NULL) {
return False;
}