diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-27 19:00:38 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-27 19:00:38 +0000 |
commit | aee261e784915df4283e3bffaadac54ee36ec49e (patch) | |
tree | 3a2ef98c607713b82ac78321d45910c9ce2692f9 /source3/include/smb.h | |
parent | 6fc83d5c36ab92a832d32ebbeab5111086826e10 (diff) | |
download | samba-aee261e784915df4283e3bffaadac54ee36ec49e.tar.gz samba-aee261e784915df4283e3bffaadac54ee36ec49e.tar.bz2 samba-aee261e784915df4283e3bffaadac54ee36ec49e.zip |
added LSA_Q_CLOSE and LSA_R_CLOSE (also to smb.h). implemented in smbclient.
updated Query Info Policy to report domain name and domain sid for info levels
3 and 5.
fixed bug in dom_sid_to_string (idauths decoded wrong). fixed bug in DOM_SID:
subauths are 32 bit not 16.
(This used to be commit 2f3cca23e2465ca6a3a31fda005af1fd74f6af92)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index e9734f379d..057a0b7550 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -364,7 +364,7 @@ typedef struct sid_info uint8 sid_rev_num; /* SID revision number */ uint8 num_auths; /* number of sub-authorities */ uint8 id_auth[6]; /* Identifier Authority */ - uint16 sub_auths[MAXSUBAUTHS]; /* pointer to sub-authorities. */ + uint32 sub_auths[MAXSUBAUTHS]; /* pointer to sub-authorities. */ } DOM_SID; @@ -632,10 +632,27 @@ typedef struct lsa_r_query_info } dom; - uint32 status; /* return code */ + uint32 status; /* return code */ } LSA_R_QUERY_INFO; +/* LSA_Q_CLOSE */ +typedef struct lsa_q_close_info +{ + LSA_POL_HND pol; /* policy handle */ + +} LSA_Q_CLOSE; + +/* LSA_R_CLOSE */ +typedef struct lsa_r_close_info +{ + LSA_POL_HND pol; /* policy handle. should be all zeros. */ + + uint32 status; /* return code */ + +} LSA_R_CLOSE; + + #define MAX_REF_DOMAINS 10 /* DOM_R_REF */ |