diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-27 21:53:15 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-01 12:24:01 +0100 |
commit | ed69aa2a25133a42b0449766cf714051514661af (patch) | |
tree | 4ed80a3434d80bd3f99ea9b84d619645b1041f51 /source4/ldap_server | |
parent | f0a28534de216feaaa8c6e0ab27e88f0eebc019b (diff) | |
download | samba-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.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; } |