20 lines
461 B
Diff
20 lines
461 B
Diff
--- authrhosts.c.orig 2016-10-10 13:51:34.924228986 +0200
|
|
+++ authrhosts.c 2016-10-10 13:51:37.359228942 +0200
|
|
@@ -24,11 +24,16 @@
|
|
{
|
|
USED(tx);
|
|
|
|
+#ifdef __GLIBC__
|
|
if(ruserok(remotehostname, 0, rx->uname, rx->uname) < 0){
|
|
fprint(2, "ruserok(%s, %s) not okay\n", remotehostname, rx->uname);
|
|
return "u9fs: rhosts authentication failed";
|
|
}
|
|
return 0;
|
|
+#else
|
|
+ USED(rx);
|
|
+ return "u9fs: rhosts authentication failed";
|
|
+#endif
|
|
}
|
|
|
|
Auth authrhosts = {
|