preparing for release of alpha-2.6
[Samba/gbeck.git] / source / lib / surs.h
blob894c76bf01e989c4fb808a79761f1ce143fef5d0
1 /*
2 Unix SMB/Netbios implementation.
3 Version 2.0
4 Samba Utility Functions
6 Copyright (C) Luke Kenneth Casson Leighton 2000
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef _SURS_H_
24 #define _SURS_H_
26 typedef enum
28 SURS_POSIX_UID, /* User id */
29 SURS_POSIX_GID /* Group id */
32 posix_type;
34 typedef struct _surs_posix_id
36 uint32 id; /* user/group id */
37 posix_type type; /* id type */
39 SURS_POSIX_ID;
41 typedef DOM_SID SURS_SID_ID;
43 #endif /* _SURS_H_ */