samba.git
16 years agor20231: - add more oid => uint32 id mappings
Stefan Metzmacher [Sun, 17 Dec 2006 20:11:40 +0000 (20:11 +0000)]
r20231: - add more oid => uint32 id mappings
- handle the case where mappings for 1.2.3.4. and 1.2.3.4.5. prefixes
  exist
- extend test suite for the mappings

metze

16 years agor20230: I found more mappings of OID string to uint32 id
Stefan Metzmacher [Sun, 17 Dec 2006 19:36:09 +0000 (19:36 +0000)]
r20230: I found more mappings of OID string to uint32 id

metze

16 years agor20226: rename macros with a _LDB at the end, because I'll add macros with _DS
Stefan Metzmacher [Sun, 17 Dec 2006 13:34:56 +0000 (13:34 +0000)]
r20226: rename macros with a _LDB at the end, because I'll add macros with _DS
soon

metze

16 years agor20225: we can't use composite_error() in a _recv() function, as that would
Stefan Metzmacher [Sun, 17 Dec 2006 13:33:43 +0000 (13:33 +0000)]
r20225: we can't use composite_error() in a _recv() function, as that would
trigger the caller to call the _recv() function again and will be an endless
loop.

this is just a fix the to prevent this, and use a more usefull error code
than NT_STATUS_UNSUCCESSFUL

I think we should move the checks about valid responses into the function
which receives the the response (here continue_name_found()),
so that the _recv() function only needs to transfer the output vars to the caller
without any logic to analyse the network response.

metze

16 years agor20224: the struct element msDs_Schema_Extensions and the attribute name "msDs-Schema...
Stefan Metzmacher [Sun, 17 Dec 2006 13:20:57 +0000 (13:20 +0000)]
r20224: the struct element msDs_Schema_Extensions and the attribute name "msDs-Schema-Extensions"
doesn't match so we need to pass 2 parameters to the GET_BLOB() macro

metze

16 years agor20223: this function is in the torture test now
Stefan Metzmacher [Sun, 17 Dec 2006 13:05:34 +0000 (13:05 +0000)]
r20223: this function is in the torture test now

metze

16 years agor20222: return status unsuccessful when null pointers are returned
Rafal Szczesniak [Sun, 17 Dec 2006 13:01:35 +0000 (13:01 +0000)]
r20222: return status unsuccessful when null pointers are returned
from lookup call.

rafal

16 years agor20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
Stefan Metzmacher [Sun, 17 Dec 2006 02:19:56 +0000 (02:19 +0000)]
r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
  a generic location
- this struct should be also used by the dsdb/samdb/ldb_modules/schema.c
  module later
- add functions to map from LDAP OID values to uint32_t values
- add torture test for the OID => uint32 mapping code

metze

16 years agor20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWAT
Derrell Lipman [Sat, 16 Dec 2006 19:07:37 +0000 (19:07 +0000)]
r20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWAT
functionality: basic admin console.

16 years agor20219: add enough knowledge to display the content of attributeSchema objects
Stefan Metzmacher [Sat, 16 Dec 2006 19:05:50 +0000 (19:05 +0000)]
r20219: add enough knowledge to display the content of attributeSchema objects

metze

16 years agor20213: add 2 error codes related to the msDs-IntId attribute
Stefan Metzmacher [Sat, 16 Dec 2006 17:21:53 +0000 (17:21 +0000)]
r20213: add 2 error codes related to the msDs-IntId attribute

metze

16 years agor20205: remove unused var
Stefan Metzmacher [Sat, 16 Dec 2006 01:24:43 +0000 (01:24 +0000)]
r20205: remove unused var

metze

16 years agor20204: use symbolic constant
Stefan Metzmacher [Sat, 16 Dec 2006 01:21:59 +0000 (01:21 +0000)]
r20204: use symbolic constant

metze

16 years agor20198: let the IBM checker ignore the warning about a missing break
Stefan Metzmacher [Fri, 15 Dec 2006 23:00:24 +0000 (23:00 +0000)]
r20198: let the IBM checker ignore the warning about a missing break
statement...

metze

16 years agor20195: fix typo
Stefan Metzmacher [Fri, 15 Dec 2006 22:51:31 +0000 (22:51 +0000)]
r20195: fix typo

metze

16 years agor20194: inline all static talloc functions
Stefan Metzmacher [Fri, 15 Dec 2006 22:47:50 +0000 (22:47 +0000)]
r20194: inline all static talloc functions

metze

16 years agor20193: - let talloc_parent_chunk() handle a NULL pointer
Stefan Metzmacher [Fri, 15 Dec 2006 22:45:36 +0000 (22:45 +0000)]
r20193: - let talloc_parent_chunk() handle a NULL pointer
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()

metze

16 years agor20192: I assume a 'break' is the correct thing to do here,
Stefan Metzmacher [Fri, 15 Dec 2006 22:37:06 +0000 (22:37 +0000)]
r20192: I assume a 'break' is the correct thing to do here,

simo,tridge: please check this.

found by the IBM checker

metze

16 years agor20191: fix bug found by the IBM checker
Stefan Metzmacher [Fri, 15 Dec 2006 22:00:56 +0000 (22:00 +0000)]
r20191: fix bug found by the IBM checker

metze

16 years agor20190: fix the ldb_ldap backend
Stefan Metzmacher [Fri, 15 Dec 2006 21:04:01 +0000 (21:04 +0000)]
r20190: fix the ldb_ldap backend

metze

16 years agor20189: remove unused struct element
Stefan Metzmacher [Fri, 15 Dec 2006 20:22:17 +0000 (20:22 +0000)]
r20189: remove unused struct element

metze

16 years agor20188: move back to an default attribute handler and not use the '*' attribute
Stefan Metzmacher [Fri, 15 Dec 2006 18:56:56 +0000 (18:56 +0000)]
r20188: move back to an default attribute handler and not use the '*' attribute
to not conflict with the one that maybe added via the @ATTRIBUTES object

this is just to make the test-tdb-feature.sh torture test happy

There's still a bug when a attribute is registered multiple time
without removing old ldb_schema_attribute instances. But this bug
was there before my changes too and was just triggered by my changes

metze

16 years agor20187: fix the build on systems without sqlite3
Stefan Metzmacher [Fri, 15 Dec 2006 17:54:47 +0000 (17:54 +0000)]
r20187: fix the build on systems without sqlite3

metze

16 years agor20185: - SMB_ENABLE() needs upper case YES/NO
Stefan Metzmacher [Fri, 15 Dec 2006 13:12:18 +0000 (13:12 +0000)]
r20185: - SMB_ENABLE() needs upper case YES/NO
- fix compilation of the ldb_sqlite3 module

metze

16 years agor20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointer
Stefan Metzmacher [Fri, 15 Dec 2006 13:08:57 +0000 (13:08 +0000)]
r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointer
to a ldb_schema_syntax struct.

the default attribute handler is now registered dynamicly as "*"
attribute, instead of having its own code path.

ldb_schema_attribute's can be added to the ldb_schema given a
ldb_schema_syntax struct or the syntax name

we may also need to introduce a ldb_schema_matching_rule,
and add a pointer to a default ldb_schema_matching_rule
in the ldb_schema_syntax.

metze

16 years agor20182: make the composite api usage more consistant (only cosmetic change)
Stefan Metzmacher [Fri, 15 Dec 2006 11:07:35 +0000 (11:07 +0000)]
r20182: make the composite api usage more consistant (only cosmetic change)

metze

16 years agor20177: return the actual function status code.
Rafal Szczesniak [Thu, 14 Dec 2006 22:45:12 +0000 (22:45 +0000)]
r20177: return the actual function status code.

rafal

16 years agor20176: Info method returns null object if the user is not found.
Rafal Szczesniak [Thu, 14 Dec 2006 22:14:07 +0000 (22:14 +0000)]
r20176: Info method returns null object if the user is not found.

rafal

16 years agor20175: use libnet context instead mem_ctx as the latter gets
Rafal Szczesniak [Thu, 14 Dec 2006 22:12:53 +0000 (22:12 +0000)]
r20175: use libnet context instead mem_ctx as the latter gets
freed just before the function returns.

rafal

16 years agor20168: start separating attributes and syntaxes
Stefan Metzmacher [Thu, 14 Dec 2006 10:03:21 +0000 (10:03 +0000)]
r20168: start separating attributes and syntaxes

metze

16 years agor20167: reenable the ejsnet tests
Stefan Metzmacher [Thu, 14 Dec 2006 08:25:24 +0000 (08:25 +0000)]
r20167: reenable the ejsnet tests

metze

16 years agor20166: we have a dom_sid_add_rid() function that adds the rid after allocating
Stefan Metzmacher [Thu, 14 Dec 2006 08:23:55 +0000 (08:23 +0000)]
r20166: we have a dom_sid_add_rid() function that adds the rid after allocating
enough memory for the new sub_auth element.

the old version wrote behind the buffer.

also make the output sid a pointer.

metze

16 years agor20164: Disable the test till tomorrow when I find out what caused
Rafal Szczesniak [Wed, 13 Dec 2006 23:53:42 +0000 (23:53 +0000)]
r20164: Disable the test till tomorrow when I find out what caused
the crash.

rafal

16 years agor20163: Return null object if no user is found.
Rafal Szczesniak [Wed, 13 Dec 2006 23:37:22 +0000 (23:37 +0000)]
r20163: Return null object if no user is found.

rafal

16 years agor20162: Always return some error string.
Rafal Szczesniak [Wed, 13 Dec 2006 23:36:34 +0000 (23:36 +0000)]
r20162: Always return some error string.

rafal

16 years agor20161: Prevent potential segfault in case account is unknown.
Rafal Szczesniak [Wed, 13 Dec 2006 23:35:50 +0000 (23:35 +0000)]
r20161: Prevent potential segfault in case account is unknown.

rafal

16 years agor20152: Commit missing files from last night's commit. We no longer maintain
Andrew Bartlett [Wed, 13 Dec 2006 20:47:24 +0000 (20:47 +0000)]
r20152: Commit missing files from last night's commit.  We no longer maintain
a distinction between PDC and BDC in the configuration files, only as
an entry in the ldb.

Andrew Bartlett

16 years agor20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
Andrew Bartlett [Wed, 13 Dec 2006 11:19:51 +0000 (11:19 +0000)]
r20149: Remove the smb.conf distinction between PDC and BDC.  Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett

16 years agor20145: fix whitespaces
Stefan Metzmacher [Tue, 12 Dec 2006 23:48:28 +0000 (23:48 +0000)]
r20145: fix whitespaces

metze

16 years agor20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
Stefan Metzmacher [Tue, 12 Dec 2006 23:23:50 +0000 (23:23 +0000)]
r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()

metze

16 years agor20143: a bit of experiments before doing serious changes in ejsnet.
Rafal Szczesniak [Tue, 12 Dec 2006 23:01:51 +0000 (23:01 +0000)]
r20143: a bit of experiments before doing serious changes in ejsnet.

rafal

16 years agor20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
Stefan Metzmacher [Tue, 12 Dec 2006 22:57:43 +0000 (22:57 +0000)]
r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
but that's not needed untill we can support the DsGetNCChanges()
in the server...

metze

16 years agor20141: use the gensec_features of the cli_credentials for ildap connections,
Stefan Metzmacher [Tue, 12 Dec 2006 22:43:35 +0000 (22:43 +0000)]
r20141: use the gensec_features of the cli_credentials for ildap connections,
instead of hardcoded GENSEC_FEATURE_SEAL.

That means plain LDAP is now the default.

metze

16 years agor20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller requested it!
Stefan Metzmacher [Tue, 12 Dec 2006 22:38:23 +0000 (22:38 +0000)]
r20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller requested it!

this is needed to create plain, singed or sealed LDAP connections.

this should go into lorikeet and main heimdal...

metze

16 years agor20138: return the proper status for the other functions as well.
Rafal Szczesniak [Tue, 12 Dec 2006 22:34:35 +0000 (22:34 +0000)]
r20138: return the proper status for the other functions as well.

rafal

16 years agor20137: return the proper status.
Rafal Szczesniak [Tue, 12 Dec 2006 22:28:33 +0000 (22:28 +0000)]
r20137: return the proper status.

rafal

16 years agor20135: attach default gensec features to the cli_credentials structure,
Stefan Metzmacher [Tue, 12 Dec 2006 21:47:56 +0000 (21:47 +0000)]
r20135: attach default gensec features to the cli_credentials structure,
so make it possible to force encryption or signing.

metze

16 years agor20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfy
Andrew Bartlett [Tue, 12 Dec 2006 21:47:47 +0000 (21:47 +0000)]
r20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfy
the loop entry condition.

Andrew Bartlett

16 years agor20130: remove one more talloc_get_type()
Stefan Metzmacher [Tue, 12 Dec 2006 19:02:14 +0000 (19:02 +0000)]
r20130: remove one more talloc_get_type()

metze

16 years agor20129: remove unused structure elements
Stefan Metzmacher [Tue, 12 Dec 2006 18:58:21 +0000 (18:58 +0000)]
r20129: remove unused structure elements

metze

16 years agor20128: get rid of more talloc_get_type() calls
Stefan Metzmacher [Tue, 12 Dec 2006 18:52:25 +0000 (18:52 +0000)]
r20128: get rid of more talloc_get_type() calls

metze

16 years agor20127: - allocate ldb_handle under ldb_request! fix a mem leak
Stefan Metzmacher [Tue, 12 Dec 2006 18:45:12 +0000 (18:45 +0000)]
r20127: - allocate ldb_handle under ldb_request! fix a mem leak
- pass ldb_request to init_lldb_handle()
- remove some useless talloc_get_type() calls

metze

16 years agor20126: fix talloc hierachy and make lldb a child of module
Stefan Metzmacher [Tue, 12 Dec 2006 18:25:19 +0000 (18:25 +0000)]
r20126: fix talloc hierachy and make lldb a child of module

metze

16 years agor20125: fix some ugly mem leaks in the ldb_ildb backend
Stefan Metzmacher [Tue, 12 Dec 2006 18:14:31 +0000 (18:14 +0000)]
r20125: fix some ugly mem leaks in the ldb_ildb backend

metze

16 years agor20123: - avoid some more talloc_get_type() calls
Stefan Metzmacher [Tue, 12 Dec 2006 17:37:41 +0000 (17:37 +0000)]
r20123: - avoid some more talloc_get_type() calls
- pass down ldb_request

metze

16 years agor20122: pass ildb to ildb_request_noop()
Stefan Metzmacher [Tue, 12 Dec 2006 17:20:38 +0000 (17:20 +0000)]
r20122: pass ildb to ildb_request_noop()

metze

16 years agor20121: pass down the ldb_request struct to ildb_request_send(),
Stefan Metzmacher [Tue, 12 Dec 2006 17:14:58 +0000 (17:14 +0000)]
r20121: pass down the ldb_request struct to ildb_request_send(),
also pass ildb instead of module, to avoid multiple talloc_get_type() calls

metze

16 years agor20120: fix the talloc hierachy and make ildb a child of module
Stefan Metzmacher [Tue, 12 Dec 2006 16:56:53 +0000 (16:56 +0000)]
r20120: fix the talloc hierachy and make ildb a child of module

metze

16 years agor20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
Stefan Metzmacher [Tue, 12 Dec 2006 07:53:12 +0000 (07:53 +0000)]
r20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:

   Here is a patch that adds a torture:dc_binding parametric option to
   torture_create_testuser in testjoin.c. This patch is used in OpenChange
   torture tests when the AD is different from the Exchange Server. This generic
   option could also be used for later 'member server' tests in Samba4.

metze

16 years agor20114: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
Stefan Metzmacher [Tue, 12 Dec 2006 07:46:06 +0000 (07:46 +0000)]
r20114: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:

  I've attached the patch which fix this problem. I've only added
  DCERPC_NDR_REF_ALLOC to the connection flags. This way it is processed
  correctly by ndr_pull_init_flags and added to the ndr flags of the pull
  structure.

metze

16 years agor20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
Andrew Bartlett [Mon, 11 Dec 2006 23:59:03 +0000 (23:59 +0000)]
r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
particular to verify more expected results.

Also return more details from the join process.  Now we also return
the machine account's GUID.

Andrew Bartlett

16 years agor20111: this is the total object count of the current replication cycle
Stefan Metzmacher [Mon, 11 Dec 2006 20:14:49 +0000 (20:14 +0000)]
r20111: this is the total object count of the current replication cycle

metze

16 years agor20109: let libnet_BecomeDC() work against w2k servers
Stefan Metzmacher [Mon, 11 Dec 2006 17:04:43 +0000 (17:04 +0000)]
r20109: let libnet_BecomeDC() work against w2k servers

metze

16 years agor20108: match w2k3 and send 1.2.840.48018.1.2.2 before 1.2.840.113554.1.2.2
Stefan Metzmacher [Mon, 11 Dec 2006 16:45:31 +0000 (16:45 +0000)]
r20108: match w2k3 and send 1.2.840.48018.1.2.2 before 1.2.840.113554.1.2.2
to work better against w2k, so we don't get redirected from
1.2.840.113554.1.2.2 to 1.2.840.48018.1.2.2 by a w2k server, causing 2 additional
auth roundtrips.

metze

16 years agor20107: don't segfault when the server didn't send a supportedMech in a negTokenTarg
Stefan Metzmacher [Mon, 11 Dec 2006 16:36:30 +0000 (16:36 +0000)]
r20107: don't segfault when the server didn't send a supportedMech in a negTokenTarg

this happens because we send 1.2.840.113554.1.2.2 before 1.2.840.48018.1.2.2
in the negTokenInit. And w2k's spnego code redirects us to use 1.2.840.48018.1.2.2
and then we start the our spnego engine with 1.2.840.48018.1.2.2 and in the then following
negTokenTarg w2k don't send the supportedMech (which means it aggrees in what we've choosen)

metze

16 years agor20106: Optional ONE Level indexing for ldb_tdb
Simo Sorce [Mon, 11 Dec 2006 15:49:39 +0000 (15:49 +0000)]
r20106: Optional ONE Level indexing for ldb_tdb
To activate it you must modify the @INDEXLIST object adding
the attribute @IDXONE: 1

Ldb test included

Simo.

16 years agor20105: remove useless comments
Stefan Metzmacher [Mon, 11 Dec 2006 13:17:36 +0000 (13:17 +0000)]
r20105: remove useless comments

metze

16 years agor20104: this is a alternative events backend, which uses a hybrid of aio and
Andrew Tridgell [Mon, 11 Dec 2006 08:53:29 +0000 (08:53 +0000)]
r20104: this is a alternative events backend, which uses a hybrid of aio and
epoll. It is not linked in anywhere yet - I'm committing it in case
anyone else wants to have a look at it.

The concept is quite strange really, but it seems to be the only way
that Linux 2.6.x can currently use a unified event model allowing for
AIO events and socket events to be waited for by a single unified
event wait function. You setup a epoll system, then setup a weird aio
event that points at the epoll system, then use io_getevents() to
actually do the waiting.

I'm hoping that kevents or a proper integration of epoll will allow us
to avoid ths rather hackish scheme, but meanwhile this is the only
path to proper AIO in Samba on Linux (without a horrible signals mess)

(NOTE: this code requires some kernel patches to work at the moment)

16 years agor20103: Change the returned type of prerequisite checking functions,
Rafal Szczesniak [Sun, 10 Dec 2006 23:43:32 +0000 (23:43 +0000)]
r20103: Change the returned type of prerequisite checking functions,
as metze once suggested.

rafal

16 years agor20102: Do not reference remote_ldb before we initialise it. This should fix
Andrew Bartlett [Sun, 10 Dec 2006 23:28:36 +0000 (23:28 +0000)]
r20102: Do not reference remote_ldb before we initialise it.  This should fix
up many of the build farm failures.

Andrew Bartlett

16 years agor20101: Also rename a variable now that the unused parameter is gone
Simo Sorce [Sun, 10 Dec 2006 22:24:28 +0000 (22:24 +0000)]
r20101: Also rename a variable now that the unused parameter is gone

16 years agor20100: Remove completely unused parameters
Simo Sorce [Sun, 10 Dec 2006 22:21:55 +0000 (22:21 +0000)]
r20100: Remove completely unused parameters

16 years agor20099: Add some comments, and correct others.
Andrew Bartlett [Sun, 10 Dec 2006 22:21:20 +0000 (22:21 +0000)]
r20099: Add some comments, and correct others.

Andrew Bartlett

16 years agor20096: now I'm 100% sure:-)
Stefan Metzmacher [Sat, 9 Dec 2006 15:30:15 +0000 (15:30 +0000)]
r20096: now I'm 100% sure:-)

metze

16 years agor20095: make a complete copy of the binding string
Stefan Metzmacher [Sat, 9 Dec 2006 15:27:22 +0000 (15:27 +0000)]
r20095: make a complete copy of the binding string

metze

16 years agor20094: this should be non-const
Stefan Metzmacher [Sat, 9 Dec 2006 14:49:17 +0000 (14:49 +0000)]
r20094: this should be non-const

metze

16 years agor20093: some documentation updates
Stefan Metzmacher [Sat, 9 Dec 2006 13:54:30 +0000 (13:54 +0000)]
r20093: some documentation updates

metze

16 years agor20092: added a locking benchmark that should be good for benchmarking
Andrew Tridgell [Sat, 9 Dec 2006 03:16:17 +0000 (03:16 +0000)]
r20092: added a locking benchmark that should be good for benchmarking
communitcation in a CIFS clustered server. It tries to keep the
connections full by setting up the next lock as each lock is done.

The locking pattern is similar to the local filesystem ping pong test
in junkcode, forcing a communication between nodes on each request

16 years agor20091: remove blank lines at the end of text lines loaded from a file
Andrew Tridgell [Sat, 9 Dec 2006 03:12:33 +0000 (03:12 +0000)]
r20091: remove blank lines at the end of text lines loaded from a file

16 years agor20088: implement DsReplicaUpdateRefs() calls for all partitions
Stefan Metzmacher [Fri, 8 Dec 2006 18:52:29 +0000 (18:52 +0000)]
r20088: implement DsReplicaUpdateRefs() calls for all partitions

metze

16 years agor20086: pull domain partition
Stefan Metzmacher [Fri, 8 Dec 2006 18:29:44 +0000 (18:29 +0000)]
r20086: pull domain partition

metze

16 years agor20085: add _part to structure elements
Stefan Metzmacher [Fri, 8 Dec 2006 18:22:26 +0000 (18:22 +0000)]
r20085: add _part to structure elements

metze

16 years agor20084: pull the config partition
Stefan Metzmacher [Fri, 8 Dec 2006 18:13:49 +0000 (18:13 +0000)]
r20084: pull the config partition

metze

16 years agor20083: move function together which belong to each other
Stefan Metzmacher [Fri, 8 Dec 2006 18:08:30 +0000 (18:08 +0000)]
r20083: move function together which belong to each other

metze

16 years agor20081: pull the whole schema partition
Stefan Metzmacher [Fri, 8 Dec 2006 18:06:38 +0000 (18:06 +0000)]
r20081: pull the whole schema partition

metze

16 years agor20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
Stefan Metzmacher [Fri, 8 Dec 2006 18:01:30 +0000 (18:01 +0000)]
r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE

metze

16 years agor20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
Stefan Metzmacher [Fri, 8 Dec 2006 17:34:15 +0000 (17:34 +0000)]
r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
this wasn't noticed because on the 1st dc in the forest both have the
same value

metze

16 years agor20078: support the large samba3 reads in RAW-READ test
Andrew Tridgell [Fri, 8 Dec 2006 03:47:55 +0000 (03:47 +0000)]
r20078: support the large samba3 reads in RAW-READ test

16 years agor20077: support large readx replies, as done by samba3 (and the snia spec),
Andrew Tridgell [Fri, 8 Dec 2006 03:47:02 +0000 (03:47 +0000)]
r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers

16 years agor20076: give the guids meanings
Stefan Metzmacher [Fri, 8 Dec 2006 00:26:44 +0000 (00:26 +0000)]
r20076: give the guids meanings

metze

16 years agor20075: start pulling the schema content.
Stefan Metzmacher [Fri, 8 Dec 2006 00:16:36 +0000 (00:16 +0000)]
r20075: start pulling the schema content.

Note: we're not doing the "use the policy handle on a different connection"
      trick, which w2k3 use

metze

16 years agor20074: this values seem to be typos in
Stefan Metzmacher [Fri, 8 Dec 2006 00:11:39 +0000 (00:11 +0000)]
r20074: this values seem to be typos in
http://msdn2.microsoft.com/en-us/library/ms676264.aspx

metze

16 years agor20073: update the computer_dn_str after ldb_rename()
Stefan Metzmacher [Fri, 8 Dec 2006 00:09:07 +0000 (00:09 +0000)]
r20073: update the computer_dn_str after ldb_rename()

metze

16 years agor20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
Stefan Metzmacher [Thu, 7 Dec 2006 20:12:24 +0000 (20:12 +0000)]
r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED

metze

16 years agor20071: move common code into a function
Stefan Metzmacher [Thu, 7 Dec 2006 20:11:00 +0000 (20:11 +0000)]
r20071: move common code into a function

metze

16 years agor20070: implement the 2nd and 3rd drsuapi connection
Stefan Metzmacher [Thu, 7 Dec 2006 19:50:46 +0000 (19:50 +0000)]
r20070: implement the 2nd and 3rd drsuapi connection

metze

16 years agor20068: handle DsAddEntry() errors
Stefan Metzmacher [Thu, 7 Dec 2006 19:18:55 +0000 (19:18 +0000)]
r20068: handle DsAddEntry() errors

metze

16 years agor20067: use a global zero_sid
Stefan Metzmacher [Thu, 7 Dec 2006 15:33:24 +0000 (15:33 +0000)]
r20067: use a global zero_sid

metze

16 years agor20066: use the same sid "Domain Admins" for the security_descriptor
Stefan Metzmacher [Thu, 7 Dec 2006 15:29:38 +0000 (15:29 +0000)]
r20066: use the same sid "Domain Admins" for the security_descriptor

metze

16 years agor20065: make it possible to get the dns domain name and netbios domain name
Stefan Metzmacher [Thu, 7 Dec 2006 15:27:18 +0000 (15:27 +0000)]
r20065: make it possible to get the dns domain name and netbios domain name
of the join account

metze