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
(This used to be commit a0b401d41ab1396f270518411c4b48e8f5b200a7)

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
(This used to be commit 0b7a5b7284f7820e5b2f48f40e85830243189b58)

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
(This used to be commit c353f2bb91d6cf7553325b94baae8986e85e8ee5)

13 years agor20455: Apply some of the patches from Martin Kuehl <> to
Andrew Bartlett [Tue, 2 Jan 2007 01:07:44 +0000 (01:07 +0000)]
r20455: Apply some of the patches from Martin Kuehl <> 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
(This used to be commit 14e2c877a82d1fcf060455f9b46de5767b71438d)

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

(This used to be commit 9b31e8c1f73aaf71522e33174c8c5415a95ac626)

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

(This used to be commit 72d059e8ca5e0b4708e2a62688592813d0482c82)

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

(This used to be commit 6383e56be88898bf533cc2476ab9e533b2cb0eec)

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

(This used to be commit dbabec633881d7b2521aa17b484e425e6db36e01)

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.
(This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b)

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
(This used to be commit bea98d5f1a341b2867ef6d10fd1d2bd56ae887d0)

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.

(This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)

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

(This used to be commit 44d09e37082a4584040d0acf36109f221a96b184)

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

(This used to be commit 0ce5a3471a6a4e7dfc2eab1ae69964a8c5bb0aea)

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

(This used to be commit 1313b4774542fe5a0013d501225d5b4e8d585128)

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

(This used to be commit 34e126f6590e3fc7ac1f46e09e777993ca10401d)

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

(This used to be commit 76ae50389d9bd2e8fc58ec5914544a865b1b8969)

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

(This used to be commit e77d0d1532e800e0a7b0a4a30cf9b4d97761ee52)

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

(This used to be commit d704c3fca819b042cec50141d25dd2d6a8356418)

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(Case Sensitive)

(This used to be commit c10e1487708003d5a6c06b1547ce46ed4e4b0fe7)

13 years agor20423: Fix debug output
Volker Lendecke [Sat, 30 Dec 2006 17:53:28 +0000 (17:53 +0000)]
r20423: Fix debug output
(This used to be commit 6afc394d9349782788cc06a38750f0723a5a55e7)

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
(This used to be commit 1bcc421dab53adaf3b6c6d7f51c23c80cb637a95)

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)

(This used to be commit c84668bf0da5a791a36f82533b6c0de99b0fe6bf)

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

(This used to be commit 17c52ed27613051beecd5bbf72c6e6e749a21d27)

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

(This used to be commit a801041f1f03b97154d79139d764010453bd9263)

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

(This used to be commit c72f5a16b4de2b8cc4f4a9c21b0dc3915a1d6c9f)

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

(This used to be commit f12776b9a9de55d5c67335d5e59c0d83a74ac939)

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

(This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5)

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

(This used to be commit 437db390795be8d6a375f2d44240b66d4406e148)

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...
(This used to be commit 26a34037a7ca6fbd05c5a6f7c2d5973e34bc6918)

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

(This used to be commit e6a24c2172009b0225fa189b7107217838d286d3)

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

(This used to be commit d042aac3f72ab2022479bee48e49a0ab289315f5)

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

(This used to be commit af78a86d2cf0f05a048c5dfd86ea21c92a9d75b0)

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!

(This used to be commit f860dd2dca391edf55975d582dda0c1d01ddb6e3)

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
(This used to be commit be4c1a36b0e31cbb680d55e8d933818dc3c7435b)

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

(This used to be commit 1a21eb700003db1d7853c9be330b2583db9bff03)

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

(This used to be commit 769ce9799b0e9d1ccc5f2155440e5dedf655d40c)

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

(This used to be commit adceac88519b5d61b759eac6e0b152da0529f85c)

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.

(This used to be commit 1f33d1276c1b207a1e235f347fef66f316a88f65)

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
(This used to be commit bf7ab75875f722cc8499d24d455a94dd83b986ad)

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
(This used to be commit 77169958fc42d8ea4561f6218919a34c330259d3)

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
(This used to be commit a7c83eb7b8e000c51790a9eae67c59c04a4a877c)

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
(This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)

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

(This used to be commit dcb0ea99ba7589a3204d19f54c75a464f97bd1fd)

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

(This used to be commit f7f9f174d77ddf7d4880b430b5dc7154ea1ddb3b)

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

(This used to be commit 4aa31c8862020fa2615ec3cf0b65b1bb7ed10dd4)

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

(This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219)

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

(This used to be commit 1fab753b1da608d49bd976e01286f800c2d42965)

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

(This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474)

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

(This used to be commit 5f0da4a3ae4eae8a6f14f813a65583cef78e73e4)

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

(This used to be commit e769029f42f848db8121c7dcfe5be261861776c8)

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

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
(This used to be commit 3c5ff4e68748cce0bb93d7d141083922d92c3845)

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
(This used to be commit 466f17ea3c8fa4a0a93047abd3529651b4fc9bdc)

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
(This used to be commit 629c72f0c27333cc9ede158e3525e8b03dd295d3)

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
(This used to be commit 21b38ae1e4c48dab4b89f234f4dc26a3aed401c3)

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
(This used to be commit ef1ca30180b1b225579a8200b65a4853a135602f)

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
(This used to be commit 4bd8dbcf41f04be28e2f5d6e15a22f08ba80b948)

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
(This used to be commit 233fc754c44692034c15c82fbafbc47cc40edeb6)

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
(This used to be commit 2080227ac69101a3409e77f47e3ae6869ab604a6)

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
(This used to be commit 5b6b134a0375a527b123617d7d94fa52d7604c02)

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.

(This used to be commit 29db71587f1332a9c44d5993a2be389f3a392ce4)

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

(This used to be commit 1adb0fb291d788d0bf10a49b05970ac72eb4764e)

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

(This used to be commit c7e639763de1f8ddccfb954227feeaddb7386edc)

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

(This used to be commit 02d2ce65e614a0c99ef3246bc738eb0f8d91b24a)

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
(This used to be commit 2e06c38a98e3891ed1f9e823614c3f0c3d279afe)

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
(This used to be commit 05debeaced7296762b293cc804a71abcfb096066)

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
(This used to be commit 79941adbff843f5027dacd31b972deca4a1557ec)

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
(This used to be commit 929fd1beee5cab647702a9b8d8d5e4c2aab23d11)

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
(This used to be commit 0ed2c0a0afea5b0d4c5f49e2493cb6eae694fe40)

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
(This used to be commit 53c5ac7ea6bded2f6019c93027511d5583166bb7)

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
(This used to be commit 7ddf1247eee19f8d1430c9487c6823e7d6d51c42)

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
(This used to be commit 68fd2c76e4377ce59636aac6e3ce7a2ba798f402)

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.

(This used to be commit 9302ef10173a8eaa31935323f899e65f6e7ae95c)

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
(This used to be commit 64ee399c964c2935c1386123e2e636c266c8c6a8)

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

(This used to be commit 6d43c1963856c5140ca3447aa2f9a276035eff8c)

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

(This used to be commit bfb7756bb0f1bbd9a7a17c9689cf2ea351247116)

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.

(This used to be commit f79dcd41e78662c376d29cf210436c0a28cce4e8)

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

(This used to be commit fa59f168b2c4e56c88c415110c220515a148a592)

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

(This used to be commit ed49e4b1f87db483768dec36732b0c9765d1d4bc)

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()

(This used to be commit b8b69ff6bec0c1d412b1f935721b45ef07e9c9f5)

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

(This used to be commit bbd086f2edf81028f2370be8ce0739144cd64b02)

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

(This used to be commit 202645e196b1425f9043bd34dd02a1418e2e3dd9)

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()

(This used to be commit 80b8a968243aadeef7512c03278dbb0d4e88a9f2)

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

(This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)

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

(This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)

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:-)

(This used to be commit dd9ef6e5ab471665d019fbda87c90f5c95bd57ea)

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()

(This used to be commit e28cb83904299fe01e8c0797f5429387f254ed1e)

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

(This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)

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
(This used to be commit 2eb9e6445c64840399171f4f56b1e43786dbcfa7)

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
(This used to be commit 82a09a111b61a099f2ea5cf013eb523191bf9de2)

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
(This used to be commit 0f018cca6f70cb44ab436b3a66edb01e57351eaf)

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.

(This used to be commit 52d9c7ed0acbc286151117bb876559e13981fd44)

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.

(This used to be commit 9bdc19b6d5fe3dff57a07f4b760840d0043a53ad)

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

(This used to be commit 0352b7bbc659f3683355b793630fe44e9fd5b8cb)

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

(This used to be commit df63995ec5f322d17145664c1f174783861e1723)

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

(This used to be commit cfcd6285e1a5367ea4cfa9190658085ed65910b5)

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

(This used to be commit 6a089d48ec1424eea876ef9c1c65e74b5ee33781)

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
(This used to be commit 9a9f18914139370311a13044bde7948a2a901738)

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.
(This used to be commit 48a322a9c19f10fa95c1f8092c643d8e10df1303)

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.
(This used to be commit 40406355135d5bebd9dad27168ab695657271f4f)

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.
(This used to be commit b3f64869fc4590850203a231ecf6810ae9f1d8cf)