diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-26 08:37:13 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-30 12:47:59 +0100 |
commit | 0bd92281e49b91a9b9a14486adbe6f44affb7a13 (patch) | |
tree | 52d898f315e99320f8e186bf37d9f9e37e28b38f /source3/winbindd | |
parent | 7b934c6af3f80c9d75151906eed929045cec28a2 (diff) | |
download | samba-0bd92281e49b91a9b9a14486adbe6f44affb7a13.tar.gz samba-0bd92281e49b91a9b9a14486adbe6f44affb7a13.tar.bz2 samba-0bd92281e49b91a9b9a14486adbe6f44affb7a13.zip |
Make cli_tcon_andx async
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index ab1218c560..35768fe7f2 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -961,15 +961,10 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, winbindd_set_locator_kdc_envs(domain); - if (!cli_send_tconX(*cli, "IPC$", "IPC", "", 0)) { - - result = cli_nt_error(*cli); + result = cli_tcon_andx(*cli, "IPC$", "IPC", "", 0); + if (!NT_STATUS_IS_OK(result)) { DEBUG(1,("failed tcon_X with %s\n", nt_errstr(result))); - - if (NT_STATUS_IS_OK(result)) - result = NT_STATUS_UNSUCCESSFUL; - goto done; } |