1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

630 Commits

Author SHA1 Message Date
Günther Deschner
79f82998b1 pidl: fix handling of output arguments in s3 client stubs.
a20e095 used (uint8_t) instead of (uint8_t *).

Guenther
2009-11-27 16:15:33 +01:00
Stefan Metzmacher
49553d066b librpc: rerun "make idl"
metze
2009-11-26 11:47:42 +01:00
Günther Deschner
800d6b7820 s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they belong.
Guenther
2009-11-23 12:20:24 +01:00
Günther Deschner
366946f29b spoolss: fix spoolss_EnumPrinterKey IDL.
Guenther
2009-11-23 11:44:43 +01:00
Stefan Metzmacher
ae4795de69 librpc: rerun "make idl"
metze
2009-11-20 13:48:37 +01:00
Stefan Metzmacher
4b6c03a108 librpc/ndr: remember the highest offset we parsed with relative pointer buffers
ndr_*_pull_blob_all() will now work if relative pointers are used.

metze
2009-11-20 13:48:35 +01:00
Nadezhda Ivanova
a97460d657 Fixed incorrect SID for RAS Servers. 2009-11-17 17:10:23 +02:00
Stefan Metzmacher
2fb6acd2d7 librpc: rerun "make idl"
metze
2009-11-17 09:00:49 +01:00
Stefan Metzmacher
66198b085a netlogon.idl: fix ndr_pull_netr_DatabaseRedo()
We can't use subcontext_size() here, as
change_log_entry_size is encoded after the subcontext.

metze
2009-11-17 09:00:48 +01:00
Andrew Bartlett
fd5174e88c lib/util Split data_blob_hex_string() into upper and lower
Rather than have a repeat of the bugs we found at the plugfest where
hexidecimal strings must be in upper or lower case in particular
places, ensure that each caller chooses which case they want.

This reverts most of the callers back to upper case, as things were
before tridge's patch.  The critical call in the extended DN code is
of course handled in lower case.

Andrew Bartlett
2009-11-12 16:34:01 +11:00
Volker Lendecke
e181b88978 Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
This reverts commit daa964013b.
2009-11-08 19:43:47 +01:00
Volker Lendecke
47455b4d1a Revert "s3: Do not reference the ndr_tables in the server calls directly"
This reverts commit 98fb71782e.
2009-11-08 19:43:46 +01:00
Volker Lendecke
82c35e460e Revert "s3: Do not reference ndr_table when calling rpc_srv_register"
This reverts commit 494b2aff88.
2009-11-08 19:43:46 +01:00
Volker Lendecke
494b2aff88 s3: Do not reference ndr_table when calling rpc_srv_register 2009-11-08 13:12:15 +01:00
Volker Lendecke
98fb71782e s3: Do not reference the ndr_tables in the server calls directly
This involves storing the interface table in the pipes_struct
2009-11-08 13:12:14 +01:00
Volker Lendecke
daa964013b s3: Do not reference ndr_table_<pipe> in the cli_ routines directly 2009-11-08 13:12:13 +01:00
Volker Lendecke
5cdee7ae05 s3: Do the printing for DEBUGLEVEL>=10 centrally
12 insertions(+), 10651 deletions(-)

I think that says it all :-)
2009-11-07 11:07:37 +01:00
Günther Deschner
8be9ec604e security: re-run make samba3-idl after IDL change.
Guenther
2009-11-03 23:47:57 +01:00
Nadezhda Ivanova
8324dbcb11 Removed the default DACL from token, as we will not be using it. 2009-11-03 10:45:01 +02:00
Volker Lendecke
dd0e16b1d5 uuid.c: Remove some dead code 2009-11-01 23:50:04 +01:00
Stefan (metze) Metzmacher
25f96a4058 Add in Metze's new code to ndr encode the user.DOSATTRIB
blobs. Next I'll change the create timestamp and dos attribute
code to use this.
2009-10-28 15:42:47 -07:00
Günther Deschner
1f9d06a1b0 lsa: add LSA_TRUSTED_DOMAIN access masks.
Guenther
2009-10-28 12:37:38 +01:00
Günther Deschner
80d8b2e180 lsa: add LSA_SECRET access masks.
Guenther
2009-10-28 12:37:21 +01:00
Andrew Tridgell
3f5d535972 idl-drsblobs: mark some more reserved values as value(0)
This prevents valgrind errors when we store these blobs in a database
2009-10-22 12:47:53 +11:00
Andrew Bartlett
108b8344db librpc Make talloc tree in binding tower match the floors
This is mostly cosmetics, but helped me see that these are legitimate stuctures
when viewed in the talloc tree.

Also don't put the 'ndr' structure on the long-term tree.

Andrew Bartlett
2009-10-21 22:43:55 +11:00
Kamen Mazdrashki
7e8fb4ad06 s4/drs(NDR): Print implementation for drsuapi_DsReplicaOID
Custom ndr_print functions is implemented so that transmited
partia-binary-oid to be printed both in hex and
partial-oid formats
2009-10-16 12:54:13 +03:00
Kamen Mazdrashki
4bfd132b08 s4/drs(NDR): Remove push/pull code for drsuapi_DsReplicaOID struct
New structure definition is automarshaled so custom marshaling
code is not used anymore
2009-10-16 12:54:13 +03:00
Kamen Mazdrashki
cb71e8a731 s4/drs(idl): Regenerate idl 2009-10-16 12:54:13 +03:00
Kamen Mazdrashki
cf51787382 s4/drs(idl): Redefine drsuapi_DsReplicaOID in drsuapi.idl
Structure redefined to be more similar with OID_t structure
defined in [ref. MS-DRSR.pdf - p.496].
2009-10-16 12:54:13 +03:00
Andrew Tridgell
068e09847a idl: added bit definition for privilege masks
When you have backup or restore privileges, you automatically get
extra access bits in ACL interpretation. This adds definitions for the
bits you get.
2009-10-16 10:12:18 +11:00
Andrew Tridgell
44866f0df4 idl: added WSPP DrsOptions bit names
This should make it much easier to work through the logic in MS-DRSR
2009-10-15 08:20:36 +11:00
Günther Deschner
c2be185793 netlogon: add NL_PASSWORD_VERSION to IDL.
Guenther
2009-10-13 12:13:59 +02:00
Matthias Dieter Wallnöfer
c2685cdedb s3/s4:samr.idl - Corrects the "userPwdChangeFailureInformation" structure
This I've done according to WSPP doc MS-SAMR 2.2.7.23.
2009-10-08 09:49:56 +02:00
Andrew Tridgell
90cd031fb3 idl: recompile IDL for uint1632 change 2009-10-07 09:56:23 +11:00
Andrew Tridgell
2bf8a7485c pidl: get the alignment right for uint1632 enums (NDR64)
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632
type to get the alignment right.
2009-10-07 09:56:22 +11:00
Günther Deschner
76feeb1b97 libndr: add int3264 ndr prototype.
Guenther
2009-10-05 15:10:35 +02:00
Andrew Tridgell
dac0346906 ndr: rebuild lsa IDL after recent change 2009-10-03 19:03:14 +10:00
Andrew Tridgell
e66fa4645a idl: some lsa vars are uint3264 2009-10-03 18:17:24 +10:00
Andrew Tridgell
f21fb4b395 pidl: added int3264 as a base type
This is the type used for a variable that is 32 bits for NDR32 and 64
bits for NDR64
2009-10-03 18:17:23 +10:00
Andrew Tridgell
7a59e6c222 idl: rebuilt the IDL for the build farm 2009-10-02 15:11:02 +10:00
Andrew Tridgell
9eb78be4a6 ndr64: added support for trailing gap alignment
NDR64 has a 'trailing gap' alignment, which aligns the end of a
structure on the overall structure alignment.

This explains the discrepancy we had with the RPC-SAMR test and NDR64
2009-10-02 12:05:59 +10:00
Andrew Tridgell
2b332e6dfe idl: use common netlogon bit definitions
The DS_ bits had got a bit ahead of the NBT_ bits.

Ideally we'd make these a single set of bits at some point.

This also removes NBT_SERVER_DNS_FOREST as this bit doesn't exist. I
think it came from someone mis-reading the docs, which show the bits
in reverse order within bytes (one of the worst bit table
representations I have ever seen!)
2009-10-02 12:01:00 +10:00
Günther Deschner
a6567cf198 s3: re-run make idl. janitor for tridge.
Guenther
2009-09-30 16:23:12 +02:00
Andrew Tridgell
0d241b0b31 idl: ntsvcs.idl depends on misc.idl, not winreg.idl
The winreg_Type definition comes from misc.idl
2009-09-30 14:44:59 +10:00
Günther Deschner
d31e4c2944 s3: re-run make idl_full.
Guenther
2009-09-29 23:38:56 +02:00
Günther Deschner
4365b7b408 winreg: add winreg_Data union to IDL.
Guenther
2009-09-29 23:38:47 +02:00
Andrew Tridgell
64e08fef16 pidl: added union padding for NDR64
This fixes the problem with samr UserInfo16 when NDR64 is enabled
2009-09-29 18:08:22 +10:00
Andrew Tridgell
2deea28520 s4-drs: regenerate IDL after ndr size change 2009-09-24 10:37:30 -07:00
Andrew Tridgell
f8a09e8fb3 s4-drs: fixed the size of DN binary blobs on the wire
Comparison with w2k8 traces shows the size field of
drsuapi_DsReplicaObjectIdentifier3Binary is taken from
drsuapi_DsReplicaObjectIdentifier3

Thanks to metze for spotting this
2009-09-24 10:36:13 -07:00
Anatoliy Atanasov
71c862cd91 idl: regenerate idl 2009-09-23 15:50:58 -07:00