summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/serverinfo.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-12 15:25:06 +0200
committerGünther Deschner <gd@samba.org>2008-08-14 12:22:02 +0200
commit87b9c9ade21a68d4428ff4aadd32f02f86e78a40 (patch)
tree54daeef1faa31c9f6ac5fc6743c5747ae72d4a44 /source3/lib/netapi/serverinfo.c
parenta810cc865d40aff7dbe123ac5217d8b4b38c95e5 (diff)
downloadsamba-87b9c9ade21a68d4428ff4aadd32f02f86e78a40.tar.gz
samba-87b9c9ade21a68d4428ff4aadd32f02f86e78a40.tar.bz2
samba-87b9c9ade21a68d4428ff4aadd32f02f86e78a40.zip
netapi: make non-implemented local calls default to remote "localhost" calls.
Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
Diffstat (limited to 'source3/lib/netapi/serverinfo.c')
-rw-r--r--source3/lib/netapi/serverinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index 622b8d425d..bd063332bf 100644
--- a/source3/lib/netapi/serverinfo.c
+++ b/source3/lib/netapi/serverinfo.c
@@ -252,6 +252,6 @@ WERROR NetRemoteTOD_r(struct libnetapi_ctx *ctx,
WERROR NetRemoteTOD_l(struct libnetapi_ctx *ctx,
struct NetRemoteTOD *r)
{
- return NetRemoteTOD_r(ctx, r);
+ LIBNETAPI_REDIRECT_TO_LOCALHOST(ctx, r, NetRemoteTOD);
}