summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20188: move back to an default attribute handler and not use the '*' attributeStefan Metzmacher1-2/+15
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 (This used to be commit 70c4a367433f8c54bdd940eb0a6a24ab976a4063)
2007-10-10r20187: fix the build on systems without sqlite3Stefan Metzmacher1-0/+4
metze (This used to be commit 216713d9a034984ffb40889b42837b91abae862a)
2007-10-10r20185: - SMB_ENABLE() needs upper case YES/NOStefan Metzmacher2-27/+29
- fix compilation of the ldb_sqlite3 module metze (This used to be commit 39c41be0ac5bfa39c4ff3267b1a8291857e3a034)
2007-10-10r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointerStefan Metzmacher16-391/+254
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 (This used to be commit b97b8f5dcbce006f005e53ca79df3330e62f117b)
2007-10-10r20182: make the composite api usage more consistant (only cosmetic change)Stefan Metzmacher1-0/+1
metze (This used to be commit 1f67433914bfab83bf1950263809c9e152ad6dcc)
2007-10-10r20177: return the actual function status code.Rafal Szczesniak1-0/+2
rafal (This used to be commit 2d046cc0df820edc141a74e7d204e4fba462e037)
2007-10-10r20175: use libnet context instead mem_ctx as the latter getsRafal Szczesniak1-4/+3
freed just before the function returns. rafal (This used to be commit ca8259fd27d1e92bcb650441461afdfd613e93bf)
2007-10-10r20168: start separating attributes and syntaxesStefan Metzmacher5-36/+46
metze (This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)
2007-10-10r20167: reenable the ejsnet testsStefan Metzmacher1-1/+1
metze (This used to be commit 1e4289fae4fb71725d9c37ed772eab0ff5853e65)
2007-10-10r20166: we have a dom_sid_add_rid() function that adds the rid after allocatingStefan Metzmacher2-12/+10
enough memory for the new sub_auth element. the old version wrote behind the buffer. also make the output sid a pointer. metze (This used to be commit b9901d5f8c9aa777bafd3a670d27209552bc56b7)
2007-10-10r20164: Disable the test till tomorrow when I find out what causedRafal Szczesniak1-1/+1
the crash. rafal (This used to be commit 5d7908038b6508f53cc8714f73ae7c5bfc6bce58)
2007-10-10r20163: Return null object if no user is found.Rafal Szczesniak1-1/+5
rafal (This used to be commit af539fec4acb3ad78b8f0fa4f7c2f4e6cebea0b7)
2007-10-10r20162: Always return some error string.Rafal Szczesniak1-0/+3
rafal (This used to be commit 0c373605776eb166ffe46db0dd21395efc3bb186)
2007-10-10r20161: Prevent potential segfault in case account is unknown.Rafal Szczesniak1-8/+12
rafal (This used to be commit 9f5f9ee9b4b815715c0b580e21ab0906fa15ae96)
2007-10-10r20152: Commit missing files from last night's commit. We no longer maintainAndrew Bartlett4-3/+6
a distinction between PDC and BDC in the configuration files, only as an entry in the ldb. Andrew Bartlett (This used to be commit dc9eee7cb37e4a6828c2cba23b0d836df9eac7b5)
2007-10-10r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett14-183/+406
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 (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
2007-10-10r20145: fix whitespacesStefan Metzmacher1-5/+3
metze (This used to be commit d2d9842914bb049189f9349ff96b32c088cd02a8)
2007-10-10r20144: add NET-API-BECOME-DC test that tests ↵Stefan Metzmacher3-6/+87
libnet_BecomeDC()/libnet_UnbecomeDC() metze (This used to be commit 0359d9a00b3e30e2bd67b89d6b11236e5af0106b)
2007-10-10r20143: a bit of experiments before doing serious changes in ejsnet.Rafal Szczesniak1-1/+41
rafal (This used to be commit 3cdd43ebcedfa7d1d59bd33b3bfed4e80560ec82)
2007-10-10r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),Stefan Metzmacher1-1/+2
but that's not needed untill we can support the DsGetNCChanges() in the server... metze (This used to be commit 9c3267e17f984a0a47abd35cecb56c43cf97efcd)
2007-10-10r20141: use the gensec_features of the cli_credentials for ildap connections,Stefan Metzmacher1-3/+9
instead of hardcoded GENSEC_FEATURE_SEAL. That means plain LDAP is now the default. metze (This used to be commit b69471866c2a6c61002147938f233f2f63963ba4)
2007-10-10r20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller ↵Stefan Metzmacher1-2/+5
requested it! this is needed to create plain, singed or sealed LDAP connections. this should go into lorikeet and main heimdal... metze (This used to be commit 75c037cae21714e394a63f2506387e1049eb4406)
2007-10-10r20138: return the proper status for the other functions as well.Rafal Szczesniak1-3/+7
rafal (This used to be commit 0b82b9dba1f67b1d340b7cf2b35a826135c101d4)
2007-10-10r20137: return the proper status.Rafal Szczesniak1-1/+4
rafal (This used to be commit e635f5aeaf7cd722e55bd99e52a8de166ae0ecd5)
2007-10-10r20135: attach default gensec features to the cli_credentials structure,Stefan Metzmacher3-0/+16
so make it possible to force encryption or signing. metze (This used to be commit a91dc4a02a46370c52f59cbd4dea9580fa6efafa)
2007-10-10r20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfyAndrew Bartlett1-1/+0
the loop entry condition. Andrew Bartlett (This used to be commit c1182751313290fc38af5b1c44bc66b5d1654977)
2007-10-10r20130: remove one more talloc_get_type()Stefan Metzmacher1-4/+4
metze (This used to be commit 024dacb3b0a32bcaaef0b7a7598070b9034a7648)
2007-10-10r20129: remove unused structure elementsStefan Metzmacher1-12/+8
metze (This used to be commit 53805a8562c59116e458dedd695e061eabf78620)
2007-10-10r20128: get rid of more talloc_get_type() callsStefan Metzmacher1-8/+8
metze (This used to be commit cb89f0b8d5a64433374887bcd44e04ad63e4857e)
2007-10-10r20127: - allocate ldb_handle under ldb_request! fix a mem leakStefan Metzmacher1-45/+35
- pass ldb_request to init_lldb_handle() - remove some useless talloc_get_type() calls metze (This used to be commit a7397c4d2bed181c96863e985727c8dad0894df7)
2007-10-10r20126: fix talloc hierachy and make lldb a child of moduleStefan Metzmacher1-18/+22
metze (This used to be commit 1e3bb180261643900c7bdacef818add5349c7a30)
2007-10-10r20125: fix some ugly mem leaks in the ldb_ildb backendStefan Metzmacher1-7/+7
metze (This used to be commit db85b7840c1022665d410516d9a8989474d67a0f)
2007-10-10r20123: - avoid some more talloc_get_type() callsStefan Metzmacher1-29/+23
- pass down ldb_request metze (This used to be commit b0b9e83fed0145bac6058d11e9b1b2c57d091649)
2007-10-10r20122: pass ildb to ildb_request_noop()Stefan Metzmacher1-8/+8
metze (This used to be commit cf9aade216930980bf47ea8b97db976c4907cbca)
2007-10-10r20121: pass down the ldb_request struct to ildb_request_send(),Stefan Metzmacher1-18/+13
also pass ildb instead of module, to avoid multiple talloc_get_type() calls metze (This used to be commit 03029d4fed86b1ca5fb19a408312607d8790d110)
2007-10-10r20120: fix the talloc hierachy and make ildb a child of moduleStefan Metzmacher1-20/+21
metze (This used to be commit b85d5cb7a4931d1d43a0ec73f1de1519c720f1af)
2007-10-10r20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:Stefan Metzmacher1-4/+14
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 (This used to be commit 9ddabfc60e1a4f5e471991253141ce458c9a683d)
2007-10-10r20114: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:Stefan Metzmacher1-0/+2
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 (This used to be commit ed4c7ce547c61907291d19c172d5eb6f4c4981fe)
2007-10-10r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and inAndrew Bartlett5-60/+137
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 (This used to be commit 5b32f102af1fc7acb56bf7eaa40068d60a1ee396)
2007-10-10r20111: this is the total object count of the current replication cycleStefan Metzmacher1-2/+2
metze (This used to be commit 4daa45f98a3bb6f3c245fe61e05681335ef8b5c6)
2007-10-10r20109: let libnet_BecomeDC() work against w2k serversStefan Metzmacher1-4/+19
metze (This used to be commit d295239861a282d06a9a93cdafa4e4d7616928b8)
2007-10-10r20108: match w2k3 and send 1.2.840.48018.1.2.2 before 1.2.840.113554.1.2.2Stefan Metzmacher1-1/+1
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 (This used to be commit fa5c942ee99d3b5779598aa75f71d0317ba3f622)
2007-10-10r20107: don't segfault when the server didn't send a supportedMech in a ↵Stefan Metzmacher1-0/+1
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 (This used to be commit 5af5488593991ab4a2a8e17d38501ad9ec539020)
2007-10-10r20106: Optional ONE Level indexing for ldb_tdbSimo Sorce4-9/+260
To activate it you must modify the @INDEXLIST object adding the attribute @IDXONE: 1 Ldb test included Simo. (This used to be commit ea111795f4016916473ccc05d23c6655e6af1207)
2007-10-10r20105: remove useless commentsStefan Metzmacher1-2/+0
metze (This used to be commit d70140ed07bf4d0d1d0a0485ca73a29cf1cafe8c)
2007-10-10r20104: this is a alternative events backend, which uses a hybrid of aio andAndrew Tridgell1-0/+518
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) (This used to be commit 195051fdee341e8d8cb76e5c91dcc0f6c246a870)
2007-10-10r20103: Change the returned type of prerequisite checking functions,Rafal Szczesniak2-43/+48
as metze once suggested. rafal (This used to be commit 1f3fd5f85461d1e8c9cbdc3144d0a6533b170f76)
2007-10-10r20102: Do not reference remote_ldb before we initialise it. This should fixAndrew Bartlett1-8/+8
up many of the build farm failures. Andrew Bartlett (This used to be commit 924af98ffaab3735c3f31014059e7cd0abd71919)
2007-10-10r20101: Also rename a variable now that the unused parameter is goneSimo Sorce1-4/+4
(This used to be commit a2520bcfa918977f2139a963e9817370789cf077)
2007-10-10r20100: Remove completely unused parametersSimo Sorce1-4/+2
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)