summaryrefslogtreecommitdiff
path: root/source3/client/cifs.upcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/cifs.upcall.c')
-rw-r--r--source3/client/cifs.upcall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/cifs.upcall.c b/source3/client/cifs.upcall.c
index e3893260dd..70dae1a412 100644
--- a/source3/client/cifs.upcall.c
+++ b/source3/client/cifs.upcall.c
@@ -262,7 +262,8 @@ int main(const int argc, char *const argv[])
goto out;
}
- if (strncmp(buf, "cifs.resolver", sizeof("cifs.resolver")-1) == 0) {
+ if ((strncmp(buf, "cifs.resolver", sizeof("cifs.resolver")-1) == 0) ||
+ (strncmp(buf, "dns_resolver", sizeof("dns_resolver")-1) == 0)) {
rc = cifs_resolver(key, buf);
goto out;
}