1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

909 Commits

Author SHA1 Message Date
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 1dfd365d57dcd712d315a1a903c8d3d0a0f0fc12

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