summaryrefslogtreecommitdiff
path: root/source4/auth/auth_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_server.c')
-rw-r--r--source4/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_server.c b/source4/auth/auth_server.c
index 900ca8d05e..1e25702671 100644
--- a/source4/auth/auth_server.c
+++ b/source4/auth/auth_server.c
@@ -45,7 +45,7 @@ static struct smbcli_state *server_cryptkey(TALLOC_CTX *mem_ctx, bool unicode, i
while(next_token( &p, desthost, LIST_SEP, sizeof(desthost))) {
strupper(desthost);
- if(!resolve_name( desthost, &dest_ip, 0x20)) {
+ if(!resolve_name( desthost, &dest_ip, 0x20, lp_name_resolve_order(global_loadparm))) {
DEBUG(1,("server_cryptkey: Can't resolve address for %s\n",desthost));
continue;
}