git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224f9b8
)
cifs.upcall was not recognizing the newer name "dns_resolver" key type
author
Steve French
<stevef@smf-t60p.smfdom>
Thu, 24 Jul 2008 14:32:53 +0000
(09:32 -0500)
committer
Steve French
<stevef@smf-t60p.smfdom>
Thu, 24 Jul 2008 14:32:53 +0000
(09:32 -0500)
(as a synonym for the older "cifs.resolver" name) when resolving host
names to ip addresses for the kernel.
Acked-by: Jeff Layton
(This used to be commit
22c36b27c60193102b3153e073216865adb1b6c1
)
source3/client/cifs.upcall.c
patch
|
blob
|
history
diff --git
a/source3/client/cifs.upcall.c
b/source3/client/cifs.upcall.c
index e3893260ddc705fce508ebc828510524e91d7347..70dae1a412322bf5543b0976dba96051b955fdb0 100644
(file)
--- 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;
}