diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-06-02 15:40:28 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-06-06 12:26:10 +1000 |
commit | 40dc94a53f4f0f5dee285daf486912b0996d5f3e (patch) | |
tree | 82b5677468d3f7ebfae7783132e1a2776cafc3f2 /source4/cldap_server | |
parent | 44d47e85157209f5aec1a6e0cd507c1084716816 (diff) | |
download | samba-40dc94a53f4f0f5dee285daf486912b0996d5f3e.tar.gz samba-40dc94a53f4f0f5dee285daf486912b0996d5f3e.tar.bz2 samba-40dc94a53f4f0f5dee285daf486912b0996d5f3e.zip |
s4-ipv6: update callers to load_interface_list()
Diffstat (limited to 'source4/cldap_server')
-rw-r--r-- | source4/cldap_server/cldap_server.c | 2 | ||||
-rw-r--r-- | source4/cldap_server/netlogon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c index d5aa9f410f..9370c59df2 100644 --- a/source4/cldap_server/cldap_server.c +++ b/source4/cldap_server/cldap_server.c @@ -189,7 +189,7 @@ static void cldapd_task_init(struct task_server *task) NTSTATUS status; struct interface *ifaces; - load_interface_list(task, lpcfg_interfaces(task->lp_ctx), &ifaces); + load_interface_list(task, task->lp_ctx, &ifaces); if (iface_list_count(ifaces) == 0) { task_server_terminate(task, "cldapd: no network interfaces configured", false); diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index 3f3da8bb41..e950d70ffc 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/cldap_server/netlogon.c @@ -291,7 +291,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx, client_site = samdb_client_site_name(sam_ctx, mem_ctx, src_address, NULL); NT_STATUS_HAVE_NO_MEMORY(client_site); - load_interface_list(mem_ctx, lpcfg_interfaces(lp_ctx), &ifaces); + load_interface_list(mem_ctx, lp_ctx, &ifaces); /* * TODO: the caller should pass the address which the client * used to trigger this call, as the client is able to reach |