summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 02:36:28 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:49:02 +0200
commit5fd4fd7c019679728c7f3bb9a565f27b6e504427 (patch)
tree639681b7de8b2f74dc4b6d21e0293ca4a3b2a5ab /source3/lib
parent771b7779b0ee3a5cc256643b1ff8c65eae6ad424 (diff)
downloadsamba-5fd4fd7c019679728c7f3bb9a565f27b6e504427.tar.gz
samba-5fd4fd7c019679728c7f3bb9a565f27b6e504427.tar.bz2
samba-5fd4fd7c019679728c7f3bb9a565f27b6e504427.zip
afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/afs_settoken.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c
index af15fa8b2e..7aff55fd76 100644
--- a/source3/lib/afs_settoken.c
+++ b/source3/lib/afs_settoken.c
@@ -248,6 +248,12 @@ bool afs_settoken_str(const char *token_string)
#else
+int afs_syscall(int subcall, const char *path, int cmd, char *cmarg, int follow)
+{
+ errno = ENOSYS;
+ return -1;
+}
+
bool afs_settoken_str(const char *token_string)
{
return false;