Kamen Mazdrashki
9f71ffb06c
s4/idl: DsReplicaAdd - switch types should be unsigned
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:59 +01:00
Kamen Mazdrashki
62b4b675fd
s4/idl: DsReplicaUpdateRefs - switch types should be unsigned
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:58 +01:00
Kamen Mazdrashki
89f8c35ac4
s4/idl: DsGetNCChanges - switch types should be unsigned
...
Converting those types to unsigned should help in
creating DRSUAPI dissector for Wireshark also.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:56 +01:00
Kamen Mazdrashki
163cc1a02d
s4/idl: drsuapi_DsReplicaSyncOptions flags are no more used
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:55 +01:00
Günther Deschner
b2ff159034
s3: re-run make samba3-idl.
...
Guenther
2010-03-05 22:03:26 +01:00
Günther Deschner
f258e98e17
winreg: fix winreg_QueryValue IDL.
...
Note that before this change pidl generated code that just dereferenced size_is
and length_is values from unique pointers without checking whether these
pointers were actually NULL.
With this change, pidl now throws a warning like:
warning: Got pointer for `data_size', expected fully derefenced variable
which is not correct, probably because pidl does not evaluate the C expression.
Guenther
2010-03-05 22:00:52 +01:00
Günther Deschner
80d2e22cd8
s3: re-run make samba3-idl.
...
Guenther
2010-03-05 15:18:00 +01:00
Günther Deschner
4df1047e83
spoolss: fix spoolss_EnumPrinterDataEx IDL.
...
Guenther
2010-03-05 15:18:00 +01:00
Günther Deschner
63c0821b0b
s3: re-run make samba3-idl.
...
Guenther
2010-03-05 15:17:59 +01:00
Günther Deschner
0e779b573b
spoolss: rollback GetPrinterData[Ex] IDL.
...
Guenther
2010-03-05 15:17:59 +01:00
Günther Deschner
3b01ab8248
s3: re-run make samba3-idl.
...
Guenther
2010-03-05 15:17:58 +01:00
Günther Deschner
0528515be4
spoolss: rollback SetPrinterData{Ex} IDL.
...
Guenther
2010-03-05 15:17:58 +01:00
Günther Deschner
b1f18fb808
spoolss: add spoolss_Build to IDL.
...
Guenther
2010-02-26 17:39:21 +01:00
Simo Sorce
76f4e6f16b
idl:lsa change string type
...
comapring win<-> traces it looks like this is an lsa_StringLarge
2010-02-24 18:35:48 -05:00
Kamen Mazdrashki
2f20a4b23e
s4/idl: Regenerate IDL for DRSUAPI interface
2010-02-24 14:14:09 +02:00
Kamen Mazdrashki
0f6a453f9f
s4/idl: drsuapi_DsReplicaGetInfoRequest2 - 'string2' to 'value_dn_str'
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
10fce687fe
s4/idl: drsuapi_DsReplicaGetInfoRequest2 - 'string1' to 'attribute_name'
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
fb9880d6e8
s4/idl: rename 'guid1' to 'source_dsa_guid' in drsuapi_DsReplicaGetInfoRequest description
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
58318960b7
s4/idl: Regenerate IDL for DRSUAPI interface
2010-02-24 14:14:07 +02:00
Kamen Mazdrashki
e9438b4c12
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSync definition
...
- Function should accept pointer to drsuapi_DsReplicaSyncRequest.
While this doesn't generate essentially different code for
NDR parser, using pointer will make drsuapi_DsReplicaSync
descritpin with the rest of the functions in DRSUAPI interface.
Another benefit is that this way we could create Wireshark
dissector directly from Samba's verions for drsuapi.idl
- 'level' and thus the switch_type() should be uint32
2010-02-24 14:14:06 +02:00
Kamen Mazdrashki
f1a33a6cfe
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSyncRequest1 description
...
- pointer to naming_context should be [ref] pointer
(i.e. not NULL pointer)
- other_info is actually the DNS name for Source DSA and is used
if DRSUAPI_DRS_SYNC_BYNAME is passed
ref: [MS-DRSR] 5.39
2010-02-24 14:14:06 +02:00
Günther Deschner
0278ef8ce3
s3: re-run make samba3-idl.
...
Guenther
2010-02-23 17:02:37 +01:00
Günther Deschner
d22b54c4eb
spoolss: some fixes for devicemode dm extra structs.
...
Guenther
2010-02-23 17:01:26 +01:00
Günther Deschner
f6497a5807
s3: re-run make samba3-idl.
...
Guenther
2010-02-23 16:48:51 +01:00
Günther Deschner
2288e16d72
spoolss: add various DM extradata formats (including PostScript and UniDriver).
...
Guenther
2010-02-23 16:48:37 +01:00
Simo Sorce
d4b8be513c
s4:netlogon GetTrustedDomainInformation
...
start implementing calls related to trusted domain information
2010-02-22 18:49:16 -05:00
Andrew Bartlett
a7036a9e47
librpc/ndr Remove unused macros
...
Since the change to the way we pull these OIDs from the wire, these
macros are unused.
Andrew Bartlett
2010-02-20 17:59:13 +11:00
Andrew Bartlett
9f222841fe
librpc When sending endpoint mapper requests, include the minor if_version
...
The minor version (in the upper 16 bits of syntax->if_version) needs
to be pushed as the right hand side of the endpoint mapper floor (the
same floor as the interface UUID and major if_version).
Andrew Bartlett
2010-02-20 02:55:29 +11:00
Stefan Metzmacher
76aa37f653
librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()
...
metze
2010-02-19 08:12:42 +01:00
Andrew Bartlett
e4523e3c8f
misc.idl: Add reference to the slightly odd representation of if_version
...
I found this confusing, so explian for the next poor programmer who
has to get up to speed with this quickly.
Andrew Bartlett
2010-02-19 16:32:49 +11:00
Günther Deschner
0a8011aa98
spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves devmode relative pointer down to sd).
...
Guenther
2010-02-18 15:47:59 +01:00
Günther Deschner
2881742493
spoolss: add spoolss_security_descriptor.
...
Guenther
2010-02-18 15:47:59 +01:00
Günther Deschner
70f8b34f51
s3: re-run make samba3-idl.
...
Guenther
2010-02-18 15:47:59 +01:00
Günther Deschner
f10a2d773d
security: make two bitmaps public.
...
Guenther
2010-02-18 15:47:58 +01:00
Günther Deschner
8c4ff98ea1
spoolss: make two bitmaps public.
...
Guenther
2010-02-18 15:47:58 +01:00
Stefan Metzmacher
8f52957369
spoolss: make all security descriptors and devicemodes 4 byte aligned and add missing subcontexts.
...
Guenther
2010-02-18 15:47:57 +01:00
Günther Deschner
6d0a39741d
spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative pointers.
...
Guenther
2010-02-18 15:47:57 +01:00
Stefan Metzmacher
2059a165ee
ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*
...
metze
2010-02-18 15:47:57 +01:00
Stefan Metzmacher
a4c3aeb793
spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.
...
metze
2010-02-18 15:47:56 +01:00
Stefan Metzmacher
8310f02414
libndr: fix ndr_size_* calculation with relative reverse buffers
...
metze
2010-02-18 15:47:52 +01:00
Stefan Metzmacher
4a76d29374
libndr: for now align reverse relative pointers to 2 bytes by default.
...
This is just a hack and we should let the callers use FLAG_ALIGN2
explicit in future.
metze
2010-02-18 13:44:04 +01:00
Stefan Metzmacher
31c7780c16
libndr: implement LIBNDR_RELATIVE_REVERSE handling
...
This is based on Guenther's initial code.
metze
2010-02-18 13:44:03 +01:00
Günther Deschner
05347754ee
libndr: store a subcontext buffer size in ndr_push_subcontext_start.
...
Guenther
2010-02-18 13:44:03 +01:00
Stefan Metzmacher
b5f9c44da5
libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used with the RELATIVE_REVERSE flag
...
metze
2010-02-18 13:44:03 +01:00
Günther Deschner
a2c34296fa
libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing
...
can be disabled for single structure elements.
Guenther
2010-02-18 13:44:02 +01:00
Günther Deschner
ee13a51b05
libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.
...
Guenther
2010-02-18 13:44:02 +01:00
Günther Deschner
c9fa97b017
libndr: change subcontext buffer allocation to allocate on subcontext_start.
...
Guenther
2010-02-18 13:44:01 +01:00
Stefan Metzmacher
98e143cd31
librpc/ndr: make ndr_push_relative_ptr2() static
...
metze
2010-02-18 13:44:01 +01:00
Stefan Metzmacher
e03591111a
librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end()
...
metze
2010-02-18 13:44:01 +01:00
Stefan Metzmacher
b423bd2115
librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()
...
metze
2010-02-18 13:44:00 +01:00