Add support for SNA-over-X.25. Add QLLC dissector. I still need to
[obnox/wireshark/wip.git] / packet-msrpc-samr.h
1 /* packet-msrpc-samr.h
2  * Routines for SMB \\PIPE\\samr packet disassembly
3  * Copyright 2001, Tim Potter <tpot@samba.org>
4  *
5  * $Id: packet-msrpc-samr.h,v 1.1 2001/11/12 08:58:43 guy Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  * 
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.
15  * 
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.
20  * 
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.
24  */
25
26 #ifndef __PACKET_MSRPC_SAMR_H
27 #define __PACKET_MSRPC_SAMR_H
28
29 /* Functions available on the SAMR pipe.  From Samba, include/rpc_samr.h */
30
31 #define SAMR_CONNECT_ANON      0x00
32 #define SAMR_CLOSE_HND         0x01
33 #define SAMR_UNKNOWN_2         0x02
34 #define SAMR_QUERY_SEC_OBJECT  0x03
35 #define SAMR_UNKNOWN_4         0x04
36 #define SAMR_LOOKUP_DOMAIN     0x05
37 #define SAMR_ENUM_DOMAINS      0x06
38 #define SAMR_OPEN_DOMAIN       0x07
39 #define SAMR_QUERY_DOMAIN_INFO 0x08
40 #define SAMR_CREATE_DOM_GROUP  0x0a
41 #define SAMR_ENUM_DOM_GROUPS   0x0b
42 #define SAMR_ENUM_DOM_USERS    0x0d
43 #define SAMR_CREATE_DOM_ALIAS  0x0e
44 #define SAMR_ENUM_DOM_ALIASES  0x0f
45 #define SAMR_QUERY_USERALIASES 0x10
46 #define SAMR_LOOKUP_NAMES      0x11
47 #define SAMR_LOOKUP_RIDS       0x12
48 #define SAMR_OPEN_GROUP        0x13
49 #define SAMR_QUERY_GROUPINFO   0x14
50 #define SAMR_SET_GROUPINFO     0x15
51 #define SAMR_ADD_GROUPMEM      0x16
52 #define SAMR_DELETE_DOM_GROUP  0x17
53 #define SAMR_DEL_GROUPMEM      0x18
54 #define SAMR_QUERY_GROUPMEM    0x19
55 #define SAMR_UNKNOWN_1A        0x1a
56 #define SAMR_OPEN_ALIAS        0x1b
57 #define SAMR_QUERY_ALIASINFO   0x1c
58 #define SAMR_SET_ALIASINFO     0x1d
59 #define SAMR_DELETE_DOM_ALIAS  0x1e
60 #define SAMR_ADD_ALIASMEM      0x1f
61 #define SAMR_DEL_ALIASMEM      0x20
62 #define SAMR_QUERY_ALIASMEM    0x21
63 #define SAMR_OPEN_USER         0x22
64 #define SAMR_DELETE_DOM_USER   0x23
65 #define SAMR_QUERY_USERINFO    0x24
66 #define SAMR_SET_USERINFO2     0x25
67 #define SAMR_QUERY_USERGROUPS  0x27
68 #define SAMR_QUERY_DISPINFO    0x28
69 #define SAMR_UNKNOWN_29        0x29
70 #define SAMR_UNKNOWN_2a        0x2a
71 #define SAMR_UNKNOWN_2b        0x2b
72 #define SAMR_GET_USRDOM_PWINFO 0x2c
73 #define SAMR_UNKNOWN_2D        0x2d
74 #define SAMR_UNKNOWN_2e        0x2e
75 #define SAMR_UNKNOWN_2f        0x2f
76 #define SAMR_QUERY_DISPINFO3   0x30
77 #define SAMR_UNKNOWN_31        0x31
78 #define SAMR_CREATE_USER       0x32
79 #define SAMR_QUERY_DISPINFO4   0x33
80 #define SAMR_ADDMULTI_ALIASMEM 0x34
81 #define SAMR_UNKNOWN_35        0x35
82 #define SAMR_UNKNOWN_36        0x36
83 #define SAMR_CHGPASSWD_USER    0x37
84 #define SAMR_GET_DOM_PWINFO    0x38
85 #define SAMR_CONNECT           0x39
86 #define SAMR_SET_USERINFO      0x3A
87
88 #endif /* packet-msrpc-samr.h */