1
0
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:
Rafal Szczesniak 2005-06-07 23:21:38 +00:00 committed by Gerald (Jerry) Carter
parent fdc2be2cd6
commit ae6907c5c8
2 changed files with 9 additions and 18 deletions

View File

@ -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;

View File

@ -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;
};