summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-27 21:53:15 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-11-01 12:24:01 +0100
commited69aa2a25133a42b0449766cf714051514661af (patch)
tree4ed80a3434d80bd3f99ea9b84d619645b1041f51 /source4/ldap_server
parentf0a28534de216feaaa8c6e0ab27e88f0eebc019b (diff)
downloadsamba-ed69aa2a25133a42b0449766cf714051514661af.tar.gz
samba-ed69aa2a25133a42b0449766cf714051514661af.tar.bz2
samba-ed69aa2a25133a42b0449766cf714051514661af.zip
s4:rootdse/netlogon: Pass client ip address
This patch may be squashed into "s4:dsdb/rootdse: Support netlogon request".
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index 2760cdb470..3432594209 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -226,6 +226,9 @@ NTSTATUS ldapsrv_backend_Init(struct ldapsrv_connection *conn)
ldb_set_opaque(conn->ldb, "supportedSASLMechanisms", sasl_mechs);
}
+ ldb_set_opaque(conn->ldb, "remoteAddress",
+ conn->connection->remote_address);
+
return NT_STATUS_OK;
}