summaryrefslogtreecommitdiff
path: root/source4/libnet/composite.h
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-07-23 10:27:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:58 -0500
commit64f31e424b3db792a1edb909195eb592a9460aaf (patch)
treef100ed66a70a9da9fce8c6718f4635d88c5d0669 /source4/libnet/composite.h
parent23924170cc1db85fecf21e0bfebf4d7b4ac42c25 (diff)
downloadsamba-64f31e424b3db792a1edb909195eb592a9460aaf.tar.gz
samba-64f31e424b3db792a1edb909195eb592a9460aaf.tar.bz2
samba-64f31e424b3db792a1edb909195eb592a9460aaf.zip
r8721: Further work on libnet_rpc_usermod function. Now it can change
both account name and full name. rafal (This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)
Diffstat (limited to 'source4/libnet/composite.h')
-rw-r--r--source4/libnet/composite.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libnet/composite.h b/source4/libnet/composite.h
index 62ad46ee81..70e70d04ee 100644
--- a/source4/libnet/composite.h
+++ b/source4/libnet/composite.h
@@ -59,12 +59,15 @@ struct libnet_rpc_userdel {
};
+#define USERMOD_FIELD_ACCOUNT_NAME ( 0x00000001 )
+#define USERMOD_FIELD_FULL_NAME ( 0x00000002 )
+
struct libnet_rpc_usermod {
struct {
struct policy_handle domain_handle;
const char *username;
- struct usermod {
+ struct usermod_change {
uint32_t fields; /* bitmask field */
const char *account_name;