1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/ldap_server
Benjamin Franzke 0620c79d76 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

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
2013-11-11 23:00:54 +01:00
..
devdocs r20407: the oMObjectClass values are not padded to 10 bytes! 2007-10-10 14:30:24 -05:00
ldap_backend.c s4:dsdb/rootdse: Support netlogon request 2013-11-11 23:00:54 +01:00
ldap_bind.c gensec: move event context from gensec_*_init() to gensec_update() 2011-10-18 13:13:33 +11:00
ldap_extended.c libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol 2011-06-20 08:12:03 +02:00
ldap_server.c s4:ldap_server: call irpc_add_name() at startup (bug #9905) 2013-06-13 12:37:04 +02:00
ldap_server.h s4:ldap_server: don't call ldb_req_mark_untrusted() on the privileged ldapi socket 2010-12-13 15:32:04 +01:00
wscript_build Introduce system MIT krb5 build with --with-system-mitkrb5 option. 2012-05-23 17:51:50 +03:00