1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3
Andreas Schneider 77a4ff5435 s3:utils: Remove overwrite of opt_workgroup in rpc_trustdom_establish()
This is not used anywhere in that functions or the functions we are
calling. It was replaced by command line cli credentials stored in
c->creds. This fixes a memory leak.

Direct leak of 12 byte(s) in 1 object(s) allocated from:
    #0 0x7f17fdaf5830 in strdup ../../../../libsanitizer/asan/asan_interceptors.cpp:578
    #1 0x7f17fc7e7339 in smb_xstrdup ../../lib/util/util.c:752
    #2 0x55f079bf0723 in rpc_trustdom_establish ../../source3/utils/net_rpc.c:6591
    #3 0x55f079c529af in net_run_function ../../source3/utils/net_util.c:464
    #4 0x55f079bdbecf in rpc_trustdom ../../source3/utils/net_rpc.c:7483
    #5 0x55f079c529af in net_run_function ../../source3/utils/net_util.c:464
    #6 0x55f079bfe7de in net_rpc ../../source3/utils/net_rpc.c:8413
    #7 0x55f079c529af in net_run_function ../../source3/utils/net_util.c:464
    #8 0x55f079baa0a8 in main ../../source3/utils/net.c:1436
    #9 0x7f17f8a2a1ef in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-06-06 20:25:36 +00:00
..
auth s3:gse: Implement gensec_gse_security_by_oid() 2024-05-14 10:18:31 +00:00
build
client smbspool: let kerberos_ccache_is_valid() use smb_force_krb5_cc_default_name() 2024-05-14 10:18:32 +00:00
exports
groupdb s3:groupdb: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
include s3:lib: let sessionid_traverse_read() report if the session was authenticated 2024-05-23 12:35:37 +00:00
intl
lib lib: Use cli_credentials_add_gensec_features in a few places 2024-06-04 07:11:35 +00:00
libads s3:libads: Do not fail if we don't get an IP passed down 2024-06-04 19:49:36 +00:00
libgpo/gpext lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
libnet s3:libnet: Convert myalias to lower case 2024-05-22 20:33:36 +00:00
librpc s3:librpc: Use lp_dns_hostname() for creating the fqdn 2024-05-22 20:33:36 +00:00
libsmb s3:libsmb: we no longer need libads/kerberos_proto.h in namequery.c 2024-06-06 20:25:36 +00:00
locale s3:utils: Fix code spelling 2023-08-08 04:39:38 +00:00
locking smbd: Use direct struct initialization 2024-05-22 04:23:29 +00:00
modules vfs_ceph: Implement SMB_VFS_FSET_DOS_ATTRIBUTES for precise btime 2024-06-03 11:10:11 +00:00
nmbd s3:libsmb: Pass memory context to cli_connect_nb() 2024-04-29 08:43:32 +00:00
param docs-xml: Add smb.conf option 'dns hostname' 2024-05-22 20:33:36 +00:00
passdb passdb: Use getline(3) to read our old machine sid 2024-04-30 22:44:32 +00:00
printing s3:include: remove unused krb5_env.h 2024-05-14 10:18:31 +00:00
profile profile: Fix rusage reporting 2023-12-19 16:05:36 +00:00
registry libcli/security: Rename dup_nt_token() -> security_token_duplicate() 2023-09-26 23:45:36 +00:00
rpc_client s3:rpc_client: implement bind time feature negotiation 2024-04-23 17:29:55 +00:00
rpc_server s3:rpc_server: Check query level according to MS-NRPC 2024-06-04 09:39:42 +00:00
rpcclient s3:libsmb: Pass memory context to cli_full_connection_creds() 2024-04-29 08:43:32 +00:00
script selftest: test listing trusted domains that includes an NT4 domain 2024-01-20 13:20:37 +00:00
selftest s3:selftest/tests.py: run TLDAP tests with sasl-sign,sasl-seal,ldaps,starttls 2024-04-23 23:50:34 +00:00
services
smbd smbd: list reparse tag in QUERY_DIRECTORY 2024-06-04 17:39:21 +00:00
torture torture: Remove some pointless local variables 2024-06-04 07:11:35 +00:00
utils s3:utils: Remove overwrite of opt_workgroup in rpc_trustdom_establish() 2024-06-06 20:25:36 +00:00
web
winbindd s3:winbind: Fix idmap_ad creating an invalid local krb5.conf 2024-06-04 19:49:36 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3:libads: always require ber_sockbuf_add_io() and LDAP_OPT_SOCKBUF 2024-04-23 23:50:34 +00:00
wscript_build s3:libads: finally remove unused ads_connect[_user_creds]() and related code 2024-05-14 10:18:31 +00:00
wscript_configure_system_ncurses