metze/samba/wb-ndr.git
16 years agor20423: Fix debug output
Volker Lendecke [Sat, 30 Dec 2006 17:53:28 +0000 (17:53 +0000)]
r20423: Fix debug output

16 years agor20422: A torture test extension for Jeremy
Volker Lendecke [Sat, 30 Dec 2006 17:39:27 +0000 (17:39 +0000)]
r20422: A torture test extension for Jeremy

16 years agor20421: - delay the schema analysis untill the full schema is tranferred
Stefan Metzmacher [Sat, 30 Dec 2006 11:56:00 +0000 (11:56 +0000)]
r20421: - delay the schema analysis untill the full schema is tranferred
- call translation hooks for all attributes (but ignore the error for now)

metze

16 years agor20420: create infrastructure to convert attribute values from drsuapi to ldb
Stefan Metzmacher [Sat, 30 Dec 2006 11:51:35 +0000 (11:51 +0000)]
r20420: create infrastructure to convert attribute values from drsuapi to ldb

metze

16 years agor20419: remove unused ojectSid and NTTIME_1sec cases
Stefan Metzmacher [Sat, 30 Dec 2006 11:46:22 +0000 (11:46 +0000)]
r20419: remove unused ojectSid and NTTIME_1sec cases

metze

16 years agor20418: start to get step by step rid of the union for the attribute
Stefan Metzmacher [Sat, 30 Dec 2006 10:51:04 +0000 (10:51 +0000)]
r20418: start to get step by step rid of the union for the attribute
specific attribute values.

start with ntSecurityDescriptor

metze

16 years agor20417: - fix pushing of drsuapi_DsAttributeValueDataBlob
Stefan Metzmacher [Sat, 30 Dec 2006 10:42:01 +0000 (10:42 +0000)]
r20417: - fix pushing of drsuapi_DsAttributeValueDataBlob
- make drsuapi_DsReplicaAttribute public so that the ndr_print_*
  function can be used from the outside

metze

16 years agor20416: fix compiler warnings
Stefan Metzmacher [Sat, 30 Dec 2006 10:15:54 +0000 (10:15 +0000)]
r20416: fix compiler warnings

metze

16 years agor20415: add a function to get the lDAPDisplayName for an objectClass
Stefan Metzmacher [Sat, 30 Dec 2006 09:48:05 +0000 (09:48 +0000)]
r20415: add a function to get the lDAPDisplayName for an objectClass
or attribute

metze

16 years agor20414: Start to make SWAT usable by others. This is just a start...
Derrell Lipman [Sat, 30 Dec 2006 05:09:59 +0000 (05:09 +0000)]
r20414: Start to make SWAT usable by others.  This is just a start...

16 years agor20410: add functions to access dsdb_attributes and dsdb_classes by oid, uint32_id...
Stefan Metzmacher [Fri, 29 Dec 2006 12:36:41 +0000 (12:36 +0000)]
r20410: add functions to access dsdb_attributes and dsdb_classes by oid, uint32_id or ldap name

they will be optimized uing binary searches later...

metze

16 years agor20409: load the attribute syntax for the attribute
Stefan Metzmacher [Fri, 29 Dec 2006 11:50:33 +0000 (11:50 +0000)]
r20409: load the attribute syntax for the attribute

metze

16 years agor20408: fix cut'n'paste error
Stefan Metzmacher [Fri, 29 Dec 2006 11:48:15 +0000 (11:48 +0000)]
r20408: fix cut'n'paste error

metze

16 years agor20407: the oMObjectClass values are not padded to 10 bytes!
Stefan Metzmacher [Fri, 29 Dec 2006 11:46:52 +0000 (11:46 +0000)]
r20407: the oMObjectClass values are not padded to 10 bytes!

metze

16 years agor20406: Metze's change in -r 19662 broke Kerberos logins from Win2k3.
Andrew Bartlett [Fri, 29 Dec 2006 11:01:37 +0000 (11:01 +0000)]
r20406: Metze's change in -r 19662 broke Kerberos logins from Win2k3.

The reason is long and complex, but is due to forwardable tickets:

We would extract the forwardable ticket from the GSSAPI payload, and
look for the expiry time of the ticket for krbtgt/REALM@REALM.

However, with -r 19662 the ticket is given to the client as being for
krbtgt/realm@REALM, as it asked for a lower case realm.  Heimdal is
case sensitive for realms, and bails out.  (It should just not store
the forwarded ticket).

We need to co-ordinate changes in the KDC with relaxation of checks in
Heimdal, and a better kerberos behaviour testsuite.

Andrew Bartlett

16 years agor20405: add an array with attribute syntexes
Stefan Metzmacher [Fri, 29 Dec 2006 10:35:44 +0000 (10:35 +0000)]
r20405: add an array with attribute syntexes

metze

16 years agor20404: add error code for missing attribute syntax
Stefan Metzmacher [Fri, 29 Dec 2006 10:34:15 +0000 (10:34 +0000)]
r20404: add error code for missing attribute syntax

metze

16 years agor20400: this let ndrdump display the content of a frsrpc_FrsSendCommPkt()
Stefan Metzmacher [Fri, 29 Dec 2006 07:31:04 +0000 (07:31 +0000)]
r20400: this let ndrdump display the content of a frsrpc_FrsSendCommPkt()
call between 2 w2k3 boxes nicely, but I'm not sure if the amount
of 9 chunks is fixed...

metze

16 years agor20399: More SWAT updates
Derrell Lipman [Fri, 29 Dec 2006 04:15:45 +0000 (04:15 +0000)]
r20399: More SWAT updates

The LDB Browser has now been rewritten as a SWAT module.  That brings the
current number of modules to three: Samba Statistics/Status, LDB Browser and
API Documentation.  This should provide a good working example for Brad and
his class, for how additional modules can be added.

The basic infrastructure for SWAT is now entirely in place.  Next step is to
deal with putting the qooxdoo developers' kit someplace, as it is required for
making changes to SWAT, and reorganizing the swat directory hierarchy to
remove (or move to elsewhere) a bunch of old cruft.  The final step will be
ensuring that SWAT installs during a Samba build, so that it becomes useful.
(Much of this "next" and "final" step stuff will likely have to wait until
after New Years.

Derrell

16 years agor20398: Revert this patch, which caused failures in the samba3sam.js build farm test.
Andrew Bartlett [Fri, 29 Dec 2006 01:51:45 +0000 (01:51 +0000)]
r20398: Revert this patch, which caused failures in the samba3sam.js build farm test.

The interaction of the samldb.c module and this function is complex...

Andrew Bartlett

16 years agor20397: Another user of the DsCrackNames call needs a rename following IDL clarification.
Andrew Bartlett [Fri, 29 Dec 2006 00:36:57 +0000 (00:36 +0000)]
r20397: Another user of the DsCrackNames call needs a rename following IDL clarification.

Andrew Bartlett

16 years agor20396: Missed one user of the renamed elements.
Andrew Bartlett [Thu, 28 Dec 2006 23:32:43 +0000 (23:32 +0000)]
r20396: Missed one user of the renamed elements.

Andrew Bartlett

16 years agor20395: Decode more unknowns in the IDL. These are language and codepage IDs!
Andrew Bartlett [Thu, 28 Dec 2006 22:51:56 +0000 (22:51 +0000)]
r20395: Decode more unknowns in the IDL.  These are language and codepage IDs!

Try to pass more of the CrackNames test.  Make the test quieter.

Andrew Bartlett

16 years agor20392: initial idl for frsrpc_FrsSendCommPkt()
Stefan Metzmacher [Thu, 28 Dec 2006 21:00:51 +0000 (21:00 +0000)]
r20392: initial idl for frsrpc_FrsSendCommPkt()

there's a blob containing the real data,
but that needs handwritten code

metze

16 years agor20391: add idl for the content of the partialAttributeSet attribute
Stefan Metzmacher [Thu, 28 Dec 2006 19:43:43 +0000 (19:43 +0000)]
r20391: add idl for the content of the partialAttributeSet attribute

metze

16 years agor20383: only try to find dlfcn.h if the dlopen symbol was found,
Stefan Metzmacher [Thu, 28 Dec 2006 17:05:23 +0000 (17:05 +0000)]
r20383: only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen

metze

16 years agor20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes
Stefan Metzmacher [Thu, 28 Dec 2006 13:06:29 +0000 (13:06 +0000)]
r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes

metze

16 years agor20381: verify the incoming oid mappings and schema info for the config and domain...
Stefan Metzmacher [Thu, 28 Dec 2006 12:54:55 +0000 (12:54 +0000)]
r20381: verify the incoming oid mappings and schema info for the config and domain partition too

metze

16 years agor20380: verify the incoming schema info and oid mappings
Stefan Metzmacher [Thu, 28 Dec 2006 12:50:39 +0000 (12:50 +0000)]
r20380: verify the incoming schema info and oid mappings

metze

16 years agor20379: - make sure the schema info blob is 21 bytes long
Stefan Metzmacher [Thu, 28 Dec 2006 12:49:53 +0000 (12:49 +0000)]
r20379: - make sure the schema info blob is 21 bytes long
- add a function to verify the incoming mapping and schema info

metze

16 years agor20378: add new error code that says the schema mismatches between DC's
Stefan Metzmacher [Thu, 28 Dec 2006 12:17:01 +0000 (12:17 +0000)]
r20378: add new error code that says the schema mismatches between DC's

metze

16 years agor20377: Rework the CrackNames implementation to handle some of the BUILTIN sid
Andrew Bartlett [Thu, 28 Dec 2006 04:52:45 +0000 (04:52 +0000)]
r20377: Rework the CrackNames implementation to handle some of the BUILTIN sid
cases.

Adjust our 'look for this value in this attribute, of the result'
function samdb_find_attribute() to use the correct comparison
function, no matter what that may be.

Andrew Bartlett

16 years agor20376: make module registration substantially cleaner
Derrell Lipman [Thu, 28 Dec 2006 04:44:34 +0000 (04:44 +0000)]
r20376: make module registration substantially cleaner

16 years agor20375: Work to improve our CrackNames implementation.
Andrew Bartlett [Thu, 28 Dec 2006 03:33:52 +0000 (03:33 +0000)]
r20375: Work to improve our CrackNames implementation.

We now correctly handle the canonical name as a CrackNames source, for
more than just the DNS domain object.

Andrew Bartlett

16 years agor20374: It's still 2006 (just...). Add copyright.
Andrew Bartlett [Thu, 28 Dec 2006 03:31:50 +0000 (03:31 +0000)]
r20374: It's still 2006 (just...).   Add copyright.

Andrew Bartlett

16 years agor20373: When adding a base to a "" DN, don't precede it with a comma (,)
Andrew Bartlett [Thu, 28 Dec 2006 03:31:18 +0000 (03:31 +0000)]
r20373: When adding a base to a "" DN, don't precede it with a comma (,)

Andrew Bartlett

16 years agor20369: Remember to break if we find a match.
Andrew Bartlett [Wed, 27 Dec 2006 23:54:40 +0000 (23:54 +0000)]
r20369: Remember to break if we find a match.

Andrew Bartlett

16 years agor20367: don't re-load API documentation each time the module is selected
Derrell Lipman [Wed, 27 Dec 2006 22:33:10 +0000 (22:33 +0000)]
r20367: don't re-load API documentation each time the module is selected

16 years agor20366: remove auto-genereated file
Derrell Lipman [Wed, 27 Dec 2006 21:25:18 +0000 (21:25 +0000)]
r20366: remove auto-genereated file

16 years agor20365: SWAT updates, part 2
Derrell Lipman [Wed, 27 Dec 2006 21:24:27 +0000 (21:24 +0000)]
r20365: SWAT updates, part 2

16 years agor20364: SWAT updates, part 1
Derrell Lipman [Wed, 27 Dec 2006 21:22:01 +0000 (21:22 +0000)]
r20364: SWAT updates, part 1

These next few check-ins will add a working Statistics module to SWAT, and add
an API Documentation module as well.

Next step will be to modify the LDB browser to work with this new module and
fsm structure.

Derrell

16 years agor20360: level -4 of DsReplicaGetInfo(), which gives back all open bind handles
Stefan Metzmacher [Wed, 27 Dec 2006 18:00:20 +0000 (18:00 +0000)]
r20360: level -4 of DsReplicaGetInfo(), which gives back all open bind handles
returned by DsBind() on all drsuapi connection also contains the client
ip address. Also the u1 value of the clients DsBindInfoX structure is returned
in u5 here...

metze

16 years agor20359: level -1 of DsGetDomainControllerInfo gives back a list
Stefan Metzmacher [Wed, 27 Dec 2006 17:57:20 +0000 (17:57 +0000)]
r20359: level -1 of DsGetDomainControllerInfo gives back a list
of all active connections to the Directory Service Agent (DSA)
(This can be LDAP or DRSUAPI connections)

abartlet: you had just luck by using flag(BIG_ENDIAN) as BIG_ENDIAN is
          defined in <endian.h>, it should be flag(NDR_BIG_ENDIAN)...

metze

16 years agor20358: - fix ejs generated code for ipv4address
Stefan Metzmacher [Wed, 27 Dec 2006 15:36:50 +0000 (15:36 +0000)]
r20358: - fix ejs generated code for ipv4address
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
  is much more generic than ($e->{TYPE} ne "string")
  and handles ipv4address and other special types...

metze

16 years agor20357: run_trans2test and torture_trans2_scan are two separate tests
Volker Lendecke [Wed, 27 Dec 2006 15:24:48 +0000 (15:24 +0000)]
r20357: run_trans2test and torture_trans2_scan are two separate tests

16 years agor20354: Trusted domains don't have a surname, I think we want 'cn' here.
Andrew Bartlett [Wed, 27 Dec 2006 03:23:25 +0000 (03:23 +0000)]
r20354: Trusted domains don't have a surname, I think we want 'cn' here.

Andrew Bartlett

16 years agor20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
Andrew Bartlett [Wed, 27 Dec 2006 02:01:38 +0000 (02:01 +0000)]
r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
usual things are more complex than they appear.

Also remove the incorrect server-side implementation, which blindly
assumed some sense of consistancy across the API switch levels.

Andrew Bartlett

16 years agor20352: Use the common function to find the DN for a domain.
Andrew Bartlett [Wed, 27 Dec 2006 01:59:33 +0000 (01:59 +0000)]
r20352: Use the common function to find the DN for a domain.

Andrew Bartlett

16 years agor20351: ensure these variables are set in the right place in the Makefile
Andrew Tridgell [Wed, 27 Dec 2006 00:36:03 +0000 (00:36 +0000)]
r20351: ensure these variables are set in the right place in the Makefile

16 years agor20350: configure svn:ignore values via a .ignore file
Derrell Lipman [Mon, 25 Dec 2006 19:39:36 +0000 (19:39 +0000)]
r20350: configure svn:ignore values via a .ignore file

16 years agor20348: don't check in auto-generated code
Derrell Lipman [Mon, 25 Dec 2006 19:30:02 +0000 (19:30 +0000)]
r20348: don't check in auto-generated code

16 years agor20347: added generic rpc fsm and statistics-specific fsm. next step: statistics gui
Derrell Lipman [Mon, 25 Dec 2006 19:23:33 +0000 (19:23 +0000)]
r20347: added generic rpc fsm and statistics-specific fsm.  next step: statistics gui

16 years agor20346: This is the beginnings of a framework for a complete SWAT. It will provide
Derrell Lipman [Sun, 24 Dec 2006 21:42:02 +0000 (21:42 +0000)]
r20346: This is the beginnings of a framework for a complete SWAT.  It will provide
for easily adding modules, and using as much common code as possible.
Although all modules are loaded to the browser as part of the application,
modules are not actually initialized, their finite state machines generated,
or their graphical user interfaces built until they are selected to be viewed
for the first time.

I'm checking this in at this early stage because I promised Brad some
check-ins a week ago, and the flu has kept me unable to do anything for the
past 10 days.  Now that I'm back in working order, I hope to be building on
this regularly over the next few days.

Derrell

16 years agor20341: Make sure we do not regress on r20338 in Samba3
Volker Lendecke [Sun, 24 Dec 2006 15:09:47 +0000 (15:09 +0000)]
r20341: Make sure we do not regress on r20338 in Samba3

16 years agor20332: add mastered-By and msDs-mastered-By attributes to the domain object
Stefan Metzmacher [Sat, 23 Dec 2006 10:55:45 +0000 (10:55 +0000)]
r20332: add mastered-By and msDs-mastered-By attributes to the domain object
the config and schema head objects already have them

metze

16 years agor20331: the last entry in the oid mapping array which starts with 0xFF
Stefan Metzmacher [Sat, 23 Dec 2006 10:39:26 +0000 (10:39 +0000)]
r20331: the last entry in the oid mapping array which starts with 0xFF
is the content of the schemaInfo attribute of the schema head object

metze

16 years agor20328: use prereq function instead of local implementation.
Rafal Szczesniak [Fri, 22 Dec 2006 22:34:45 +0000 (22:34 +0000)]
r20328: use prereq function instead of local implementation.

rafal

16 years agor20327: start to analyse the schema content
Stefan Metzmacher [Fri, 22 Dec 2006 21:31:57 +0000 (21:31 +0000)]
r20327: start to analyse the schema content

metze

16 years agor20326: always set the binding->target_hostname!
Stefan Metzmacher [Fri, 22 Dec 2006 19:38:32 +0000 (19:38 +0000)]
r20326: always set the binding->target_hostname!
we crashed before trying ncacn_np: for frsrpc
as frsrpc doesn't have a ncacn_np endpoint listed
in the idl header and the endpoint mapping code
was trying our smbcli lib with a
NULL target_hostname -> called_name

metze

16 years agor20325: handle NULL strings in is_ipaddress()
Stefan Metzmacher [Fri, 22 Dec 2006 18:53:39 +0000 (18:53 +0000)]
r20325: handle NULL strings in is_ipaddress()

metze

16 years agor20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test
Stefan Metzmacher [Fri, 22 Dec 2006 18:22:40 +0000 (18:22 +0000)]
r20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test

metze

16 years agor20322: I assume the options attribute of the nTDSDSA object contains
Stefan Metzmacher [Fri, 22 Dec 2006 17:40:34 +0000 (17:40 +0000)]
r20322: I assume the options attribute of the nTDSDSA object contains
mutiple flags not just 1 for being a global catalog

metze

16 years agor20321: fix the samdb_partitions_dn() and samdb_sites_dn() calls,
Stefan Metzmacher [Fri, 22 Dec 2006 17:39:01 +0000 (17:39 +0000)]
r20321: fix the samdb_partitions_dn() and samdb_sites_dn() calls,
to use the new samdb_config_dn() call.

also add samdb_ wrappers for samdb_schema_dn() and samdb_config_dn()

metze

16 years agor20320: add missing prototypes
Stefan Metzmacher [Fri, 22 Dec 2006 17:27:07 +0000 (17:27 +0000)]
r20320: add missing prototypes

metze

16 years agor20319: fix compiler warnings
Stefan Metzmacher [Fri, 22 Dec 2006 17:26:09 +0000 (17:26 +0000)]
r20319: fix compiler warnings

metze

16 years agor20318: do what the printf statement says:-)
Stefan Metzmacher [Fri, 22 Dec 2006 17:13:57 +0000 (17:13 +0000)]
r20318: do what the printf statement says:-)

metze

16 years agor20317: store references to all important naming contexts.
Stefan Metzmacher [Fri, 22 Dec 2006 16:59:07 +0000 (16:59 +0000)]
r20317: store references to all important naming contexts.

add ldb_get_config_basedn(), ldb_get_schema_basedn()
and ldb_get_root_basedn()

metze

16 years agor20316: fix compiler warning
Stefan Metzmacher [Fri, 22 Dec 2006 16:53:12 +0000 (16:53 +0000)]
r20316: fix compiler warning

metze

16 years agor20315: Implement the server side of DsGetDomainControllerInfo. This is a
Andrew Bartlett [Fri, 22 Dec 2006 07:04:06 +0000 (07:04 +0000)]
r20315: Implement the server side of DsGetDomainControllerInfo.  This is a
supprisingly complex call...

It turns out that the in/out parameter 'level' is not in/out, but set
seperatly by the server-side code from r->req.req1.level.

This commit also breaks out some common code from samldb into samdb.

Andrew Bartlett

16 years agor20314: I think some hosts need this to get the right ASN1 header deps
Andrew Bartlett [Fri, 22 Dec 2006 07:01:29 +0000 (07:01 +0000)]
r20314: I think some hosts need this to get the right ASN1 header deps

16 years agor20311: Check one more samba3 error path for t2mkdir
Volker Lendecke [Thu, 21 Dec 2006 22:16:16 +0000 (22:16 +0000)]
r20311: Check one more samba3 error path for t2mkdir

16 years agor20309: Don't treat non-supported EAs as fatal against Samba3.
Volker Lendecke [Thu, 21 Dec 2006 21:15:59 +0000 (21:15 +0000)]
r20309: Don't treat non-supported EAs as fatal against Samba3.

Volker

16 years agor20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind...
Volker Lendecke [Thu, 21 Dec 2006 21:14:53 +0000 (21:14 +0000)]
r20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind. Did
not find that in Samba3 code, so there's nothing to port.

Volker

16 years agor20307: remove unused vars
Stefan Metzmacher [Thu, 21 Dec 2006 20:52:31 +0000 (20:52 +0000)]
r20307: remove unused vars

metze

16 years agor20306: remove the static oid mapping table
Stefan Metzmacher [Thu, 21 Dec 2006 20:51:50 +0000 (20:51 +0000)]
r20306: remove the static oid mapping table
and attach the table to the dsdb_schema

metze

16 years agor20305: as the oid mapping table is dynnamic it makes no sense
Stefan Metzmacher [Thu, 21 Dec 2006 20:00:55 +0000 (20:00 +0000)]
r20305: as the oid mapping table is dynnamic it makes no sense
to test the mappings when we got the schema via LDAP
as we don't get the mappings

metze

16 years agor20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
Stefan Metzmacher [Thu, 21 Dec 2006 10:04:08 +0000 (10:04 +0000)]
r20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
the link already exist

metze

16 years agor20302: added support for 64 bit file offsets in NBENCH
Andrew Tridgell [Thu, 21 Dec 2006 06:48:42 +0000 (06:48 +0000)]
r20302: added support for 64 bit file offsets in NBENCH

16 years agor20301: add an option torture:readonly which allows the NBENCH test to be run
Andrew Tridgell [Thu, 21 Dec 2006 05:34:26 +0000 (05:34 +0000)]
r20301: add an option torture:readonly which allows the NBENCH test to be run
read only. This is only any use with customer loadfiles, and
pre-created data. I'm using this to test performance as a video
server, with pre-created video files.

16 years agor20300: Trim number of shared libs significantly.
Jelmer Vernooij [Thu, 21 Dec 2006 03:39:33 +0000 (03:39 +0000)]
r20300: Trim number of shared libs significantly.

16 years agor20299: Disable two new tests that are apparently broken.
Jelmer Vernooij [Thu, 21 Dec 2006 02:48:46 +0000 (02:48 +0000)]
r20299: Disable two new tests that are apparently broken.

16 years agor20298: Fix pidl tests (missing symlink..).
Jelmer Vernooij [Thu, 21 Dec 2006 01:51:35 +0000 (01:51 +0000)]
r20298: Fix pidl tests (missing symlink..).

16 years agor20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMES
Andrew Bartlett [Thu, 21 Dec 2006 00:53:38 +0000 (00:53 +0000)]
r20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMES
test against my win2k3 domain.  I have a child domain, and as such the
BUILTIN domain SID appears multiple times in the tree, and is
therefore not unique.

Andrew Bartlett

16 years agor20295: Add a couple more tests to the CrackNames test.
Andrew Bartlett [Thu, 21 Dec 2006 00:22:20 +0000 (00:22 +0000)]
r20295: Add a couple more tests to the CrackNames test.

16 years agor20294: Without this we don't do the ADS join against Win2k3 SP1
Andrew Bartlett [Wed, 20 Dec 2006 23:43:05 +0000 (23:43 +0000)]
r20294: Without this we don't do the ADS join against Win2k3 SP1

Andrew Bartlett

16 years agor20293: implement store chunk hook for libnet_BecomeDC()
Stefan Metzmacher [Wed, 20 Dec 2006 21:54:06 +0000 (21:54 +0000)]
r20293: implement store chunk hook for libnet_BecomeDC()

metze

16 years agor20292: set ntds_dn_str if DsAddEntry() was successful
Stefan Metzmacher [Wed, 20 Dec 2006 21:17:19 +0000 (21:17 +0000)]
r20292: set ntds_dn_str if DsAddEntry() was successful

metze

16 years agor20291: implement prepare_db hook of libnet_BecomeDC()
Stefan Metzmacher [Wed, 20 Dec 2006 21:14:44 +0000 (21:14 +0000)]
r20291: implement prepare_db hook of libnet_BecomeDC()

metze

16 years agor20288: fix a mem leak and remove useless code
Stefan Metzmacher [Wed, 20 Dec 2006 16:58:10 +0000 (16:58 +0000)]
r20288: fix a mem leak and remove useless code

metze

16 years agor20286: handle the non oid string cases for pushing too
Stefan Metzmacher [Wed, 20 Dec 2006 16:53:29 +0000 (16:53 +0000)]
r20286: handle the non oid string cases for pushing too

metze

16 years agor20285: pass more info to check_options hook and move behavior versions etc.
Stefan Metzmacher [Wed, 20 Dec 2006 16:34:35 +0000 (16:34 +0000)]
r20285: pass more info to check_options hook and move behavior versions etc.
to the domain and forest structures

metze

16 years agor20284: Simplify OID primitive BER parsing.
Simo Sorce [Wed, 20 Dec 2006 15:51:02 +0000 (15:51 +0000)]
r20284: Simplify OID primitive BER parsing.
Do not require an artificial ASN.1 context to be setup.

Simo.

16 years agor20283: pass in callbacks to libnet_BecomeDC() from the caller
Stefan Metzmacher [Wed, 20 Dec 2006 15:34:32 +0000 (15:34 +0000)]
r20283: pass in callbacks to libnet_BecomeDC() from the caller
and implement the check_options call

metze

16 years agor20282: prepare callback infrastructure to check if the forest/domain
Stefan Metzmacher [Wed, 20 Dec 2006 14:49:40 +0000 (14:49 +0000)]
r20282: prepare callback infrastructure to check if the forest/domain
behaviors and the schema version is what the caller expects.
also a callback prepares the new database and commits chunks
to the partitions

metze

16 years agor20281: remove debug statement
Stefan Metzmacher [Wed, 20 Dec 2006 14:47:07 +0000 (14:47 +0000)]
r20281: remove debug statement

metze

16 years agor20280: if the uint8_t array starts with 0xFF, then it's not a OID
Stefan Metzmacher [Wed, 20 Dec 2006 14:44:14 +0000 (14:44 +0000)]
r20280: if the uint8_t array starts with 0xFF, then it's not a OID
and we return the array as hexstring. this is always in the last
array member of the meppings array, and I is always 21 bytes long

w2k in mixed mode:   FF0000000000000000000000000000000000000000
w2k3 in mixed mode:  FF00000002A5DA73B101C43B449028E2F832FE466F
w2k3 in native mode: FF00000001635D94BDE62E2C4C9BAC9D6AFA4F69F8

I assume it's some kind of schema version...

metze

16 years agor20278: make it possible to use oid strings in the drsuapi instead of uint8_t arrays
Stefan Metzmacher [Wed, 20 Dec 2006 13:05:13 +0000 (13:05 +0000)]
r20278: make it possible to use oid strings in the drsuapi instead of uint8_t arrays
with ber encoded oid's

metze

16 years agor20277: make sure the asn1 structure has a welldefined state after a asn1_free()
Stefan Metzmacher [Wed, 20 Dec 2006 12:53:58 +0000 (12:53 +0000)]
r20277: make sure the asn1 structure has a welldefined state after a asn1_free()

metze

16 years agor20276: remove unneeded talloc_strdup()
Stefan Metzmacher [Wed, 20 Dec 2006 12:51:29 +0000 (12:51 +0000)]
r20276: remove unneeded talloc_strdup()

metze

16 years agor20275: we should check for the oid the caller gave us!
Stefan Metzmacher [Wed, 20 Dec 2006 12:50:03 +0000 (12:50 +0000)]
r20275: we should check for the oid the caller gave us!

metze