summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_proto.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-29 04:50:17 +0000
committerTim Potter <tpot@samba.org>2001-10-29 04:50:17 +0000
commitb8b04c4d5ee8c3a7f1f55fdd809dcda638a16efe (patch)
tree45343755266b5642699b6b675637b474481887e7 /source3/nsswitch/winbindd_proto.h
parent67dae09cc6b124662aa514df06dd89492382e15f (diff)
downloadsamba-b8b04c4d5ee8c3a7f1f55fdd809dcda638a16efe.tar.gz
samba-b8b04c4d5ee8c3a7f1f55fdd809dcda638a16efe.tar.bz2
samba-b8b04c4d5ee8c3a7f1f55fdd809dcda638a16efe.zip
Don't reference tallocated memory that has already been disposed of. The
cli_samr_query_userinfo function used to do this. (This used to be commit da2c167660ec12360354f96dc672d935f58dd9c0)
Diffstat (limited to 'source3/nsswitch/winbindd_proto.h')
-rw-r--r--source3/nsswitch/winbindd_proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_proto.h b/source3/nsswitch/winbindd_proto.h
index f3ba2063ee..8e80b1da71 100644
--- a/source3/nsswitch/winbindd_proto.h
+++ b/source3/nsswitch/winbindd_proto.h
@@ -123,7 +123,8 @@ BOOL winbindd_lookup_sid_by_name(char *name, DOM_SID *sid,
enum SID_NAME_USE *type);
BOOL winbindd_lookup_name_by_sid(DOM_SID *sid, fstring name,
enum SID_NAME_USE *type);
-BOOL winbindd_lookup_userinfo(struct winbindd_domain *domain, uint32 user_rid,
+BOOL winbindd_lookup_userinfo(struct winbindd_domain *domain,
+ TALLOC_CTX *mem_ctx, uint32 user_rid,
SAM_USERINFO_CTR **user_info);
BOOL winbindd_lookup_usergroups(struct winbindd_domain *domain,
uint32 user_rid, uint32 *num_groups,