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

29 Commits

Author SHA1 Message Date
Anatoliy Atanasov
55f7c74cea s4/drs: add DRSUAPI_ATTRIBUTE_options attribute 2010-02-17 18:03:31 +02:00
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
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
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
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
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
4c7bf0527a s4-idl: added some more wellknown attributeIDs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08 13:03:04 +11: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
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
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
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
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
aa7aa664dc idl: added DRS GetNCChanges level 10 2009-09-17 00:12:15 -07:00
Andrew Tridgell
8ea2cb2403 idl: added DsExecuteKCC IDL 2009-09-17 00:05:22 -07:00
Andrew Tridgell
d7d7613e31 s4-idl: added the IDL for the DsReplica* calls 2009-09-11 22:13:45 +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
9a3db7e331 s4: fixed updaterefs options bitmap 2009-09-08 11:52:45 +10:00
Andrew Tridgell
132242fe7e add a ref to the WSPP docs 2009-09-02 18:19:55 +10:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Günther Deschner
80af41b5ea drsuapi: build new merged drsuapi idl and helpers.
Guenther
2008-10-18 23:25:58 +02:00
Günther Deschner
d413e1f40a drsuapi: share drsuapi idl and helper code.
Guenther
2008-10-18 23:25:48 +02:00