2 * Routines for SMB \PIPE\lsarpc packet disassembly
3 * Copyright 2001, Tim Potter <tpot@samba.org>
5 * $Id: packet-dcerpc-lsa.h,v 1.3 2001/12/16 20:08:22 guy Exp $
7 * Ethereal - Network traffic analyzer
8 * By Gerald Combs <gerald@ethereal.com>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #ifndef __PACKET_DCERPC_LSA_H
27 #define __PACKET_DCERPC_LSA_H
29 /* Functions available on the LSA pipe. From Samba, include/rpc_lsa.h */
31 #define LSA_CLOSE 0x00
32 #define LSA_DELETE 0x01
33 #define LSA_ENUM_PRIVS 0x02
34 #define LSA_QUERYSECOBJ 0x03
35 #define LSA_SETSECOBJ 0x04
36 #define LSA_CHANGEPASSWORD 0x05
37 #define LSA_OPENPOLICY 0x06
38 #define LSA_QUERYINFOPOLICY 0x07
39 #define LSA_SETINFOPOLICY 0x08
40 #define LSA_CLEARAUDITLOG 0x09
41 #define LSA_CREATEACCOUNT 0x0a
42 #define LSA_ENUM_ACCOUNTS 0x0b
43 #define LSA_CREATETRUSTDOM 0x0c
44 #define LSA_ENUMTRUSTDOM 0x0d
45 #define LSA_LOOKUPNAMES 0x0e
46 #define LSA_LOOKUPSIDS 0x0f
47 #define LSA_CREATESECRET 0x10
48 #define LSA_OPENACCOUNT 0x11
49 #define LSA_ENUMPRIVSACCOUNT 0x12
50 #define LSA_ADDPRIVS 0x13
51 #define LSA_REMOVEPRIVS 0x14
52 #define LSA_GETQUOTAS 0x15
53 #define LSA_SETQUOTAS 0x16
54 #define LSA_GETSYSTEMACCOUNT 0x17
55 #define LSA_SETSYSTEMACCOUNT 0x18
56 #define LSA_OPENTRUSTDOM 0x19
57 #define LSA_QUERYTRUSTDOM 0x1a
58 #define LSA_SETINFOTRUSTDOM 0x1b
59 #define LSA_OPENSECRET 0x1c
60 #define LSA_SETSECRET 0x1d
61 #define LSA_QUERYSECRET 0x1e
62 #define LSA_LOOKUPPRIVVALUE 0x1f
63 #define LSA_LOOKUPPRIVNAME 0x20
64 #define LSA_PRIV_GET_DISPNAME 0x21
65 #define LSA_DELETEOBJECT 0x22
66 #define LSA_ENUMACCTWITHRIGHT 0x23
67 #define LSA_ENUMACCTRIGHTS 0x24
68 #define LSA_ADDACCTRIGHTS 0x25
69 #define LSA_REMOVEACCTRIGHTS 0x26
70 #define LSA_QUERYTRUSTDOMINFO 0x27
71 #define LSA_SETTRUSTDOMINFO 0x28
72 #define LSA_DELETETRUSTDOM 0x29
73 #define LSA_STOREPRIVDATA 0x2a
74 #define LSA_RETRPRIVDATA 0x2b
75 #define LSA_OPENPOLICY2 0x2c
76 #define LSA_UNK_GET_CONNUSER 0x2d
78 #endif /* packet-dcerpc-lsa.h */