samba.git
13 years agor20458: This data is invalid, and causes the samba3sam test to fail, because
Andrew Bartlett [Tue, 2 Jan 2007 03:37:07 +0000 (03:37 +0000)]
r20458: This data is invalid, and causes the samba3sam test to fail, because
we now convert these values.

Andrew Bartlett

13 years agor20457: Print more information before asserting
Andrew Bartlett [Tue, 2 Jan 2007 03:36:02 +0000 (03:36 +0000)]
r20457: Print more information before asserting

13 years agor20456: Rename variables to avoid shadowing global function names.
Andrew Bartlett [Tue, 2 Jan 2007 01:39:53 +0000 (01:39 +0000)]
r20456: Rename variables to avoid shadowing global function names.

Andrew Bartlett

13 years agor20455: Apply some of the patches from Martin Kuehl <kuehl@univention.de> to
Andrew Bartlett [Tue, 2 Jan 2007 01:07:44 +0000 (01:07 +0000)]
r20455: Apply some of the patches from Martin Kuehl <kuehl@univention.de> to
better handle the Samba3 backend.

I've refactored the password format patch to use the routines in
lib/samba3/smbpasswd.c, which has required me to move this into a
seperate subsystem, due to recursive dependencies.

Andrew Bartlett

13 years agor20453: add conversation for the DN_BINARY attribute syntax
Stefan Metzmacher [Mon, 1 Jan 2007 19:35:03 +0000 (19:35 +0000)]
r20453: add conversation for the DN_BINARY attribute syntax

the ldb_to_drsuapi version need to be completed, but it's
currently not used...

metze

13 years agor20452: add conversation for DN strings.
Stefan Metzmacher [Mon, 1 Jan 2007 18:33:20 +0000 (18:33 +0000)]
r20452: add conversation for DN strings.

TODO: we need to implement linked attributes here,
      and keep the guid and sid

metze

13 years agor20450: implement conversation of unicode strings
Stefan Metzmacher [Mon, 1 Jan 2007 17:40:19 +0000 (17:40 +0000)]
r20450: implement conversation of unicode strings

metze

13 years agor20449: Happy New Year!
Stefan Metzmacher [Mon, 1 Jan 2007 17:29:50 +0000 (17:29 +0000)]
r20449: Happy New Year!

metze

13 years agor20446: rename swat directory to swat.obsolete; keeping it around since there is...
Derrell Lipman [Sun, 31 Dec 2006 20:12:12 +0000 (20:12 +0000)]
r20446: rename swat directory to swat.obsolete; keeping it around since there is lots of useful info in it.

13 years agor20445: add README file indicating that the swat directory is no longer relevant
Derrell Lipman [Sun, 31 Dec 2006 20:07:22 +0000 (20:07 +0000)]
r20445: add README file indicating that the swat directory is no longer relevant

13 years agor20444: WEB Application framework / SWAT.
Derrell Lipman [Sun, 31 Dec 2006 20:05:29 +0000 (20:05 +0000)]
r20444: WEB Application framework / SWAT.

We're now at the stage where the web application framework should build and
install automatically.

Derrell

13 years agor20441: fix compiler warnings
Stefan Metzmacher [Sun, 31 Dec 2006 13:05:30 +0000 (13:05 +0000)]
r20441: fix compiler warnings

metze

13 years agor20440: some OID syntax attributes need special handling
Stefan Metzmacher [Sun, 31 Dec 2006 12:56:11 +0000 (12:56 +0000)]
r20440: some OID syntax attributes need special handling

metze

13 years agor20439: this should be const pointers
Stefan Metzmacher [Sun, 31 Dec 2006 12:55:28 +0000 (12:55 +0000)]
r20439: this should be const pointers

metze

13 years agor20438: - bail out on conversation errors
Stefan Metzmacher [Sun, 31 Dec 2006 12:32:15 +0000 (12:32 +0000)]
r20438: - bail out on conversation errors
- create a valid ldb_message
- dump the ldb_message if --option="become dc:dump objects=yes" is passed to smbtorture

metze

13 years agor20437: add conversation function for OID's
Stefan Metzmacher [Sun, 31 Dec 2006 12:30:06 +0000 (12:30 +0000)]
r20437: add conversation function for OID's

metze

13 years agor20436: add more comments and add macros signed versions of the 64 bit
Stefan Metzmacher [Sun, 31 Dec 2006 12:28:16 +0000 (12:28 +0000)]
r20436: add more comments and add macros signed versions of the 64 bit
macros

metze

13 years agor20435: implement the syntax conversation functions for most of the attribute syntaxes
Stefan Metzmacher [Sun, 31 Dec 2006 12:18:59 +0000 (12:18 +0000)]
r20435: implement the syntax conversation functions for most of the attribute syntaxes

metze

13 years agor20425: a w2k3 forest doesn't have objects with attribute values
Stefan Metzmacher [Sat, 30 Dec 2006 20:06:27 +0000 (20:06 +0000)]
r20425: a w2k3 forest doesn't have objects with attribute values
using the following attribute syntaxes by default:

String(Numeric)
String(Printable)
String(Teletex)
String(IA5)
String(UTC-Time)
String(Case Sensitive)
Object(OR-Name)
Object(Access-Point)
Object(DN-String)

metze

13 years agor20423: Fix debug output
Volker Lendecke [Sat, 30 Dec 2006 17:53:28 +0000 (17:53 +0000)]
r20423: Fix debug output

13 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

13 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

13 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

13 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

13 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

13 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

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

metze

13 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

13 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...

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

metze

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

metze

13 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

13 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

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

metze

13 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

13 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

13 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

13 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

13 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

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

metze

13 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

13 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

13 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

13 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

13 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.

13 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.

13 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.