diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/include/rpc_misc.h | 10 | ||||
-rwxr-xr-x | source3/include/rpc_spoolss.h | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index d9154cca6f..a119390d0d 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3311,6 +3311,7 @@ BOOL api_ntlsa_rpc(pipes_struct *p); /*The following definitions come from rpc_server/srv_lsa_hnd.c */ #if OLD_NTDOMAIN +void create_policy_handle(POLICY_HND *hnd, uint32 *hnd_low, uint32 *hnd_high); void init_lsa_policy_hnd(void); BOOL open_lsa_policy_hnd(POLICY_HND *hnd); int find_lsa_policy_by_hnd(POLICY_HND *hnd); diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 1fbf87f134..5152df8e0f 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -288,16 +288,16 @@ typedef struct gid_info } DOM_GID; -#define POL_HND_SIZE 20 - /* POLICY_HND */ typedef struct lsa_policy_info { - uint8 data[POL_HND_SIZE]; /* policy handle */ - + uint32 data1; + uint32 data2; + uint16 data3; + uint16 data4; + uint8 data5[8]; } POLICY_HND; - /* * A client connection's state, pipe name, * user credentials, etc... diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index 82719b6bc9..798b32bb7e 100755 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -193,8 +193,6 @@ #define JOB_WRITE STANDARD_RIGHTS_WRITE_ACCESS|JOB_ACCESS_ADMINISTER #define JOB_EXECUTE STANDARD_RIGHTS_EXECUTE_ACCESS|JOB_ACCESS_ADMINISTER -#define POLICY_HND_SIZE 20 - #define ONE_VALUE 01 #define TWO_VALUE 02 #define POINTER 03 |