svn commit: samba r23217 - in branches/SAMBA_3_0_26/source: include
librpc/gen_ndr librpc/idl
jerry at samba.org
jerry at samba.org
Tue May 29 17:51:45 GMT 2007
Author: jerry
Date: 2007-05-29 17:51:45 +0000 (Tue, 29 May 2007)
New Revision: 23217
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23217
Log:
Use the enum lsa_SidType declaration from the autogenerated lsa.h
Added:
branches/SAMBA_3_0_26/source/librpc/gen_ndr/lsa.h
branches/SAMBA_3_0_26/source/librpc/idl/lsa.idl
Modified:
branches/SAMBA_3_0_26/source/include/smb.h
Changeset:
Modified: branches/SAMBA_3_0_26/source/include/smb.h
===================================================================
--- branches/SAMBA_3_0_26/source/include/smb.h 2007-05-29 17:41:55 UTC (rev 23216)
+++ branches/SAMBA_3_0_26/source/include/smb.h 2007-05-29 17:51:45 UTC (rev 23217)
@@ -243,20 +243,6 @@
#define SID_MAX_SIZE ((size_t)(8+(MAXSUBAUTHS*4)))
-/* SID Types */
-enum lsa_SidType {
- SID_NAME_USE_NONE = 0,
- SID_NAME_USER = 1, /* user */
- SID_NAME_DOM_GRP, /* domain group */
- SID_NAME_DOMAIN, /* domain sid */
- SID_NAME_ALIAS, /* local group */
- SID_NAME_WKN_GRP, /* well-known group */
- SID_NAME_DELETED, /* deleted account: needed for c2 rating */
- SID_NAME_INVALID, /* invalid account */
- SID_NAME_UNKNOWN, /* unknown sid type */
- SID_NAME_COMPUTER /* sid for a computer */
-};
-
#define LOOKUP_NAME_ISOLATED 1 /* Look up unqualified names */
#define LOOKUP_NAME_REMOTE 2 /* Ask others */
#define LOOKUP_NAME_ALL (LOOKUP_NAME_ISOLATED|LOOKUP_NAME_REMOTE)
@@ -312,6 +298,7 @@
#include "librpc/ndr/misc.h"
#include "librpc/ndr/security.h"
#include "librpc/ndr/libndr.h"
+#include "librpc/gen_ndr/lsa.h"
#include "librpc/gen_ndr/wkssvc.h"
struct lsa_dom_info {
Copied: branches/SAMBA_3_0_26/source/librpc/gen_ndr/lsa.h (from rev 23215, branches/SAMBA_3_0/source/librpc/gen_ndr/lsa.h)
Copied: branches/SAMBA_3_0_26/source/librpc/idl/lsa.idl (from rev 23216, branches/SAMBA_3_0/source/librpc/idl/lsa.idl)
More information about the samba-cvs
mailing list