diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-27 06:55:48 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-05 20:59:33 +0100 |
commit | ed82d127dcc41f5f82b64ac5f76f289921e74d40 (patch) | |
tree | 4ed80a3434d80bd3f99ea9b84d619645b1041f51 /source4/cldap_server | |
parent | fca89804ad00ddcf103a06e4b2ffa2b5a25aa6b5 (diff) | |
download | samba-ed82d127dcc41f5f82b64ac5f76f289921e74d40.tar.gz samba-ed82d127dcc41f5f82b64ac5f76f289921e74d40.tar.bz2 samba-ed82d127dcc41f5f82b64ac5f76f289921e74d40.zip |
s4:dsdb/rootdse: Support netlogon request
This patch adds support for a netlogon ldap style request
over the tcp socket. This is available since win2k3+ [1].
The automatic client join & configuration daemon "realmd" makes
use of this ability.
Realmd can now be used to join a computer to a samba 4 domain.
(See also:
https://lists.samba.org/archive/samba-technical/2013-October/095606.html)
Tested with:
ldapsearch -h samba-srv -x -b '' -s base "(&(NtVer=\06\00\00\00)(AAC=\00\00\00\00))" NetLogon
And compared the result in wireshark with cldap request issued by
examples/misc/cldap.pl.
[1]: http://wiki.wireshark.org/MS-CLDAP?action=recall&rev=8
Diffstat (limited to 'source4/cldap_server')
-rw-r--r-- | source4/cldap_server/cldap_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c index a6248d4493..fbfb947f5e 100644 --- a/source4/cldap_server/cldap_server.c +++ b/source4/cldap_server/cldap_server.c @@ -225,6 +225,8 @@ static void cldapd_task_init(struct task_server *task) return; } + /* FIXME: set ldb opaque remoteAddress here */ + /* start listening on the configured network interfaces */ status = cldapd_startup_interfaces(cldapd, task->lp_ctx, ifaces); if (!NT_STATUS_IS_OK(status)) { |