summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-28 10:10:12 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-21 10:44:42 +0100
commit3b73cdb41201dd545e019e8e8313f6b8c51c7226 (patch)
treeb7b77365aa2f7900bdda19c50b9467d0abfad15b /source3/nmbd/nmbd.c
parent431fc718c13d259748ac20019997241981639c95 (diff)
downloadsamba-3b73cdb41201dd545e019e8e8313f6b8c51c7226.tar.gz
samba-3b73cdb41201dd545e019e8e8313f6b8c51c7226.tar.bz2
samba-3b73cdb41201dd545e019e8e8313f6b8c51c7226.zip
s3:nmbd: implement a MAILSLOT => CLDAP proxy for NETLOGON_SAMLOGON requests
This will be used as part a the franky setup, where nmbd will forward the MAILSLOT requests to the local samba4 CLDAP server. "nmbd_proxy_logon:cldap_server = 127.0.0.1" would configure and activate this feature. metze
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 3279466602..daf4c295a6 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -988,6 +988,12 @@ static bool open_sockets(bool isdaemon, int port)
exit(1);
}
+ if (!initialize_nmbd_proxy_logon()) {
+ DEBUG(0,("ERROR: Failed setup nmbd_proxy_logon.\n"));
+ kill_async_dns_child();
+ exit(1);
+ }
+
TALLOC_FREE(frame);
process();