summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-06-24 12:29:05 +0200
committerMichael Adam <obnox@samba.org>2008-06-26 12:31:10 +0200
commit7f8df9c217d9b5771a03067636e822ad4ffc030e (patch)
treea67911085f4dcc1fa03fb47ea24415c9a3c4fc13
parent59634c91ec08c1f1f0f3d1c5af985b7b381cb1ac (diff)
downloadsamba-7f8df9c217d9b5771a03067636e822ad4ffc030e.tar.gz
samba-7f8df9c217d9b5771a03067636e822ad4ffc030e.tar.bz2
samba-7f8df9c217d9b5771a03067636e822ad4ffc030e.zip
winbindd: don't panic if messaging_init() fails - return NULL instead.
Leave appropriate handling to the callers. Michael (This used to be commit 3e0c24323af5f10fa68ae8aad552b7346536c908)
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index c017916f09..a6c3dd8651 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -49,7 +49,7 @@ struct messaging_context *winbind_messaging_context(void)
if (!ctx && !(ctx = messaging_init(NULL, server_id_self(),
winbind_event_context()))) {
- smb_panic("Could not init winbind messaging context");
+ DEBUG(0, ("Could not init winbind messaging context.\n"));
}
return ctx;
}