summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-02 22:55:00 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-03 09:01:39 +0200
commit71cec7b37a221c42aeabe3b9c72878dd0714a60b (patch)
tree4c542984288d05bd5de7055e930c780abc258f4a /source3/winbindd
parentb7d5cd90d5eed90023b0266db386515ece911652 (diff)
downloadsamba-71cec7b37a221c42aeabe3b9c72878dd0714a60b.tar.gz
samba-71cec7b37a221c42aeabe3b9c72878dd0714a60b.tar.bz2
samba-71cec7b37a221c42aeabe3b9c72878dd0714a60b.zip
s3:winbindd_cm: make use of cli_set_timeout()
metze
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 3dd129fb85..26cd8bc0c2 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -813,7 +813,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
goto done;
}
- (*cli)->timeout = 10000; /* 10 seconds */
+ cli_set_timeout(*cli, 10000); /* 10 seconds */
(*cli)->use_kerberos = True;