summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-12-02 00:12:39 +0100
committerGünther Deschner <gd@samba.org>2008-12-02 00:37:39 +0100
commit798c4b3e6a27a09a9156f7476cf5bb4151741652 (patch)
treebf96b9f9655af5715fb8f555c64925ba6ec80523 /source3/rpc_client
parent6384c97a42f60e702a7ac1623aef894803678bd4 (diff)
downloadsamba-798c4b3e6a27a09a9156f7476cf5bb4151741652.tar.gz
samba-798c4b3e6a27a09a9156f7476cf5bb4151741652.tar.bz2
samba-798c4b3e6a27a09a9156f7476cf5bb4151741652.zip
s3-samr: use samr_DomainServerState in client tools.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_samr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/rpc_client/init_samr.c b/source3/rpc_client/init_samr.c
index 473fae73af..6a9e6d1682 100644
--- a/source3/rpc_client/init_samr.c
+++ b/source3/rpc_client/init_samr.c
@@ -47,7 +47,7 @@ void init_samr_DomGeneralInformation(struct samr_DomGeneralInformation *r,
const char *domain_name,
const char *primary,
uint64_t sequence_num,
- uint32_t unknown2,
+ enum samr_DomainServerState domain_server_state,
enum samr_Role role,
uint32_t unknown3,
uint32_t num_users,
@@ -59,7 +59,7 @@ void init_samr_DomGeneralInformation(struct samr_DomGeneralInformation *r,
init_lsa_String(&r->domain_name, domain_name);
init_lsa_String(&r->primary, primary);
r->sequence_num = sequence_num;
- r->unknown2 = unknown2;
+ r->domain_server_state = domain_server_state;
r->role = role;
r->unknown3 = unknown3;
r->num_users = num_users;
@@ -134,11 +134,12 @@ void init_samr_DomInfo8(struct samr_DomInfo8 *r,
********************************************************************/
void init_samr_DomInfo9(struct samr_DomInfo9 *r,
- uint32_t unknown)
+ enum samr_DomainServerState domain_server_state)
{
- r->unknown = unknown;
+ r->domain_server_state = domain_server_state;
}
+
/*******************************************************************
inits a structure.
********************************************************************/