r4627: - simplified the dcerpc auth code using a common function
[samba.git] / source4 / librpc / rpc / dcerpc_ntlm.c
index 8a83cea144d47784de6496647053a39726fd0840..39b5e1c28cbdeee7ab5fd80259d27239946dff03 100644 (file)
@@ -72,9 +72,9 @@ NTSTATUS dcerpc_bind_auth_ntlm(struct dcerpc_pipe *p,
                return status;
        }
        
                return status;
        }
        
-       status = dcerpc_bind_auth3(p, DCERPC_AUTH_TYPE_NTLMSSP,
-                                  dcerpc_auth_level(p->conn),
-                                  uuid, version);
+       status = dcerpc_bind_auth(p, DCERPC_AUTH_TYPE_NTLMSSP,
+                                 dcerpc_auth_level(p->conn),
+                                 uuid, version);
 
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(2, ("Failed to bind to pipe with NTLMSSP: %s\n", nt_errstr(status)));
 
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(2, ("Failed to bind to pipe with NTLMSSP: %s\n", nt_errstr(status)));