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-10-27 21:53:15 +0100
commit35110a62d78836376d851242cb6b0aeba8daf735 (patch)
tree851146973dcb1286b8d6943ad9af99a48c26c134 /source4/ldap_server
parentfdd92e8914ac0496a034dded52c8777d69aad856 (diff)
downloadsamba-35110a62d78836376d851242cb6b0aeba8daf735.tar.gz
samba-35110a62d78836376d851242cb6b0aeba8daf735.tar.bz2
samba-35110a62d78836376d851242cb6b0aeba8daf735.zip
rootdse/netlogon: Pass client ip address
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;
}