1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

r24127: Set the Domain SID into the libnet context, and have libnet_UserInfo

return full SIDs for the user SID and primary group sid.

This should help kai with his getpwnam work in winbind.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2007-08-02 13:08:39 +00:00
committed by Gerald (Jerry) Carter
parent 9a8315019e
commit 078671d501
6 changed files with 20 additions and 7 deletions

View File

@@ -28,7 +28,8 @@ struct libnet_context {
/* samr connection parameters - opened handles and related properties */
struct {
struct dcerpc_pipe *pipe;
const char *name;
char *name;
struct dom_sid *sid;
uint32_t access_mask;
struct policy_handle handle;
struct policy_handle connect_handle;
@@ -38,7 +39,7 @@ struct libnet_context {
/* lsa connection parameters - opened handles and related properties */
struct {
struct dcerpc_pipe *pipe;
const char *name;
char *name;
uint32_t access_mask;
struct policy_handle handle;
} lsa;