summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-07 23:59:13 +0000
committerJeremy Allison <jra@samba.org>2001-03-07 23:59:13 +0000
commit393bede7db6af546431cd5255e465b7b7b0e7c81 (patch)
tree44a95a722eba6f412e50efc34e2233baa31fe987 /source3/include
parent2b22019e426c4bb7a5745a326c302a4e19aa5ff2 (diff)
downloadsamba-393bede7db6af546431cd5255e465b7b7b0e7c81.tar.gz
samba-393bede7db6af546431cd5255e465b7b7b0e7c81.tar.bz2
samba-393bede7db6af546431cd5255e465b7b7b0e7c81.zip
Sync up handle creation with 2.2 branch. We can now join AS/U domains and
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/include/rpc_misc.h10
-rwxr-xr-xsource3/include/rpc_spoolss.h2
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