Anatoliy Atanasov
0e8fe821c9
s4/drs:kccdrs_replica_get_info_obj_metadata implementation
...
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
2010-02-17 18:03:31 +02:00
Andrew Tridgell
259129e8f4
a4-dcerpc: another attempt at dcerpc auth padding
...
The last change broke net vampire against w2k8r2
2010-02-14 18:44:21 +11:00
Andrew Tridgell
da86f08605
s4-rpc: be more careful about DCERPC auth padding
...
Cope with a wider range of auth padding in dcerpc bind_ack and
alter_context packets. We now use a helper function that calculates
the right auth padding.
2010-02-13 23:12:29 +11:00
Günther Deschner
7e328e1e1c
spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ndr64 changes.
...
Guenther
2010-02-12 11:34:56 +01:00
Günther Deschner
95846bfee6
spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles relative_highest_offset.
...
Guenther
2010-02-12 11:34:48 +01:00
Günther Deschner
8f07339b6d
spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ndr64 changes.
...
Guenther
2010-02-12 11:34:39 +01:00
Günther Deschner
2a0b16c430
s3: re-run make samba3-idl.
...
Guenther
2010-02-11 13:32:44 +01:00
Fernando J V da Silva
7bd7194c2b
s4-drs: Add DRSUAPI_DRS_NONGC_RO_REP bit to DRS_OPTIONS
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-11 12:19:51 +01:00
Kamen Mazdrashki
0a05af9277
s4/idl: regenerating drsuapi.idl
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:37 +11:00
Kamen Mazdrashki
7dde20ae45
s4/idl: Naming reserved flags for DRSUAPI_SUPPORTED_EXTENSION_ field
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:36 +11:00
Kamen Mazdrashki
f9d820ed52
s4/idl: Regenerate IDL for DRSUAPI interface
2010-02-05 10:51:57 +01:00
Kamen Mazdrashki
5c7f55ba26
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN ext. flag for DRSUAPI
...
This flag corresponds to DRS_EXT_RECYCLE_BIN extended
flag in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC has enabled
the Recycle Binoptional feature.
2010-02-05 10:51:56 +01:00
Kamen Mazdrashki
386f2c3d12
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 flag for DRSUAPI
...
This flag corresponds to DRS_EXT_GETCHGREQ_V10 flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V10.
2010-02-05 10:51:56 +01:00
Kamen Mazdrashki
d8a7718b9e
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 flag for DRSUAPI
...
This flag corresponds to DRS_EXT_GETCHGREQ_V5 flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V5.
2010-02-05 10:51:55 +01:00
Kamen Mazdrashki
6687c6e182
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY flag for DRSUAPI
...
This flag corresponds to DRS_EXT_ADDENTRY flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports IDL_DRSAddEntry.
2010-02-05 10:51:54 +01:00
Kamen Mazdrashki
a342e3a419
s4/idl: drsblobs IDL regeneration
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01 15:23:30 +01:00
Kamen Mazdrashki
20db3211ae
s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_Entry
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01 15:23:30 +01:00
Kamen Mazdrashki
cd3d165778
s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attribute
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01 15:23:29 +01:00
Stefan Metzmacher
f450d1f43a
librpc: rerun 'make idl'
...
metze
2010-01-29 14:09:52 +01:00
Stefan Metzmacher
34a5d56d55
security.idl: add wellknown TrustedInstaller SID
...
metze
2010-01-29 14:09:50 +01:00
Matthieu Patou
1a143b8a59
s4: allow python code to dump NTACL object as well
2010-01-21 07:11:18 +13:00
Andrew Tridgell
f461a72ec3
idl: switched to using the WSPP names for the 'neighbour' DRS options
...
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Andrew Tridgell
93531a52f0
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
2010-01-16 14:10:44 +11:00
Andrew Tridgell
c663af8b7b
s4-idl: get rid of the operation specific DRS options flags
...
It was confusing to have several sets of incomplete options when WSPP
uses a single set.
2010-01-14 15:37:59 +11:00
Andrew Tridgell
60c5a5f39f
s4-idl: update the DRS_OPTIONS bits based on the latest WSPP docs
2010-01-14 15:37:59 +11:00
Andrew Tridgell
b0090d01e0
s4-idl: give a enum for attribute cn and a 'NONE' attribute
...
The 'NONE' attribute has value 0xFFFFFFFF. Adding this ensures the
compiler will complain if it is set to use 16 bit enums. We rely on
being able to store 32 bits in an attid enum.
2010-01-09 13:10:28 +11:00
Andrew Tridgell
ff968e487c
s4-idl: regenerate DRS IDL
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08 13:03:04 +11:00
Andrew Tridgell
4c7bf0527a
s4-idl: added some more wellknown attributeIDs
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08 13:03:04 +11:00
Andrew Tridgell
a106fefcfb
librpc: fixed the GUID_compare() function
...
When comparing two unsigned values you can't just subtract
them.
Imagine you are comparing: "uint32_t u1" and "uint32_t u2". If you use
"u1 - u2" and u2 is zero, then the signed integer result will depend
on the top bit of u1.
This error occurs in a few places in Samba. For DRS replication it
resulted in corrupt uptodateness vectors.
2009-12-21 23:41:07 +11:00
Günther Deschner
be95cb6f83
spoolss: more mork on SetPrinterInfo() levels.
...
Guenther
2009-12-17 10:43:31 +01:00
Günther Deschner
64e588f868
spoolss: add spoolss_DriverInfo7.
...
Guenther
2009-12-16 16:09:41 +01:00
Volker Lendecke
0d10efe1fd
s3: Allow up to 20480 entries in LookupSids, as mandated by the official IDL
...
Seen in the wild by putting >1000 users into BUILTIN\Users
2009-12-14 17:00:12 +01:00
Brian Lu
a3b7e84a65
librpc/ndr: avoid comparison_fn_t to fix the openchange build on solaris
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 11:08:45 +01:00
Matthieu Patou
8f8613dcef
idl: introduce new file: dfsblobs.idl
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Stefan Metzmacher
05effef1aa
librpc/ndr: add missing prototypes for relative_short functions
...
metze
2009-12-14 10:58:31 +01:00
Günther Deschner
e316624ddb
spoolss: fix spoolss_PrinterData size calculation.
...
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL)
string for a separator file was returned.
Guenther
2009-12-14 10:39:34 +01:00
Günther Deschner
5ae61cfbc2
spoolss: trivial fix for spoolss_FormInfo2 IDL.
...
Guenther
2009-12-14 10:38:53 +01:00
Matthieu Patou
f0054da041
librpc/ndr: add support for relative_short pointers
...
relative_short is like relative but instead of having the offset coded on 4 bytes
it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-12 10:21:22 +01:00
Günther Deschner
835e7d6c98
spoolss: remove unused spoolss_StringArray2.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
fa413d167b
s3: re-run make samba3-idl.
...
Guenther
2009-12-10 17:48:49 +01:00
Günther Deschner
0ecb7f6ab2
spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.
...
Guenther
2009-12-10 17:48:49 +01:00
Günther Deschner
cf2561473f
spoolss: add spoolss_KeyNames union.
...
Guenther
2009-12-10 17:48:49 +01:00
Andrew Tridgell
3ce800dcbe
libndr: added a GUID_to_ndr_blob() helper function
...
This can be used in many places that deal with GUIDs
2009-12-10 17:51:28 +11:00
Andrew Tridgell
effff54426
librpc: split out a separate GUID_from_ndr_blob() function
...
This will simplify many of the places that deal with NDR formatted
GUIDs
2009-12-10 17:51:26 +11:00
Günther Deschner
fb3b0987f7
spoolss: add more spoolss architectures to IDL.
...
Guenther
2009-12-08 16:20:51 +01:00
Günther Deschner
1b6c444557
spoolss: fix spoolss_DriverInfo8 IDL.
...
found by RPC-SPOOLSS torture teset.
Guenther
2009-12-08 11:51:16 +01:00
Günther Deschner
08823166a1
spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.
...
Guenther
2009-12-07 14:42:12 +01:00
Günther Deschner
f32ccc321a
spoolss: hand-marshall the spoolss_StringArray2 struct for spoolss_EnumPrinterKey.
...
This call is just driving me nuts :-)
Guenther
2009-12-03 01:04:02 +01:00
Günther Deschner
5f60855ba2
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
...
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.
Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
292af4fc04
spoolss: add spoolss_StringArray2.
...
The difference to spoolss_StringArray is that in spoolss_StringArray2 the string
array is put into a subcontext of _ndr_size.
Guenther
2009-12-02 14:37:02 +01:00
Günther Deschner
91bb065977
s3-spoolss: move MAXDEVICENAME to spoolss idl.
...
Guenther
2009-12-02 14:36:36 +01:00
Günther Deschner
b852a3494a
drsuapi: fix build warning of NDR size calculation of drsuapi_DsReplicaObjectIdentifier3Binary.
...
The generated size actually does not include the size of the binary itself.
Guenther
2009-12-01 00:36:50 +01:00
Matthias Dieter Wallnöfer
2e7ccdcb66
security.idl - Add some more wellknown SIDs/RIDs
2009-11-27 22:36:59 +01:00
Günther Deschner
23d77be6cb
misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.
...
Guenther
2009-11-27 16:16:00 +01:00
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
Anatoliy Atanasov
c9dc6506e6
s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_CRITICAL_ONLY req in getncchanges
2009-09-23 15:50:51 -07:00
Stefan Metzmacher
5925e2952c
Revert "r20074: this values seem to be typos in drsuapi"
...
This reverts commit 1dfd365d57
This change was from and the flags I was seeing have another meaning.
metze
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-23 15:50:42 -07:00
Andrew Tridgell
b60854ec46
regenerate IDL
2009-09-23 14:01:28 -07:00
Andrew Tridgell
a50672b44b
idl: fixed string termination for netlogon GetDomainInfo
2009-09-23 13:57:59 -07:00
Andrew Tridgell
43f7d7e1b1
s4-nbt: added NBT_SERVER_DNS_FOREST
2009-09-23 13:57:59 -07:00
Stefan Metzmacher
c14b2eb8dd
librpc: rerun 'make idl'
...
metze
2009-09-20 06:37:24 +02:00
Stefan Metzmacher
1c3a706932
drsblobs.idl: fix repsFromTo2 blob size calculation
...
metze
2009-09-20 06:36:39 +02:00
Stefan Metzmacher
cc48e9a01a
rerun: make idl
...
metze
2009-09-20 06:17:33 +02:00
Stefan Metzmacher
8958a04e6f
drsblobs.idl: add decoding for repsFromTo2
...
This is used in windows 2008.
metze
2009-09-20 06:17:32 +02:00
Stefan Metzmacher
199072b95a
librpc: rerun 'make idl'
...
metze
2009-09-18 20:34:40 +02:00
Stefan Metzmacher
c29364f4b0
named_pipe_auth.idl: add infrastructure to pass delegated credentials
...
metze
2009-09-18 20:34:40 +02:00
Andrew Tridgell
f2f8bb7b57
ndrdump: fixed help
2009-09-17 21:52:27 -07:00
Andrew Tridgell
3ec638c770
ndr: num_auths is an array size, thus a uint3264
2009-09-17 21:52:27 -07:00
Andrew Tridgell
ae91cff259
ndr: split out ndr enum functions
...
This allows for easier implementation of the NDR32/NDR64 split
2009-09-17 21:52:26 -07:00
Andrew Tridgell
c2523d2e2b
idl: recompile our IDL
...
The NDR64 change affects every IDL file
2009-09-17 21:52:26 -07:00
Andrew Tridgell
f93d716516
s4-rpc: added NDR64 support
...
This adds support for the nd464 binding string option
2009-09-17 21:52:24 -07:00
Andrew Tridgell
90770e45c7
ndr: added support for NDR64
...
This adds NDR64 support for the push functions in libndr
2009-09-17 21:52:24 -07:00
Jeremy Allison
fc20da50a6
Re-generated idl files with () for enum values.
...
Jeremy.
2009-09-17 11:28:37 -07:00
Jeremy Allison
b92c399d97
Check in modified generated files for systems where pidl can't run.
...
Jeremy.
2009-09-17 11:16:54 -07:00
Jeremy Allison
e91cdef2d4
Remove ununsed variable warning.
...
Jeremy.
2009-09-17 09:25:25 -07:00
Andrew Tridgell
aa7aa664dc
idl: added DRS GetNCChanges level 10
2009-09-17 00:12:15 -07:00
Andrew Tridgell
39385f559c
idl: rebuild drsuapi.idl
2009-09-17 00:05:34 -07:00
Andrew Tridgell
8ea2cb2403
idl: added DsExecuteKCC IDL
2009-09-17 00:05:22 -07:00
Andrew Tridgell
9407ab573e
ndr: added --ndr64 flag to ndrdump
...
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump
usage, which is always 64bit.
2009-09-16 23:59:53 -07:00
Nadezhda Ivanova
53d6dd3d52
security:idl Generated files
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-09-16 07:52:15 -07:00
Nadezhda Ivanova
d70e171719
Owner and group defaulting.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-09-16 07:52:05 -07:00
Günther Deschner
94d83b62c9
s3-ntlmssp: add missing prototype.
...
Guenther
2009-09-16 08:55:59 +02:00
Günther Deschner
c5c04fcf90
s3-schannel: add dump_NL_AUTH_SIGNATURE.
...
Guenther
2009-09-16 07:54:02 +02:00
Günther Deschner
9831e7675c
ntlmssp: pretty print a VERSION structure.
...
Guenther
2009-09-15 17:54:58 +02:00
Günther Deschner
ed03edc2e4
ntlmssp: better document to what structures we are reffering to.
...
Guenther
2009-09-15 17:54:55 +02:00
Günther Deschner
b8834cad07
schannel: remove unused schannel structs.
...
Guenther
2009-09-14 06:49:58 +02:00
Andrew Tridgell
5c33042498
s4-ndr: fixed memory leaks in ndr_pull_*_blob()
...
We needed to free the ndr structures, both on error and normal return
2009-09-12 15:21:33 +10:00
Matthias Dieter Wallnöfer
5ad756fad3
netlogon.idl - rerun "make idl"
2009-09-11 22:03:45 +02:00
Matthieu Patou
c6dd2c9552
s4: Fix parsing of CSDVersion: treat this field as an string null terminated.
...
CDSVersion field contains one utf16 string and then garbage which pertubated the parsing.
We use subcontext to clearly define the size of the whole blob and then let the parser to find
the real length of the string.
This is a fix for bug 6706, many thanks to Gunter for the PIDL guidelines.
2009-09-11 19:16:58 +02:00
Andrew Tridgell
d7d7613e31
s4-idl: added the IDL for the DsReplica* calls
2009-09-11 22:13:45 +10:00
Günther Deschner
1d4bf02993
lsa: fill in more unknowns in lsa_LookupSid calls.
...
Guenther
2009-09-11 13:59:56 +02:00
Matthias Dieter Wallnöfer
049c780c59
netlogon.idl: indent correctly
2009-09-11 13:38:29 +02:00
Günther Deschner
8990865c7f
lsa: use lsa_LookupNamesLevel in lsa_LookupSids{2,3}.
...
Guenther
2009-09-11 12:23:00 +02:00
Günther Deschner
721b76cfba
schannel: more work on reponse NL_AUTH_MESSAGES.
...
Guenther
2009-09-11 02:57:19 +02:00
Andrew Tridgell
3adbbaee3b
s4: regenerate drsuapi IDL
2009-09-10 12:12:49 +10:00
Andrew Tridgell
7c5ce719eb
s4/drsuapi: tech the IDL about some more key attribute names
2009-09-10 12:12:49 +10:00
Andrew Tridgell
dca7afb799
s4: fixed format of repsTo in samdb
...
Metze pointed out what the windows tool ldp.exe will examine repsTo
attributes on remote DCs, so we do in fact need to use the same format
that windows uses. This patch changes the server side implementation
of UpdateRefs to use the windows format
2009-09-09 12:36:51 +10:00
Günther Deschner
f745d076d3
ntlmssp: avoid duplicate inclusion of helper headers.
...
Guenther
2009-09-09 01:04:17 +02:00
Günther Deschner
2b16380a0e
ntlmssp: add some void decode calls (useful for ndrdump).
...
Guenther
2009-09-08 22:27:41 +02:00
Günther Deschner
4323c1321a
schannel: add missing prototype for ndr_print_nbt_string() in schannel helper.
...
Hopefully fixes samba4 build.
Guenther
2009-09-08 17:07:03 +02:00
Günther Deschner
4fd9a9d6de
schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.
...
These actually belong netlogon but we for now want to keep netlogon as a security
providor separate.
Guenther
2009-09-08 14:55:10 +02:00
Andrew Bartlett
1d37a8171c
s4:idl Add generated code for netlogon.idl changes
2009-09-08 22:44:51 +10:00
Matthieu Patou
a915575158
Return a correct value for Supported Encryption Type
...
Vista and upper version use this value to check wether they should ask the DC
to change the msDS-SupportedEncryptionTypes attribute or not.
Declare the different value as a bitmap in Netlogon idl
2009-09-08 22:44:50 +10:00
Andrew Tridgell
ac77482e87
s4: commit generated DRS changes
2009-09-08 11:52:45 +10:00
Andrew Tridgell
5cd6b460ff
s4: added the structure for repsTo
...
This structure is stored in NDR format in the repsTo attribute of each
partition. It is updated by the DSUpdateRefs DSRUAPI call
2009-09-08 11:52:45 +10:00
Andrew Tridgell
9a3db7e331
s4: fixed updaterefs options bitmap
2009-09-08 11:52:45 +10:00
Andrew Tridgell
642a84c129
fix the ndr print routines for samba4
...
This uses a hackish #if just for samba4. The proper fix is much more
complex.
2009-09-03 18:36:08 +10:00
Anatoliy Atanasov
c033b2dd2d
Fix for DSSYNC test against Windows 2003
2009-09-03 18:36:08 +10:00
Günther Deschner
a0b1968167
s3-netlogon: use WERRORs in NETLOGON_INFO structures.
...
Guenther
2009-09-02 15:29:44 +02:00
Andrew Tridgell
132242fe7e
add a ref to the WSPP docs
2009-09-02 18:19:55 +10:00
Günther Deschner
792b544e37
netlogon: fill in more details for the netr_LogonControlX family of calls.
...
Guenther
2009-08-31 20:24:04 +02:00
Günther Deschner
94f7c98430
s3-netlogon: add DS_WEB_SERVICE_REQUIRED bit for dsgetdcname calls.
...
Guenther
2009-08-31 20:23:08 +02:00
Günther Deschner
3a519fac8a
ntlmssp: add ndr_print_ntlmssp_{nt,lm}_response() function.
...
Guenther
2009-08-28 10:08:43 +02:00
Günther Deschner
4d1c881239
ntlmssp: re-run make samba3-idl and add generated files.
...
Guenther
2009-08-28 10:08:00 +02:00
Günther Deschner
9b844e7ff3
ntlmssp: add NTLMSSP_MESSAGE_SIGNATURE to IDL.
...
Guenther
2009-08-28 10:05:26 +02:00
Günther Deschner
b4a860ba81
ntlmssp: add AUTHENTICATE_MESSAGE to idl.
...
Guenther
2009-08-28 10:05:19 +02:00
Günther Deschner
e65a3cb0db
ntlmssp: add CHALLENGE_MESSAGE to IDL.
...
Guenther
2009-08-28 10:05:13 +02:00
Günther Deschner
c3a6f28847
ntlmssp: add NEGOTIATE_MESSAGE to IDL.
...
Guenther
2009-08-28 10:05:06 +02:00
Günther Deschner
4e7edc7906
ntlmssp: add string helper functions to handle OEM and UNICODE charset.
...
Guenther
2009-08-28 10:05:00 +02:00
Günther Deschner
d4d2b42a92
ntlmssp: add ntlmssp helper skeleton.
...
Guenther
2009-08-28 10:04:52 +02:00
Günther Deschner
ff7958394c
ntlmssp: add IDL.
...
Guenther
2009-08-28 10:04:43 +02:00
Günther Deschner
5a15778848
schannel: add netlogon_creds_CredentialState to IDL.
...
Guenther
2009-08-27 15:55:18 +02:00
Günther Deschner
9930a12cf5
schannel: add generated files.
...
Guenther
2009-08-26 15:43:11 +02:00
Günther Deschner
aabe577396
schannel: move schannel.idl to main directory.
...
Guenther
2009-08-26 15:43:05 +02:00
Günther Deschner
91ef692d7d
netlogon: make netr_NegotiateFlags a public bitmap.
...
Guenther
2009-08-26 15:42:57 +02:00
Günther Deschner
d896fb2dab
netlogon: give netlogon w7/w2k8r2 AES negotiate flag proper name (see bug #6099 for details).
...
Guenther
2009-08-25 11:12:45 +02:00
Günther Deschner
2840902692
netlogon: add (yet) undocumented netlogon negotiate bit to bitmap.
...
This bit is set by the Win7 client while joining.
Guenther
2009-08-24 23:09:58 +02:00
Günther Deschner
b1ee4c14d4
libndr: add missing protoypes for double type.
...
Guenther
2009-08-24 14:31:22 +02:00
Günther Deschner
80e2500f02
s3: re-run make samba3-idl.
...
Guenther
2009-08-20 14:25:41 +02:00
Günther Deschner
0447af26b6
spoolss: add more spoolss calls to IDL
...
(spoolss_GetPrinterDriverPackagePath and spoolss_GetCorePrinterDrivers).
Guenther
2009-08-20 14:25:41 +02:00
Günther Deschner
abe7648609
netlogon: document some more MSVC flags.
...
Some of these were observed during password changing
from win7 using a samba 3.4 PDC.
Guenther
2009-08-17 18:24:24 +02:00
Kai Blin
31e57ab1e5
librpc: rerun "make idl_full"
2009-08-12 17:59:46 +02:00
Andrew Tridgell
011f103501
when we get an NDR error in the logs, it is useful to know where it happened
2009-08-12 15:33:37 +10:00
Günther Deschner
dc9b4cf001
s3: re-run make samba3-idl.
...
Guenther
2009-08-10 11:32:26 +02:00
Günther Deschner
559dd0d304
spoolss: fill in more details of the spoolss_DeviceMode.
...
Guenther
2009-08-10 11:32:26 +02:00
Stefan Metzmacher
7d7a9210cd
librpc: fix callers after epmapper.idl changes
...
metze
2009-08-07 11:50:23 +02:00
Stefan Metzmacher
cdfaaed9a8
librpc: rerun 'make idl' after epmapper.idl changes
...
metze
2009-08-07 11:50:23 +02:00
Stefan Metzmacher
2823757912
epmapper.idl: avoid usage of 'pipe', this is a reserved word in IDL
...
We now use 'named_pipe' instead.
metze
2009-08-07 11:50:23 +02:00
Matthias Dieter Wallnöfer
3fae13ba80
s3/s4: Add new autogenerated files from "make idl_full"
2009-08-03 09:51:44 +02:00
Matthias Dieter Wallnöfer
721402b8de
netlogon.idl: Prework to enhance the "netr_LogonGetDomainInformation" call correctly
...
This enhances the "netlogon.idl" file to allow enhancements on the mentioned call.
Therefore this is also the base for fixing up bug #4888 .
2009-08-03 09:46:30 +02:00
Matthias Dieter Wallnöfer
e14b2ed8df
netlogon.idl: Removes the form "str[]" for string declarations
...
In this file two different forms are used to explain the same datatype ("str[]" and "*str").
I didn't find this very nice and unified the occurrences to always use "*str".
This patch is of cosmetic nature.
2009-08-03 09:46:30 +02:00
Stefan Metzmacher
933d5ee22b
librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()
...
metze
2009-07-31 14:42:02 +02:00
Stefan Metzmacher
3abe59cb2d
librpc: rerun "make idl"
...
metze
2009-07-31 14:13:55 +02:00
Stefan Metzmacher
b676e63a52
frstrans.idl: add definition of frstrans_InitializeFileTransferAsync()
...
metze
2009-07-27 17:51:36 +02:00
Stefan Metzmacher
826e6a83a0
frstrans.idl: add definition of frstrans_AsyncPoll()
...
metze
2009-07-27 17:51:35 +02:00
Stefan Metzmacher
3142f76e2d
frstrans.idl: add definition of frstrans_RequestVersionVector()
...
metze
2009-07-27 17:51:35 +02:00
Stefan Metzmacher
2a797731a0
frstrans.idl: add definition of frstrans_RequestUpdates()
...
metze
2009-07-27 17:51:35 +02:00
Stefan Metzmacher
a2d0c6cec8
frstrans.idl: add definition of frstrans_EstablishSession
...
metze
2009-07-27 17:51:34 +02:00
Stefan Metzmacher
e31a92c44e
frstrans.idl: add definition of frstrans_EstablishConnection()
...
metze
2009-07-27 17:51:34 +02:00
Stefan Metzmacher
8860a03671
frstrans.idl: add definition of frstrans_CheckConnectivity()
...
metze
2009-07-27 17:51:33 +02:00
Stefan Metzmacher
f167c977d1
librpc: rerun "make idl_full"
...
metze
2009-07-27 17:51:33 +02:00
Jeremy Allison
d373f0b77c
For some strange reason using :
...
uint8 hash[XATTR_SD_HASH_SIZE];
doesn't have the same effect as :
uint8 hash[64];
Jeremy.
2009-07-24 14:13:42 -07:00
Jeremy Allison
1bab4fdaaf
Fix hash function in acl_xattr to be SHA256, make
...
the hash function selectable. Upgrade version.
Compiles but not fully tested yet (coming). Make
vfs_acl_tdb.c compile - this needs updating to
match acl_xattr (also coming soon).
Jeremy.
2009-07-24 14:09:42 -07:00
Stefan Metzmacher
6c99345dd3
frsrpc.idl: add definition of frsrpc_FrsNOP()
...
metze
2009-07-23 18:04:20 +02:00
Stefan Metzmacher
9e154b6b35
frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent()
...
metze
2009-07-23 17:55:28 +02:00
Stefan Metzmacher
2cc4a43d0e
frstrans.idl: add new DFS-R FrsTransport interface with dummy functions
...
metze
2009-07-22 21:33:10 +02:00
Stefan Metzmacher
109b9dcad9
frsrpc.idl: add definition for frsrpc_FrsStartPromotionParent()
...
metze
2009-07-22 21:33:10 +02:00
Stefan Metzmacher
84eced1425
librpc: fix the merged build of ndr_frsrpc.c
...
metze
2009-07-22 13:43:39 +02:00
Stefan Metzmacher
424e763695
frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic
...
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure
and use hand modified ndr_push/pull functions to let it not appear
on the wire.
metze
2009-07-21 19:11:24 +02:00
Stefan Metzmacher
9d148f75c7
frsrpc.idl: almost complete the idl for the frsrpc_FrsSendCommPkt() function
...
TODO: The amount of chunks is dynamic, we need to fix that
metze
2009-07-21 19:11:22 +02:00
Stefan Metzmacher
b91156d4ae
frsapi.idl: fill the frsapi_WriterCommand() function
...
metze
2009-07-21 19:11:22 +02:00
Stefan Metzmacher
1436256613
frsapi.idl: fix some unknown field names
...
metze
2009-07-21 19:11:21 +02:00
Jelmer Vernooij
d8ce8f9b61
Create libndr-standard, which includes the NDR marshalling code for
...
the "standard" set of DCE/RPC interfaces found on Windows.
2009-07-19 12:41:09 +02:00
Günther Deschner
1a7a8d4330
spoolss: fill in some unknowns in spoolss_OSVersion and spoolss_OSVersionEx.
...
Guenther
2009-07-17 17:20:30 +02:00
Günther Deschner
11bea731ae
spoolss: fill in spoolss_Create/DeletePrinterIC + rerun make samba3-idl.
...
Guenther
2009-07-17 15:40:06 +02:00
Günther Deschner
9ac5f5c8ce
lsa: fill in lsa_StorePrivateData and lsa_RetrievePrivateData and rerun make samba3-idl.
...
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
05bec77e00
lsa: fix typo in lsa_TrustDomInfoEnum enum in IDL.
...
Guenther
2009-07-16 03:05:45 +02:00
Günther Deschner
d7c366f8de
s3: re-run make idl.
...
Guenther
2009-07-14 12:10:03 +02:00
Günther Deschner
0595963632
samr: add missing samr_ValidationStatus codes.
...
Guenther
2009-07-14 12:09:56 +02:00
Günther Deschner
cb39ba3d40
spoolss: fill in spoolss_GetPrinterDriver IDL.
...
Guenther
2009-07-03 22:05:37 +02:00
Günther Deschner
c5415e7e09
spoolss: the flags in spoolss_SetPrinterInfo1 are in fact spoolss_PrinterAttributes.
...
Guenther
2009-07-03 22:05:29 +02:00
Günther Deschner
80b62f579f
spoolss: fill in spoolss_AddPrinter IDL.
...
Guenther
2009-07-03 22:05:10 +02:00
Günther Deschner
c4416684f1
spoolss: the flags in spoolss_PrinterInfo1 are in fact spoolss_PrinterAttributes.
...
Guenther
2009-07-02 22:00:42 +02:00
Andrew Bartlett
6e92505080
Fix ndrdump to use a common setup_logging() API
...
By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems.
The revert of 49a6d757b4
works with this
to fix bug 6211.
Andrew Bartlett
2009-06-29 20:12:23 +10:00
Günther Deschner
451a73e3dd
s3: re-run make idl.
...
Guenther
2009-06-23 11:08:36 +02:00
Günther Deschner
ed8c0ed6bd
samr: add samr_UserInfoLevel and samr_DomainInfoClass enums based on MS-SAMR.
...
Guenther
2009-06-23 11:08:36 +02:00
Matthias Dieter Wallnöfer
efe6552f0c
NETLOGON pipe improvements
...
Patch for bug #4939
This refactors the NETLOGON code related to this bug:
- Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc.
to WSPP)
- Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP)
- Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is
also true when a domain is running in mixed mode)
- Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex"
(acc. to WSPP)
- Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-06-18 13:49:25 +10:00
Andrew Tridgell
ff4acca13a
Revert "avoid crashes in ndr_print_*() calls"
...
This reverts commit f5a47dc4bf
.
This change broke Samba3. We'll need to do it the long way.
2009-06-12 15:37:48 +10:00
Andrew Tridgell
f5a47dc4bf
avoid crashes in ndr_print_*() calls
...
This is a hackish fix, but it will do for now
2009-06-12 12:23:46 +10:00
Günther Deschner
54fb170689
lsa: use the lsa access masks in idl.
...
Guenther
2009-06-09 15:15:47 +02:00
Brad Hards
00bfe9c286
Add support for double type in pidl.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-06-02 18:05:42 +02:00
Andrew Kroeger
c9b6e9fd03
s4: Add additional well-known SID's/RID's.
...
Information was found at http://support.microsoft.com/kb/243330
Not all well-known identifiers were included - only those necessary for
enhancing the 2-letter mappings used in SDDL strings were added.
2009-05-29 12:37:25 +10:00
Andrew Bartlett
340c690d17
Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
...
Requires recompile of source4/kdc/*
Found by Andrew Kroeger <andrew@id10ts.net>
Andrew Bartlett
2009-05-29 10:55:43 +10:00
Andrew Bartlett
2e573a7cf4
Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
...
Requires recompile of source4/kdc/*
Found by Andrew Kroeger <andrew@id10ts.net>
Andrew Bartlett
2009-05-29 10:40:22 +10:00
Andrew Bartlett
8c871706e0
Add DOMAIN_RID_KRBTGT define to security.idl
2009-05-27 07:58:07 +10:00
Günther Deschner
9a13af9a99
s4: try to fix privileges implementation in order to pass the RPC-SAMR-USERS-PRIVILEGES test.
...
Guenther
2009-05-20 13:35:05 +02:00
Jeremy Allison
f8da7f5d74
Added mapping table for account object in lsa.
...
Jeremy.
2009-05-19 14:47:25 -07:00
Günther Deschner
d7142fb1b5
s3: re-run make samba3-idl.
...
Guenther
2009-05-19 02:05:18 +02:00
Günther Deschner
7c22eed419
lsa: add access_masks for accounts, secrets and trusted domains to IDL.
...
Guenther
2009-05-19 02:05:10 +02:00
Günther Deschner
7403dd39d6
s3-spoolss: move SPL_ARCH_X defines to IDL.
...
Guenther
2009-05-13 01:56:40 +02:00
Günther Deschner
a4f558da79
spoolss: add SPOOLSS_ARCHITECTURE_ALL to IDL.
...
Guenther
2009-05-13 01:56:40 +02:00
Günther Deschner
b716e57bef
s3-build: re-run make samba3-idl.
...
Guenther
2009-05-13 01:56:40 +02:00
Günther Deschner
c07f4a1299
initshutdown: add shutdown reason codes.
...
Guenther
2009-05-13 01:56:40 +02:00
Volker Lendecke
8f3a9b3c0f
Of course, s_addr is a #define somewhere else .... (Solaris...)
2009-05-02 23:35:30 +02:00
Volker Lendecke
eea114a856
Fix a warning on host "gwen"
...
cc: "../librpc/ndr/ndr_basic.c", line 572: warning 604: Pointers are not assignment-compatible.
Apparently in_addr.s_addr is not compatible to uint32_t, maybe a 32-bit signed
int.
2009-05-02 19:17:23 +02:00
Stefan Metzmacher
863c048d26
rerun "make idl"
...
metze
2009-05-01 17:42:04 +02:00
Stefan Metzmacher
6d27b48b3f
named_pipe_auth.idl: add level 2 and pass the client/server info and session key
...
We also return can return the named pipe mode now.
metze
2009-05-01 17:42:03 +02:00
Günther Deschner
26b9c9370c
wkssvcs: add WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS join flag.
...
Guenther
2009-04-30 23:36:24 +02:00
Günther Deschner
67ca76c288
samr: fix samr_ConnectVersion enum which is 32bit not 16bit.
...
Volker, please check.
Rafal, haven't we seen this in your tests at sambaxp as well ?
Guenther
2009-04-29 01:59:03 +02:00
Günther Deschner
a23fb4663d
svcctl: Fix IDL for svcctl_StartServiceW().
...
Guenther
2009-04-29 01:59:03 +02:00
Andrew Bartlett
9b33766fbb
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
2009-04-21 15:19:50 +02:00