summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/libnetapi.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-11 19:07:51 +0200
committerGünther Deschner <gd@samba.org>2008-08-11 19:12:25 +0200
commit9f0de2107189f7aad3361e7939b7209e9ae5b473 (patch)
tree105e82654a1c99df3bbb542726feb7373a1480c1 /source3/librpc/gen_ndr/libnetapi.h
parenta9c8095036365ee112be83da1e37a22e5fb6f195 (diff)
downloadsamba-9f0de2107189f7aad3361e7939b7209e9ae5b473.tar.gz
samba-9f0de2107189f7aad3361e7939b7209e9ae5b473.tar.bz2
samba-9f0de2107189f7aad3361e7939b7209e9ae5b473.zip
re-run make idl.
Guenther (This used to be commit 36c5de4702c03bd71d689aaecea87168133021c2)
Diffstat (limited to 'source3/librpc/gen_ndr/libnetapi.h')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index f1352c6461..04e62d14af 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -16,6 +16,7 @@
#define FILTER_INTERDOMAIN_TRUST_ACCOUNT ( 0x0008 )
#define FILTER_WORKSTATION_TRUST_ACCOUNT ( 0x0010 )
#define FILTER_SERVER_TRUST_ACCOUNT ( 0x0020 )
+#define TIMEQ_FOREVER ( (uint32_t)-1L )
enum NET_API_STATUS
#ifndef USE_UINT_ENUMS
{
@@ -340,6 +341,58 @@ struct USER_INFO_X {
uint32_t usriX_code_page;
};
+struct USER_MODALS_INFO_0 {
+ uint32_t usrmod0_min_passwd_len;
+ uint32_t usrmod0_max_passwd_age;
+ uint32_t usrmod0_min_passwd_age;
+ uint32_t usrmod0_force_logoff;
+ uint32_t usrmod0_password_hist_len;
+};
+
+struct USER_MODALS_INFO_1 {
+ uint32_t usrmod1_role;
+ const char * usrmod1_primary;
+};
+
+struct USER_MODALS_INFO_2 {
+ const char * usrmod2_domain_name;
+ struct domsid *usrmod2_domain_id;/* [unique] */
+};
+
+struct USER_MODALS_INFO_3 {
+ uint32_t usrmod3_lockout_duration;
+ uint32_t usrmod3_lockout_observation_window;
+ uint32_t usrmod3_lockout_threshold;
+};
+
+struct USER_MODALS_INFO_1001 {
+ uint32_t usrmod1001_min_passwd_len;
+};
+
+struct USER_MODALS_INFO_1002 {
+ uint32_t usrmod1002_max_passwd_age;
+};
+
+struct USER_MODALS_INFO_1003 {
+ uint32_t usrmod1003_min_passwd_age;
+};
+
+struct USER_MODALS_INFO_1004 {
+ uint32_t usrmod1004_force_logoff;
+};
+
+struct USER_MODALS_INFO_1005 {
+ uint32_t usrmod1005_password_hist_len;
+};
+
+struct USER_MODALS_INFO_1006 {
+ uint32_t usrmod1006_role;
+};
+
+struct USER_MODALS_INFO_1007 {
+ const char * usrmod1007_primary;
+};
+
struct NET_DISPLAY_USER {
const char * usri1_name;
const char * usri1_comment;
@@ -665,6 +718,35 @@ struct NetUserSetInfo {
};
+struct NetUserModalsGet {
+ struct {
+ const char * server_name;
+ uint32_t level;
+ } in;
+
+ struct {
+ uint8_t **buffer;/* [ref] */
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
+
+struct NetUserModalsSet {
+ struct {
+ const char * server_name;
+ uint32_t level;
+ uint8_t *buffer;/* [ref] */
+ } in;
+
+ struct {
+ uint32_t *parm_err;/* [ref] */
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
+
struct NetQueryDisplayInformation {
struct {
const char * server_name;/* [unique] */