s3:winbindd_cm: make use of cli_set_timeout()
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Aug 2011 20:55:00 +0000 (22:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 3 Aug 2011 07:01:39 +0000 (09:01 +0200)
metze

source3/winbindd/winbindd_cm.c

index 3dd129fb851da4aa7cdc2497818bac89b37afb6f..26cd8bc0c2b24abf149941d3bb1d232832a89766 100644 (file)
@@ -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;