diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index ec1531ac3d..1e9292b690 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -435,8 +435,10 @@ static void set_domain_online(struct winbindd_domain *domain) } /* Ensure we ignore any pending child messages. */ - message_deregister(MSG_WINBIND_TRY_TO_GO_ONLINE); - message_deregister(MSG_WINBIND_FAILED_TO_GO_ONLINE); + messaging_deregister(winbind_messaging_context(), + MSG_WINBIND_TRY_TO_GO_ONLINE, NULL); + messaging_deregister(winbind_messaging_context(), + MSG_WINBIND_FAILED_TO_GO_ONLINE, NULL); domain->online = True; |