diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-15 10:50:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:05 -0500 |
commit | fb99bbe67597555109ebd65613a5aab395b43499 (patch) | |
tree | 72bca4d31eb9dcc7f91d66f424a6e114e9d05ed2 /source3/nsswitch/winbindd.c | |
parent | 2753d30cbea6cc6689cda17182caff20d65c6f6c (diff) | |
download | samba-fb99bbe67597555109ebd65613a5aab395b43499.tar.gz samba-fb99bbe67597555109ebd65613a5aab395b43499.tar.bz2 samba-fb99bbe67597555109ebd65613a5aab395b43499.zip |
r22895: Convert some more calls from message_send_buf to messaging_send_buf
(This used to be commit c8b98273406242a89a7e5d1fb5d79120ebe5822a)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r-- | source3/nsswitch/winbindd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 57591fb6c2..ae1078fe02 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -44,6 +44,17 @@ struct event_context *winbind_event_context(void) return ctx; } +struct messaging_context *winbind_messaging_context(void) +{ + static struct messaging_context *ctx; + + if (!ctx && !(ctx = messaging_init(NULL, server_id_self(), + winbind_event_context()))) { + smb_panic("Could not init winbind messaging context\n"); + } + return ctx; +} + /* Reload configuration */ static BOOL reload_services_file(void) |