diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-01 10:52:02 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-08 18:10:16 +0100 |
commit | 4a5d10cd8e90f4a23963a6679d67599b06260e36 (patch) | |
tree | 14ce958574390a399c3cfe5be84b554365e83a89 /source4/cldap_server/rootdse.c | |
parent | c930fad1c05d98563572386fe350f2cec7b3557f (diff) | |
download | samba-4a5d10cd8e90f4a23963a6679d67599b06260e36.tar.gz samba-4a5d10cd8e90f4a23963a6679d67599b06260e36.tar.bz2 samba-4a5d10cd8e90f4a23963a6679d67599b06260e36.zip |
s4:cldap_server: Do not handle netlogon ourself anymore
Netlogon is now handled by the ldb rootdse module.
The netlogon files will be moved to dsdb in the next commit.
Diffstat (limited to 'source4/cldap_server/rootdse.c')
-rw-r--r-- | source4/cldap_server/rootdse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/cldap_server/rootdse.c b/source4/cldap_server/rootdse.c index b8956169d2..3f389ce822 100644 --- a/source4/cldap_server/rootdse.c +++ b/source4/cldap_server/rootdse.c @@ -158,6 +158,11 @@ void cldapd_rootdse_request(struct cldap_socket *cldap, reply.response = NULL; reply.result = &result; + /* Note: The remoteAddress should rather be set on a ldb request. + * We can set this savely on the context here, + * since cldapd_rootdse_fill operates synchronously. */ + ldb_set_opaque(cldapd->samctx, "remoteAddress", src); + cldapd_rootdse_fill(cldapd, tmp_ctx, search, &reply.response, reply.result); |