summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-28 23:04:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:53 -0500
commit031506eb51e2a58c8f4f91251ae8cb066f495df3 (patch)
tree596c08c17a7759413ea5529aa9be6d7c13306092 /source3/include
parent73f4ac012aaebfe4f778f6971ce59049c242be7b (diff)
downloadsamba-031506eb51e2a58c8f4f91251ae8cb066f495df3.tar.gz
samba-031506eb51e2a58c8f4f91251ae8cb066f495df3.tar.bz2
samba-031506eb51e2a58c8f4f91251ae8cb066f495df3.zip
r18983: Add some comments for the LDAP based GPO routines.
Guenther (This used to be commit 2c21ee684c4197899f2314e99b891ce771b1fd65)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/gpo.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/source3/include/gpo.h b/source3/include/gpo.h
index cdec1628d0..24aaaea75d 100644
--- a/source3/include/gpo.h
+++ b/source3/include/gpo.h
@@ -20,11 +20,11 @@
enum GPO_LINK_TYPE {
- GP_LINK_UNKOWN,
- GP_LINK_MACHINE,
- GP_LINK_SITE,
- GP_LINK_DOMAIN,
- GP_LINK_OU
+ GP_LINK_UNKOWN = 0,
+ GP_LINK_MACHINE = 1,
+ GP_LINK_SITE = 2,
+ GP_LINK_DOMAIN = 3,
+ GP_LINK_OU = 4
};
/* GPO_OPTIONS */
@@ -41,8 +41,6 @@ enum GPO_LINK_TYPE {
struct GROUP_POLICY_OBJECT {
uint32 options; /* GPFLAGS_* */
uint32 version;
- uint16 version_user;
- uint16 version_machine;
const char *ds_path;
const char *file_sys_path;
const char *display_name;
@@ -65,8 +63,8 @@ struct GROUP_POLICY_OBJECT {
/* 'gPOptions', maybe a bitmask as well */
enum GPO_INHERIT {
- GPOPTIONS_INHERIT,
- GPOPTIONS_BLOCK_INHERITANCE
+ GPOPTIONS_INHERIT = 0,
+ GPOPTIONS_BLOCK_INHERITANCE = 1
};
/* 'flags' in a 'groupPolicyContainer' object */