mirror of
https://github.com/samba-team/samba.git
synced 2025-12-23 00:23:53 +03:00
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 commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user