diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-21 13:14:17 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-21 13:14:17 +0000 |
commit | a465add90f3291f022104600c6221e8d90287e64 (patch) | |
tree | 155a7f43e7a50027be5d9144755bf134ee585810 /source4/librpc/idl/samr.idl | |
parent | 82d6f5587b6052a226f90a82314573fb348fb0ce (diff) | |
download | samba-a465add90f3291f022104600c6221e8d90287e64.tar.gz samba-a465add90f3291f022104600c6221e8d90287e64.tar.bz2 samba-a465add90f3291f022104600c6221e8d90287e64.zip |
* changed the way strings are handled in pidl to a much more general
interface. We now support an arbitrary set of flags to each parser,
and these can be used to control the string types. I have provided
some common IDL string types in librpc/idl/idl_types.h which needs to
be included in every IDL file.
* added IDL for the endpoint mapper. Added a test suite that enumerates
all endpoints on the server.
(This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r-- | source4/librpc/idl/samr.idl | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 29ba402503..bb0e85b7de 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -1,6 +1,7 @@ +#include "idl_types.h" + /* samr interface definition - */ /* @@ -44,7 +45,7 @@ typedef struct { uint32 sd_size; - [subcontext] security_descriptor *sd; + [subcontext(4)] security_descriptor *sd; } samr_SdBuf; NTSTATUS samr_QuerySecurity ( @@ -727,9 +728,26 @@ /* Function 0x2b */ NTSTATUS samr_TEST_PRIVATE_FUNCTIONS_USER(); + /************************/ /* Function 0x2c */ - NTSTATUS samr_GET_USRDOM_PWINFO(); + +/* +const ULONG DOMAIN_PASSWORD_COMPLEX = 0x00000001; +const ULONG DOMAIN_PASSWORD_NO_ANON_CHANGE = 0x00000002; +const ULONG DOMAIN_PASSWORD_NO_CLEAR_CHANGE = 0x00000004; +const ULONG DOMAIN_PASSWORD_STORE_CLEARTEXT = 0x00000010; +const ULONG DOMAIN_REFUSE_PASSWORD_CHANGE = 0x00000020; +*/ + typedef struct { + uint16 min_pwd_len; + uint32 passwd_properties; + } samr_PwInfo; + + NTSTATUS samr_GetUserPwInfo( + [in,ref] policy_handle *handle, + [out] samr_PwInfo info + ); /************************/ /* Function 0x2d */ |