source: branches/samba-3.2.x/source/lib/afs_settoken.c@ 198

Last change on this file since 198 was 133, checked in by Paul Smedley, 18 years ago

Update trunk to 3.2.0pre3

File size: 4.9 KB
Line 
1/*
2 * Unix SMB/CIFS implementation.
3 * Generate AFS tickets
4 * Copyright (C) Volker Lendecke 2004
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "includes.h"
21
22#ifdef WITH_FAKE_KASERVER
23
24#define NO_ASN1_TYPEDEFS 1
25
26#include <afs/stds.h>
27#include <afs/afs.h>
28#include <afs/auth.h>
29#include <afs/venus.h>
30#include <asm/unistd.h>
31#include <openssl/des.h>
32#include <sys/syscall.h>
33
34int afs_syscall( int subcall,
35 char * path,
36 int cmd,
37 char * cmarg,
38 int follow)
39{
40 return( syscall( SYS_afs_syscall, subcall, path, cmd, cmarg, follow));
41}
42
43struct ClearToken {
44 uint32 AuthHandle;