summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-21 16:18:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-21 16:18:23 +0100
commit5f9abf527a2f7d58d0b5546cb237f82928b53e49 (patch)
tree105bf2071792c8a9dc752198e19e6595e1566d69 /source4/nbt_server
parent0ab3df9c58c6c3abaab3d4fae170cf7a979236d4 (diff)
downloadsamba-5f9abf527a2f7d58d0b5546cb237f82928b53e49.tar.gz
samba-5f9abf527a2f7d58d0b5546cb237f82928b53e49.tar.bz2
samba-5f9abf527a2f7d58d0b5546cb237f82928b53e49.zip
Remove more global_loadparm uses.
(This used to be commit 4d6fd9381f7fe4c823b47ebc43d7b272a92edffd)
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/dgram/request.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/nbt_server/dgram/request.c b/source4/nbt_server/dgram/request.c
index 45426c31ba..205a544209 100644
--- a/source4/nbt_server/dgram/request.c
+++ b/source4/nbt_server/dgram/request.c
@@ -73,7 +73,9 @@ NTSTATUS nbtd_dgram_setup(struct nbtd_interface *iface, const char *bind_address
if (strcmp("0.0.0.0", iface->netmask) != 0) {
/* listen for broadcasts on port 138 */
- bcast_dgmsock = nbt_dgram_socket_init(iface, nbtsrv->task->event_ctx);
+ bcast_dgmsock = nbt_dgram_socket_init(iface,
+ nbtsrv->task->event_ctx,
+ lp_iconv_convenience(nbtsrv->task->lp_ctx));
if (!bcast_dgmsock) {
talloc_free(tmp_ctx);
return NT_STATUS_NO_MEMORY;
@@ -100,7 +102,8 @@ NTSTATUS nbtd_dgram_setup(struct nbtd_interface *iface, const char *bind_address
}
/* listen for unicasts on port 138 */
- iface->dgmsock = nbt_dgram_socket_init(iface, nbtsrv->task->event_ctx);
+ iface->dgmsock = nbt_dgram_socket_init(iface, nbtsrv->task->event_ctx,
+ lp_iconv_convenience(nbtsrv->task->lp_ctx));
if (!iface->dgmsock) {
talloc_free(tmp_ctx);
return NT_STATUS_NO_MEMORY;