We can't possilby get 'ok' here, as the if statement above just checked for it.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 00:15:34 +0000 (00:15 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 00:15:34 +0000 (00:15 +0000)
(This used to be commit cf4454969434d3026c57ac11c0528dc4cea9c77a)

source3/nsswitch/winbindd_cm.c

index ac9cd8f332931d329d42ce52b16af3970ac68d47..73c8a6b783491a594989e3d584ee68722a4cdb71 100644 (file)
@@ -183,8 +183,6 @@ static NTSTATUS cm_open_connection(const char *domain, const int pipe_index,
                                                              machine_password, 
                                                              domain))) {
                                        DEBUG(4,("failed kerberos session setup with %s\n", nt_errstr(result)));
-                                       if (NT_STATUS_IS_OK(result)) 
-                                               result = NT_STATUS_UNSUCCESSFUL;
                                }
                        }
                        new_conn->cli->use_kerberos = False;