summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-07 18:55:45 +0200
committerGünther Deschner <gd@samba.org>2008-05-09 14:59:18 +0200
commit926cc828973c1f0dc6b72b23552dc1b7028a3c97 (patch)
treea9cc070e345809690460c1577d51146517a3d5a5 /source3/libsmb
parent9d99ef899c8e41a751ef52dd0db875df50a36d12 (diff)
downloadsamba-926cc828973c1f0dc6b72b23552dc1b7028a3c97.tar.gz
samba-926cc828973c1f0dc6b72b23552dc1b7028a3c97.tar.bz2
samba-926cc828973c1f0dc6b72b23552dc1b7028a3c97.zip
dsgetdcname: wait a little longer for mailslot replies.
Guenther (This used to be commit bc0d7a90dcc7bf702b24feb16abf4634ff178671)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/dsgetdcname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index a278c4ef50..b64f340456 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -963,7 +963,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
NULL, nt_version))
{
int k;
- smb_msleep(100);
+ smb_msleep(300);
for (k=0; k<5; k++) {
if (receive_getdc_response(mem_ctx,
&dclist[i].ss,
@@ -976,7 +976,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
NT_STATUS_HAVE_NO_MEMORY(dc_domain_name);
goto make_reply;
}
- smb_msleep(500);
+ smb_msleep(1500);
}
}