mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r7379: Simplify CreateUser function and io structure. Also, implementing
it based on composite functions. Moving to fully async CreateUser
on the way...
rafal
(This used to be commit 240409bc3c
)
This commit is contained in:
parent
fdc2be2cd6
commit
ae6907c5c8
@ -135,7 +135,7 @@ union libnet_find_pdc;
|
||||
union libnet_rpc_connect;
|
||||
union libnet_RemoteTOD;
|
||||
union libnet_JoinDomain;
|
||||
union libnet_CreateUser;
|
||||
struct libnet_CreateUser;
|
||||
struct libnet_ListShares;
|
||||
struct libnet_AddShare;
|
||||
struct libnet_DelShare;
|
||||
|
@ -25,23 +25,14 @@ enum libnet_CreateUser_level {
|
||||
};
|
||||
|
||||
|
||||
union libnet_CreateUser {
|
||||
struct {
|
||||
enum libnet_CreateUser_level level;
|
||||
|
||||
struct _libnet_CreateUser_in {
|
||||
const char *user_name;
|
||||
const char *domain_name;
|
||||
} in;
|
||||
|
||||
struct _libnet_CreateUser_out {
|
||||
const char *error_string;
|
||||
} out;
|
||||
} generic;
|
||||
struct libnet_CreateUser {
|
||||
enum libnet_CreateUser_level level;
|
||||
|
||||
struct {
|
||||
enum libnet_CreateUser_level level;
|
||||
struct _libnet_CreateUser_in in;
|
||||
struct _libnet_CreateUser_out out;
|
||||
} samr;
|
||||
const char *user_name;
|
||||
const char *domain_name;
|
||||
} in;
|
||||
struct {
|
||||
const char *error_string;
|
||||
} out;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user