diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-27 21:53:15 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-27 21:53:15 +0100 |
commit | 35110a62d78836376d851242cb6b0aeba8daf735 (patch) | |
tree | 851146973dcb1286b8d6943ad9af99a48c26c134 /source4/ldap_server | |
parent | fdd92e8914ac0496a034dded52c8777d69aad856 (diff) | |
download | samba-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.c | 3 |
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; } |