winbind: Replace winbind_event_context with server_event_context
[metze/samba/wip.git] / source3 / winbindd / winbindd_irpc.c
index fface90cfad3912a64f1c2922601c208a6a33f5d..d0d68c89411041f1ebaa8e1fab445ac37cf0e8f6 100644 (file)
@@ -123,7 +123,7 @@ static NTSTATUS wb_irpc_DsrUpdateReadOnlyServerDnsRecords(struct irpc_message *m
        DEBUG(5, ("wb_irpc_DsrUpdateReadOnlyServerDnsRecords called\n"));
 
        return wb_irpc_forward_rpc_call(msg, msg,
-                                       winbind_event_context(),
+                                       server_event_context(),
                                        req, NDR_WINBIND_DSRUPDATEREADONLYSERVERDNSRECORDS,
                                        "winbind_DsrUpdateReadOnlyServerDnsRecords",
                                        domain, IRPC_CALL_TIMEOUT);
@@ -206,7 +206,7 @@ static NTSTATUS wb_irpc_SamLogon(struct irpc_message *msg,
        DEBUG(5, ("wb_irpc_SamLogon called\n"));
 
        return wb_irpc_forward_rpc_call(msg, msg,
-                                       winbind_event_context(),
+                                       server_event_context(),
                                        req, NDR_WINBIND_SAMLOGON,
                                        "winbind_SamLogon",
                                        domain, IRPC_CALL_TIMEOUT);
@@ -266,7 +266,7 @@ static NTSTATUS wb_irpc_LogonControl(struct irpc_message *msg,
 
        TALLOC_FREE(frame);
        return wb_irpc_forward_rpc_call(msg, msg,
-                                       winbind_event_context(),
+                                       server_event_context(),
                                        req, NDR_WINBIND_LOGONCONTROL,
                                        "winbind_LogonControl",
                                        domain, 45 /* timeout */);
@@ -306,7 +306,7 @@ static NTSTATUS wb_irpc_GetForestTrustInformation(struct irpc_message *msg,
        DEBUG(5, ("wb_irpc_GetForestTrustInformation called\n"));
 
        return wb_irpc_forward_rpc_call(msg, msg,
-                                       winbind_event_context(),
+                                       server_event_context(),
                                        req, NDR_WINBIND_GETFORESTTRUSTINFORMATION,
                                        "winbind_GetForestTrustInformation",
                                        domain, 45 /* timeout */);
@@ -324,7 +324,7 @@ static NTSTATUS wb_irpc_SendToSam(struct irpc_message *msg,
        DEBUG(5, ("wb_irpc_SendToSam called\n"));
 
        return wb_irpc_forward_rpc_call(msg, msg,
-                                       winbind_event_context(),
+                                       server_event_context(),
                                        req, NDR_WINBIND_SENDTOSAM,
                                        "winbind_SendToSam",
                                        domain, IRPC_CALL_TIMEOUT);