r4627: - simplified the dcerpc auth code using a common function
[samba.git] / source4 / librpc / rpc / dcerpc_schannel.c
index 10852159a89bae8d0b60b9483e261099b188b3d2..0e218c478f1528ecf01ff07f1ed91c237a0a924a 100644 (file)
@@ -448,8 +448,8 @@ NTSTATUS dcerpc_bind_auth_schannel_withkey(struct dcerpc_pipe *p,
        dce_schan_state = p->conn->security_state.generic_state->private_data;
        dce_schan_state->creds = talloc_reference(dce_schan_state, creds);
 
-       status = dcerpc_bind_auth3(p, DCERPC_AUTH_TYPE_SCHANNEL, dcerpc_auth_level(p->conn),
-                                  uuid, version);
+       status = dcerpc_bind_auth(p, DCERPC_AUTH_TYPE_SCHANNEL, dcerpc_auth_level(p->conn),
+                                 uuid, version);
 
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(1, ("Failed to bind to pipe with SCHANNEL: %s\n", nt_errstr(status)));