[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-2640-g0a012c1
Günther Deschner
gd at samba.org
Thu Feb 28 22:17:33 GMT 2008
The branch, v3-2-test has been updated
via 0a012c12d643e627ea1bad2a2ad6214f78918fa7 (commit)
via b736c77dc6c36dcdb601903fadf0ef7f163052a3 (commit)
from 1b8ed6c0ffb2548442bb7e9d848117ce9b1c65c0 (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 0a012c12d643e627ea1bad2a2ad6214f78918fa7
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 28 12:48:08 2008 +0100
Remove DomainControllerAddressType which we now have in IDL.
Guenther
commit b736c77dc6c36dcdb601903fadf0ef7f163052a3
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 28 23:15:11 2008 +0100
Fix memleak in netsamlogon_cache_get().
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/include/ads.h | 5 -----
source/libsmb/samlogon_cache.c | 1 +
2 files changed, 1 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/include/ads.h b/source/include/ads.h
index d1047bb..d5ce88b 100644
--- a/source/include/ads.h
+++ b/source/include/ads.h
@@ -319,11 +319,6 @@ typedef void **ADS_MODLIST;
#define ADS_DNS_DOMAIN 0x40000000 /* DomainName is a DNS name */
#define ADS_DNS_FOREST 0x80000000 /* DnsForestName is a DNS name */
-/* DomainControllerAddressType */
-#define ADS_INET_ADDRESS 0x00000001
-#define ADS_NETBIOS_ADDRESS 0x00000002
-
-
/* ads auth control flags */
#define ADS_AUTH_DISABLE_KERBEROS 0x01
#define ADS_AUTH_NO_BIND 0x02
diff --git a/source/libsmb/samlogon_cache.c b/source/libsmb/samlogon_cache.c
index 0d855f4..73b570c 100644
--- a/source/libsmb/samlogon_cache.c
+++ b/source/libsmb/samlogon_cache.c
@@ -226,6 +226,7 @@ struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const DOM_SID *
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
DEBUG(0,("netsamlogon_cache_get: failed to pull entry from cache\n"));
tdb_delete(netsamlogon_tdb, data);
+ TALLOC_FREE(info3);
goto done;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list