diff options
author | Günther Deschner <gd@samba.org> | 2016-08-17 11:58:02 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-12-16 20:38:32 +0000 |
commit | 39e8489dfc51b2293afa13d58b167819b46918dc (patch) | |
tree | 1969bf1ac7da4d1cec3f3694fc75de750b95c9ad /source3/lib/netapi | |
parent | 89828c64c9a8114bb5f596bc007a7c126e803d80 (diff) | |
download | samba-39e8489dfc51b2293afa13d58b167819b46918dc.tar.gz |
s3-librpc: add ads.idl and convert ads_struct to talloc.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/joindomain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c index ced16031d44..a2c66877b0c 100644 --- a/source3/lib/netapi/joindomain.c +++ b/source3/lib/netapi/joindomain.c @@ -434,7 +434,7 @@ WERROR NetGetJoinableOUs_l(struct libnetapi_ctx *ctx, goto out; } - TALLOC_FREE(ads->auth.user_name); + ADS_TALLOC_CONST_FREE(ads->auth.user_name); if (r->in.account) { ads->auth.user_name = talloc_strdup(ads, r->in.account); if (ads->auth.user_name == NULL) { @@ -454,7 +454,7 @@ WERROR NetGetJoinableOUs_l(struct libnetapi_ctx *ctx, } } - TALLOC_FREE(ads->auth.password); + ADS_TALLOC_CONST_FREE(ads->auth.password); if (r->in.password) { ads->auth.password = talloc_strdup(ads, r->in.password); if (ads->auth.password == NULL) { |