diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-07-23 10:27:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:58 -0500 |
commit | 64f31e424b3db792a1edb909195eb592a9460aaf (patch) | |
tree | f100ed66a70a9da9fce8c6718f4635d88c5d0669 /source4/libnet/composite.h | |
parent | 23924170cc1db85fecf21e0bfebf4d7b4ac42c25 (diff) | |
download | samba-64f31e424b3db792a1edb909195eb592a9460aaf.tar.gz samba-64f31e424b3db792a1edb909195eb592a9460aaf.tar.xz 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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libnet/composite.h b/source4/libnet/composite.h index 62ad46ee811..70e70d04eeb 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; |