00001 /* 00002 Unix SMB/CIFS implementation. 00003 SAM module tester 00004 00005 Copyright (C) Jelmer Vernooij 2002 00006 00007 Most of this code was ripped off of rpcclient. 00008 Copyright (C) Tim Potter 2000-2001 00009 00010 This program is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2 of the License, or 00013 (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software 00022 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00023 */ 00024 00025 struct samtest_state { 00026 SAM_CONTEXT *context; 00027 NT_USER_TOKEN *token; 00028 }; 00029 00030 struct cmd_set { 00031 char *name; 00032 NTSTATUS (*fn)(struct samtest_state *sam, TALLOC_CTX *mem_ctx, int argc, 00033 char **argv); 00034 char *description; 00035 char *usage; 00036 }; 00037 00038