1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source3/libsmb
Ira Cooper fc7e1113c3 Fix bad bugfix for bug #8910 - resolve_ads() code can return zero addresses and miss valid DC IP addresses
Original code incorrectly used a while() instead of a for() loop.
We need to iterate over the entire array here.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed May 30 23:29:03 CEST 2012 on sn-devel-104
2012-05-30 23:29:02 +02:00
..
ABI libsmbclient: initial ABI signatures 2011-10-18 11:24:55 +11:00
async_smb.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
auth_generic.c s3-auth: Order GENSEC mechs by priority, krb5 before NTLMSSP 2012-04-03 17:47:32 +02:00
cli_np_tstream.c s3:cli_np_tstream: pass a leading backslash for the pipe name for SMB1 2012-05-28 19:51:55 +02:00
cli_np_tstream.h s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing() 2012-04-27 08:31:38 +02:00
cliconnect.c s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx() 2012-05-30 10:24:57 +02:00
clidfs.c s3:libsmb: get rid of cli_ucs2 2012-05-28 16:58:03 +02:00
clidgram.c Fix metze's complaint about the bugfix for bug #8953 - winbind can hang as nbt_getdc() has no timeout. 2012-05-30 11:59:37 -07:00
clidgram.h Fix bug #8953 - winbind can hang as nbt_getdc() has no timeout. 2012-05-22 16:25:14 -07:00
clientgen.c s3:libsmb: get rid of cli_ucs2 2012-05-28 16:58:03 +02:00
clierror.c s3:libsmb: get rid of cli_state_disconnect 2012-05-28 14:49:49 +02:00
clifile.c s3:libsmb: get rid of cli_ucs2 2012-05-28 16:58:03 +02:00
clifsinfo.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
clilist.c s3:libsmb: get rid of cli_ucs2 2012-05-28 16:58:03 +02:00
climessage.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
clioplock.c s3:libsmb: remove unused (un)set_pending functions 2012-05-28 14:49:44 +02:00
cliprint.c s3:libsmb: get rid of cli_state_server_time_zone 2012-05-28 14:49:48 +02:00
cliquota.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
clirap2.c s3:libsmb: get rid of cli_state_remote_name 2012-05-28 14:49:45 +02:00
clirap.c s3:libsmb: get rid of cli_ucs2 2012-05-28 16:58:03 +02:00
clirap.h build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
clireadwrite.c s3:libsmb: get rid of clisigning routines 2012-05-28 14:49:51 +02:00
clisecdesc.c Make sure we claim that a DACL or SACL is present if the SD says so 2012-03-31 09:34:35 +02:00
clispnego.c s3-libsmb: Remove unused spnego_parse_krb5_wrap() 2012-04-03 17:47:32 +02:00
clistr.c s3:libsmb: remove unused clistr_push_fn() 2011-07-07 19:16:28 +02:00
clisymlink.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
clitrans.c s3:libsmb: get rid of cli_state_capabilities 2012-05-28 14:49:46 +02:00
conncache.c s3: Fix Coverity ID 2147, FORWARD_NULL 2011-03-16 22:07:24 +01:00
dsgetdcname.c Move source3/libads/dns.c to lib/addns 2012-05-23 17:51:48 +03:00
errormap_wbc.c s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap. 2011-02-25 01:08:41 +01:00
errormap_wbc.h source3/libsmb/errormap_wbc.h: fix licence/copyright 2011-06-10 15:12:27 +02:00
errormap.c s3-libsmb: Remove dead gssapi code. 2012-02-01 23:29:44 +01:00
libsmb_cache.c s3-libsmb: move protos to libsmb/proto.h 2011-05-06 16:37:18 +02:00
libsmb_compat.c
libsmb_context.c s3:libsmb: get rid of cli_state_encryption_on 2012-05-28 14:49:47 +02:00
libsmb_dir.c s3:libsmb: get rid of cli_state_remote_name 2012-05-28 14:49:45 +02:00
libsmb_file.c s3:libsmb: get rid of cli_state_capabilities 2012-05-28 14:49:46 +02:00
libsmb_misc.c s3-libsmb: move protos to libsmb/proto.h 2011-05-06 16:37:18 +02:00
libsmb_path.c s3-talloc Change TALLOC_ARRAY() to talloc_array() 2011-06-09 12:40:08 +02:00
libsmb_printjob.c s3-libsmb: move protos to libsmb/proto.h 2011-05-06 16:37:18 +02:00
libsmb_server.c s3:libsmb: get rid of cli_negprot 2012-05-28 14:49:49 +02:00
libsmb_setget.c s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient context 2010-11-02 04:36:05 +00:00
libsmb_stat.c s3:libsmb: get rid of cli_state_capabilities 2012-05-28 14:49:46 +02:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
libsmb.h source3/libsmb/libsmb.h: fix licence/copyright 2011-06-10 15:12:29 +02:00
namecache.c s3: Remove a pointless else 2011-01-12 11:12:56 +01:00
namequery_dc.c s3: Make is_zero_addr take a sockaddr_storage 2011-02-27 11:02:53 +01:00
namequery.c Fix bad bugfix for bug #8910 - resolve_ads() code can return zero addresses and miss valid DC IP addresses 2012-05-30 23:29:02 +02:00
nmblib.c s3-param Remove special case for global_scope() 2011-06-09 12:40:09 +02:00
nmblib.h source3/libsmb/nmblib.h: fix licence/copyright 2011-06-10 15:12:31 +02:00
ntlmssp_wrap.c auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_state 2012-03-09 14:31:24 +11:00
ntlmssp.c libsmb: Actually use an introduced variable 2012-04-18 13:39:53 +02:00
passchange.c s3:libsmb: get rid of cli_negprot 2012-05-28 14:49:49 +02:00
proto.h s3:libsmb: get rid of cli_ucs2 2012-05-28 16:58:03 +02:00
reparse_symlink.c s3: Fix symlink_reparse_buffer_parse 2011-07-03 11:31:29 +02:00
samlogon_cache.c s3: Fix some False/NULL hickups 2011-12-20 13:13:17 +01:00
smb2cli_tcon.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
smb2cli.h libcli/smb: move smb2cli_ioctl.c from source3 to the toplevel 2012-05-15 20:17:01 +02:00
smb_share_modes.c s3: Use autogenerated open_files.idl 2011-12-02 22:43:05 +01:00
smbclient.pc.in libsmbclient: add ABI checking and pc file 2011-10-18 11:24:55 +11:00
smberr.c s3:libsmb: remove unused smb_dos_errstr() 2011-07-08 14:09:10 +02:00
smbsharemodes.pc.in build: Provide .pc file for libsmbsharemodes 2012-05-30 04:15:11 +02:00
smbsock_connect.c s3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for port 139 2012-05-30 20:51:51 +02:00
trustdom_cache.c s3: Add some const 2011-11-25 10:21:07 +01:00
trusts_util.c s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/ 2011-11-03 16:55:13 +01:00
unexpected.c s3-lib: If we create a pipe socket, don't start to listen. 2011-08-29 13:21:43 +02:00
wscript build: Remove support for a system libsmbclient 2012-04-23 20:48:02 +10:00