git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3460ad8
)
lib: Fix an uninitialized variable
author
Volker Lendecke
<vl@samba.org>
Tue, 18 Oct 2016 06:26:07 +0000
(08:26 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 18 Oct 2016 23:26:14 +0000
(
01:26
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 9e2ed98805f46896c4b26656e23413ea2b5bddce..b01201e180e6101f2f6c966e51c7d6a825944521 100644
(file)
--- a/
source3/libads/ldap.c
+++ b/
source3/libads/ldap.c
@@
-2947,6
+2947,7
@@
ADS_STATUS ads_current_time(ADS_STRUCT *ads)
if ( (ads_s = ads_init( ads->server.realm, ads->server.workgroup,
ads->server.ldap_server )) == NULL )
{
+ status = ADS_ERROR(LDAP_NO_MEMORY);
goto done;
}
ads_s->auth.flags = ADS_AUTH_ANON_BIND;