summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * r17579: make ldb build g++ friendlyAndrew Tridgell2006-08-174-67/+67
| | | |
| | | * r17578: in standalone talloc build ensure we get intptr_t if available (whichAndrew Tridgell2006-08-171-0/+3
| | | | | | | | | | | | | | | | makes the discard_const stuff nicer)
| | | * r17577: Patch from Kai Blin <kai.blin@gmail.com>:Andrew Bartlett2006-08-171-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.
| | | * r17570: add dummy functions for the frsrpc and frsapi interfacesStefan Metzmacher2006-08-163-1/+117
| | | | | | | | | | | | | | | | | | | | | | | | based on the wireshark information metze
| | | * r17567: add error code I got from DsGetNCChangesStefan Metzmacher2006-08-162-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when I don't use the DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION flag on DsBind metze
| | | * r17566: test if the compiler support inline, this resultsStefan Metzmacher2006-08-161-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
| | | * r17565: expand the test for negative enum values, systems like Tru64Stefan Metzmacher2006-08-161-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | truncate the value to INT_MAX... So a AC_TRY_RUN test is needed here metze
| | | * r17564: we don't need a AC_TRY_RUN to test the compiler warning optionsStefan Metzmacher2006-08-161-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r17553: Actually enable the samba3sam module. Should help 'make test'.Andrew Bartlett2006-08-151-1/+0
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17548: It is a good idea to commit the fix (from mkhl) before the test thatAndrew Bartlett2006-08-151-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.
| | | * r17547: Add test by mkhl for some of our variable substituion behaviour.Andrew Bartlett2006-08-152-0/+17
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17546: Test the loading of per-partition modules.Andrew Bartlett2006-08-151-4/+5
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17545: I forgot to commit this file, a source file for the the samba3samAndrew Bartlett2006-08-151-0/+201
| | | | | | | | | | | | | | | | | | | | | | | | tests, by mkhl. Andrew Bartlett
| | | * r17544: Add execute bit to js script.Andrew Bartlett2006-08-151-0/+0
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17543: Patch from Martin Kühl <martin.kuehl@gmail.com> to extend theAndrew Bartlett2006-08-143-8/+281
| | | | | | | | | | | | | | | | | | | | samba3sam test cases for ldb_map, and to include this into our default 'make test'.
| | | * r17542: In using ldb_map, I ran across some very odd behaviours when we searchAndrew Bartlett2006-08-144-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for objectClass=xyz. The code has been warning at me 'no covert_operator set', and indeed this is the case. (It then proceeds to strip this as a search expression) In this commit, I have implemented a convert_operator for objectClass, by pretending it is a simple MAP_CONVERT operator for the search requests. I also have changed the logic for when we should bail out. I can only see reason to bail out on the search if we have both local and remote trees. How can a remote-only search be un-splittable? Andrew Bartlett
| | | * r17540: store command line args of selftest.sh in local varsStefan Metzmacher2006-08-141-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as $0,$1,$2,$3 may change in side the script or included scripts. This fixes the usage of SOCKET_WRAPPER on non linux systems (tested on IRIX 6.4) metze
| | | * r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher2006-08-144-1/+103
| | | | | | | | | | | | | | | | metze
| | | * r17538: this function should be static...Stefan Metzmacher2006-08-141-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r17537: if we replace inet_ntoa() we need a prototype ofStefan Metzmacher2006-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | rep_inet_ntoa... metze
| | | * r17534: Try another group for 'wheel' on True64.Andrew Bartlett2006-08-141-1/+1
| | | |
| | | * r17533: add missing include, so that "socket options = TCP_NODELY" asStefan Metzmacher2006-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | default can work... metze
| | | * r17532: merge from SAMBA_3_0 Revision: 17460Stefan Metzmacher2006-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First step at fixing the build breakage with the groupmapping test. On Linux, F_RDLCK is defined to 0, for example NetBSD has it at 1. Still does not work fully though. Still investigating. metze
| | | * r17531: fix whitespacesStefan Metzmacher2006-08-141-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r17530: Watching the build farm mails carefully pays off...Andrew Bartlett2006-08-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | This was another declaration before statement bug, in my just-committed code.. Andrew Bartlett
| | | * r17529: Simo doesn't like the use of the internal ldb_errstring in functionsAndrew Bartlett2006-08-143-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | not used purely as ldb module helper functions. This now passes these strings back as explicit parameters. Andrew Bartlett
| | | * r17528: This is an additional item of schema we require.Andrew Bartlett2006-08-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Where is the script we used to create this schema file in the first place? Andrew Bartlett
| | | * r17527: Don't duplicate the entire test setup just to allow testing of the newAndrew Bartlett2006-08-142-208/+86
| | | | | | | | | | | | | | | | | | | | | | | | ldb-backed shares configuration. Andrew Bartlett
| | | * r17526: Move timestamp generation into the objectGUID module. It probablyAndrew Bartlett2006-08-144-43/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | needs to be renamed (operation_add?). This allows me to match the behaviour and substitute with the entryUUID module for remote LDAP connections. Andrew Bartlett
| | | * r17525: This is a merge from the Google Summer of Code 2006 project by ↵Andrew Bartlett2006-08-1311-1302/+3380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Martin Kühl <mkhl@samba.org>. Martin took over the work done last year by Jelmer, in last year's SoC. This was a substanital task, as the the ldb modules API changed significantly during the past year, with the addition of async calls. This changeset reimplements and enables the ldb_map ldb module and adapts the example module and test case, both named samba3sam, to the implementation. The ldb_map module supports splitting an ldb database into two parts (called the "local" and "remote" part) and storing the data in one of them (the remote database) in a different format while the other acts as a fallback. This allows ldb to e.g. store to and load data from a remote LDAP server and present it according to the Samba4 schema while still allowing the LDAP to present and modify its data separately. A complex example of this is the samba3sam module (by Jelmer Vernooij), which maps data between the samba3 and samba4 schemas. A simpler example is given by the entryUUID module (by Andrew Bartlett), which handles some of the differences between AD and OpenLDAP in operational attributes. It principally maps objectGUID, to and from entryUUID elements. This is also an example of a module that doesn't use the local backend as fallback storage. This merge also splits the ldb_map.c file into smaller, more manageable parts.
| | | * r17524: Lets see if we can try and get the socket_wapper includes to beAndrew Bartlett2006-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pre-processed last, and get AIX and some other hosts to pass make test again (I think the macros were being over-overridden). Andrew Bartlett
| | | * r17523: FIXME is a macro (I think) on some platforms (AIX), and this caused ↵Andrew Bartlett2006-08-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | pain. Andrew Bartlett
| | | * r17522: Fix another declaration after statement.Andrew Bartlett2006-08-131-1/+1
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17520: If the blkid library fails, I don't see any reason to return more ofAndrew Bartlett2006-08-131-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an error than if we don't have it. We might not be on a volume that can store/return such a GUID. (Try to fix one of the build farm failures). Andrew Bartlett
| | | * r17517: Fix declaration after statement, which breaks the build on older GCC.Andrew Bartlett2006-08-131-3/+3
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce2006-08-1323-150/+150
| | | | | | | | | | | | | | | | to do
| | | * r17515: Fix warningsSimo Sorce2006-08-131-7/+7
| | | |
| | | * r17514: Simplify the way to set ldb errors and add anotherSimo Sorce2006-08-1325-255/+250
| | | | | | | | | | | | | | | | helper function to set them.
| | | * r17513: ldb_set_errstring is an ldb private string, samdb uses DEBUG() ↵Simo Sorce2006-08-131-4/+3
| | | | | | | | | | | | | | | | statements
| | | * r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not ↵Simo Sorce2006-08-121-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_PREAD_DECL/HAVE_PWRITE_DECL and common/io.h already defines pread and pwrite as static if they are not. remove unneded defines
| | | * r17505: we are setting the timeout with the provide function right after.Simo Sorce2006-08-121-1/+0
| | | |
| | | * r17504: Do not use the invented unixID but use the rfc2307 uidNumber and ↵Simo Sorce2006-08-123-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gidNumber attributes instead Do not change unixName right now, we don't have an attribute to use in the posixGroup class, and I think we should remove its usage altogether and look up users and groups by their uid/gid only. Simo.
| | | * r17503: Add a useful function to search for a DNSimo Sorce2006-08-122-0/+17
| | | |
| | | * r17499: Open the main database only the minimum times during a provision.Andrew Bartlett2006-08-113-97/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This causes things to operate as just one transaction (locally), and to make a minimum of TCP connections when connecting to a remote LDAP server. Taking advantage of this, create another file to handle loading the Samba4 specific schema extensions. Also comment out 'middleName' and reassign the OID to one in the Samba4 range, as it is 'stolen' from a netscape range that is used in OpenLDAP and interenet standards for 'ref'. Andrew Bartlett
| | | * r17495: run LOCAL-CRYPTO-MD4 and LOCAL-CRYPTO-MD5 with make testStefan Metzmacher2006-08-111-1/+2
| | | | | | | | | | | | | | | | metze
| | | * r17494: add tests for the example values from rfc 1320 (MD4)Stefan Metzmacher2006-08-113-0/+86
| | | | | | | | | | | | | | | | metze
| | | * r17493: fix typoStefan Metzmacher2006-08-111-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r17492: add a test with the example values from rfc1321 (MD5)Stefan Metzmacher2006-08-113-0/+89
| | | | | | | | | | | | | | | | metze
| | | * r17491: I forgot to commit this...fix make test...sorry:-)Stefan Metzmacher2006-08-111-0/+2
| | | | | | | | | | | | | | | | metze
| | | * r17490: add all test values from rfc 2202Stefan Metzmacher2006-08-111-12/+66
| | | | | | | | | | | | | | | | metze