summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17671: Update the tests according to changes in libnet context.Rafal Szczesniak2-7/+8
rafal (This used to be commit 9e7709de62ccb66d312e985fa0846b1004e77d32)
2007-10-10r17670: 1) Refactor libnet context structure a bit, to have rpc connectionRafal Szczesniak6-65/+495
properties more consistently reflected. 2) Add domain open routine for lsa pipe - this is needed for ongoing name resolve function. Tests (still neglected) and comments to follow. rafal (This used to be commit fe5652c2b8121bbe3b9932c43164035355478611)
2007-10-10r17662: some more enhancements to our schema extraction tool,Simo Sorce2-1/+232
with a nasty hack in minschema.js that I really hate (This used to be commit 74c40719f2965e2bc055e539f0933d95df070fbf)
2007-10-10r17661: A patch from Martin Kuehl:Andrew Bartlett1-71/+464
This commit extends the samba3sam test suite, which contains tests for the samba3sam and ldb_map modules, with a lot of tests for inbound, i.e. add, modify, rename and delete requests. The tests each add a single record, modify it, rename it, and then delete it, at each step checking that the operations were successful and that the right data went into the right partitions. They are run for an unmapped record, a mapped record with data only in the remote partition, a mapped record with remote data that is later modified to include local data, and a mapped record with data in both the local and remote partitions. It also adds a function to the backend objects that makes construction of DNs for their respective partitions more comfortable. Cheers, Martin (This used to be commit 1ddd06f24d71c606241863cf4fe047833c64a6d2)
2007-10-10r17660: fixed configure testAndrew Tridgell1-1/+1
(This used to be commit 28238ad8f15b8bd3c49fb0b235becca25615cfe6)
2007-10-10r17659: cope with systems without the x509 gnutls functionsAndrew Tridgell1-1/+6
(This used to be commit 8148534d9c9e566c4ecd9b29857fa96916cd9e3f)
2007-10-10r17658: several replacement snprintf() fixes.Andrew Tridgell1-15/+40
1) when running the testsuite, actually test against the system sprintf(), not against ourselves (doh!) 2) fix the buffer termination to terminate buf2 as well 3) fix handling of %llu, and add a simple test This fixes a bug with password expiry on solaris (This used to be commit ad539ec11401732d1da0abd8eef1fe849a216c21)
2007-10-10r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()Andrew Tridgell1-0/+4
with non-empty directory (This used to be commit 1775381afad8a97777a45b6e98802dda8b389ecb)
2007-10-10r17653: fix typoSimo Sorce1-1/+1
(This used to be commit aca800bdcc5f402c1fc241e9e9c495933c85b715)
2007-10-10r17652: add oMSyntax to these attributesSimo Sorce1-0/+9
(This used to be commit 425fda84e2a4636c87b30df9df3f2c998202c933)
2007-10-10r17651: Commit the set of classess used to generate our schemaSimo Sorce2-1406/+1973
and update the schema with the latest additions (This used to be commit 09a32726111200e421b6fcacf1586bfbe6024fa6)
2007-10-10r17648: update minschema.jsSimo Sorce2-13/+51
this version returns also oMSyntax and oMObjectClass and also use the right value for the objects CNs add a nasty hack to ejs' mprLdbMessage() to handle binary blobs situations (This used to be commit 8dd1c1c05bc592d76d6e34b303048faf05c0fa6e)
2007-10-10r17647: the init fns should not take a mem_ctxAndrew Tridgell1-1/+1
(This used to be commit e32fdc7e684b088629a5e858dd5bf0b80507ed65)
2007-10-10r17646: Use authentication if specified.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 67c9cd508ed9b28b4d605b79f6de421071177fa7)
2007-10-10r17645: gcc 4.1.x has started producing "value computed is not used" warningsAndrew Tridgell1-1/+4
in very annoying ways for talloc_steal. This rather strange looking cpp approach avoids these warnings. It's really a problem in gcc, but better to do this than put up with the huge flood of warnings. (This used to be commit 8236a0ac5e80c30e52fccc0ef41a6c808ea43420)
2007-10-10r17644: change the ldap server to always use the single process model. We areAndrew Tridgell1-2/+8
not aiming to produce a high performance parallel ldap server, so better to reserve the extra CPUs on a SMP box for file serving. (This used to be commit 45c0580e5d3b18301bc5706423bb407d001fb61d)
2007-10-10r17642: some more mappingsSimo Sorce1-3/+7
(This used to be commit df1fe1a5c543453d5500ded30a982e7795d88670)
2007-10-10r17641: some more info, add oMObjectClass values (binary :-/)Simo Sorce1-23/+24
(This used to be commit b07a783b9881c5df305b939cd2acf9ee69610e9c)
2007-10-10r17639: Martin Kuhl noticed that we loaded an incorrect value forAndrew Bartlett2-0/+11
distinguisedName on templated objects. In looking how to handle distinguishedName correctly on LDAP, I was very glad to find it supported entryDN, and this adds another mapping. Andrew Bartlett (This used to be commit 3b5c973988648a2b2a5e1885ee894607e4d9679b)
2007-10-10r17634: Kill off another case where we used dnsDomain, and point it again atAndrew Bartlett1-5/+5
dnsRoot. Fix to read the nETBIOSName from the correct result. Andrew Bartlett (This used to be commit dc37c48724115940094a0f6003ee2f74fe81d102)
2007-10-10r17633: Return NULL at the end of the file, or else we can't tell theAndrew Bartlett1-0/+4
difference between end of file and a blank line. Andrew Bartlett (This used to be commit 6fd6239a0f16154c13713bf1398b2873d1103335)
2007-10-10r17632: This is the most accurate mappings between LDAP OID Syntaxes and AD ↵Simo Sorce1-0/+74
Syntaxes. Generated by scripts that cross information from the Windows Schema and the aggregate schema and cross verified by searching on the net (This used to be commit 996452844a9ac3df10e8b2c63dc693e5a753fc9d)
2007-10-10r17631: Some syntaxes from MS in a now vanished internet draftSimo Sorce1-0/+137
(This used to be commit 1020edb0c721da8889f5ce93e5497bb34ebbf786)
2007-10-10r17624: Samba3 does not yet do getprinterinfo level 6Volker Lendecke1-0/+5
(This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7)
2007-10-10r17614: Our first "client side' ldb module.Simo Sorce2-0/+448
This module has been created with the purpose of being used for searches against ldap servers without the need to handle the control manually You can test it by passing -o modules:paged_searches to ldbsearch The page search size is set to 500 objects. Simo. (This used to be commit 07d377f3c27966b40465bb5dc4f55746ba8489af)
2007-10-10r17613: style fixSimo Sorce1-1/+2
(This used to be commit 86fc149ca805e4c801f6251c8c9f2480010b4962)
2007-10-10r17609: Kill one more use of the fake dnsDomain attribute.Andrew Bartlett1-4/+5
Add a talloc_steal to avoid a memory leak of the ldb_search result. Andrew Bartlett (This used to be commit 69525129f9d199b1d4caeb5d52c918fc0bc95737)
2007-10-10r17601: Fix declaration after statement.Andrew Bartlett1-3/+2
Andrew Bartlett (This used to be commit 05c276568a6c42c9ceb686a390c4fd279d4a5bb6)
2007-10-10r17600: Finish the schema conversion tool, and add a mapping file, used to mapAndrew Bartlett6-85/+191
OIDs and skip built-in attributes. Andrew Bartlett (This used to be commit cb2b9d800d1228d41f7872a7b7c8ea5f07816c61)
2007-10-10r17599: Improvements to the AD-like to OpenLDAP format schema conversion ↵Andrew Bartlett1-53/+252
utility. We now read the objectClasses, and sort them into order, so that OpenLDAP will load them. We do this by walking down the 'subClassOf' chain. This should also be used in the objectClass module to sort the objectClass list, and to populate the @SUBCLASS records. Andrew Bartlett (This used to be commit 22dec7b62adbf364d2d17948fda1460cbbbf0a78)
2007-10-10r17598: Patch from Martin Kühl <mkhl@samba.org> to update the samba3sam testAndrew Bartlett1-45/+570
suite, which contains tests for the samba3sam and ldb_map modules, with a lot of tests for search requests. The tests add a small set of known records to the database, half of them with only remote data, half of them split across the local and remote backends, and test searching these records by DN, by attribute and with a range of parse trees. This suite should be extensive enough to ensure that behaviour of search requests doesn't break. (This used to be commit 120f7891faf241057457db7234ce381bfe3fd847)
2007-10-10r17597: fix prefix path handlingSimo Sorce2-23/+23
(This used to be commit 25cde0f7300f37fec6c4a897ba0a80a3e5c26e15)
2007-10-10r17596: apply patch from MartinSimo Sorce1-4/+4
(This used to be commit e9d101bc3c1e7c1e8b6560a1f7161e6eb270c7df)
2007-10-10r17588: this file doesn't exist anymoreStefan Metzmacher1-1/+0
metze (This used to be commit 2da459287f77f00258f196510963674300982907)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher32-80/+88
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r17582: Fix dependenies for oLschema2ldif.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 113ef0132037f3e3db61f259eee903a4584219f7)
2007-10-10r17581: Add tool to convert AD schema back to OpenLDAP's schema formatting.Andrew Bartlett1-0/+324
Andrew Bartlett (This used to be commit 391f472df775f7e7b85335d96315807c38fe5536)
2007-10-10r17580: Add a new tools to convert back from AD-like schema to OpenLDAP.Andrew Bartlett8-36/+312
Add attribute syntax mapping to the existing OpenLDAP -> AD tool. Andrew Bartlett (This used to be commit ba1c652bae700a82acde166e70035d61c320e233)
2007-10-10r17579: make ldb build g++ friendlyAndrew Tridgell4-67/+67
(This used to be commit 403cbd335594112e0c58fd68d20f0e3faad7d186)
2007-10-10r17578: in standalone talloc build ensure we get intptr_t if available (whichAndrew Tridgell1-0/+3
makes the discard_const stuff nicer) (This used to be commit 662f01f8ba861a5ef1d5ee724ed2b3ab9812597a)
2007-10-10r17577: Patch from Kai Blin <kai.blin@gmail.com>:Andrew Bartlett1-1/+62
This is the Samba4 version of the ntlm_auth patch that was committed to Samba3 in revision 17216. The purpose of this patch is to return session key information, as well as NTLMSSP negotiated flags to ntlm_auth's caller. This allows the bulk data signing and sealing to be handled in a library, supplied by the caller. This also allows the caller to ask for features, so that the right flags get negotiated. (This used to be commit eb28aff4e0c9688ba886c3dd886ab7af81c6326a)
2007-10-10r17570: add dummy functions for the frsrpc and frsapi interfacesStefan Metzmacher3-1/+117
based on the wireshark information metze (This used to be commit f0754332c9b373e4ba11c30a52d3ba9687a020c1)
2007-10-10r17567: add error code I got from DsGetNCChangesStefan Metzmacher2-0/+4
when I don't use the DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION flag on DsBind metze (This used to be commit 8458ee72c5c1005ab80b9f7ea6efe617e5c76106)
2007-10-10r17566: test if the compiler support inline, this resultsStefan Metzmacher1-0/+2
in #define inline if the compiler doesn't support it This hopefully fix the build on some hosts, however we should not start to use inline in our code this is more to not need to touch imported files from heimdal or popt. metze (This used to be commit 687d69af6228d159a0dfc59c44eb0a1349a51f2b)
2007-10-10r17565: expand the test for negative enum values, systems like Tru64Stefan Metzmacher1-2/+19
truncate the value to INT_MAX... So a AC_TRY_RUN test is needed here metze (This used to be commit dc0e22a52e3488a4cb9f17138389885183e90c34)
2007-10-10r17564: we don't need a AC_TRY_RUN to test the compiler warning optionsStefan Metzmacher1-1/+1
metze (This used to be commit ebade9dea58b58e34c6dfc39358ddb0b05d2b372)
2007-10-10r17553: Actually enable the samba3sam module. Should help 'make test'.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 0e19d159697e99f6c45879cf42c39c9b2b134ffa)
2007-10-10r17548: It is a good idea to commit the fix (from mkhl) before the test thatAndrew Bartlett1-1/+1
shows the need for... Martin Kuhl writes: The ejs function `substitute_var' returns `undefined' when the first argument ends in a pattern that should be substituted. For that reason, the second assertion fails in the following test-case: ,---- | libinclude("base.js"); | | var obj = new Object(); | obj.FOO = "foo"; | obj.BAR = "bar"; | var str1 = "${FOO}:${BAR}"; | var str2 = "${FOO}:${BAR} "; // note the space after the brace | var sub1 = substitute_var(str1, obj); | var sub2 = substitute_var(str2, obj); | | assert(str1 + " " == str2); | assert(sub1 + " " == sub2); `---- The problem is that the function `split' returns a single-element array in both cases: a) the string to split doesn't contain the split pattern b) the string ends with the split pattern To work around this, the following patch tests this condition and returns `undefined' only if the string to split (`list[i]') really didn't contain a closing brace. (This used to be commit 8a6908200b1e459bc9067a9d1f9635185a7eee16)
2007-10-10r17547: Add test by mkhl for some of our variable substituion behaviour.Andrew Bartlett2-0/+17
Andrew Bartlett (This used to be commit c2c72565e4efef44068c4f176619942f60a9cf6e)
2007-10-10r17546: Test the loading of per-partition modules.Andrew Bartlett1-4/+5
Andrew Bartlett (This used to be commit 1a5ade30dcdf40da8d0a6d7395f1a2e93388fca3)