summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * 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
| | | * r17489: run the crypto tests with testStefan Metzmacher2006-08-111-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174Stefan Metzmacher2006-08-119-3/+755
| | | | | | | | | | | | | | | | | | | | | | | | - and add torture tests also based on the rfc's metze
| | | * r17484: Make last version of the function generating random set of changesRafal Szczesniak2006-08-101-97/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more fair to each of the fields (ie. don't create new code at midnight after a long day...). This will be useful for testing multiple changes at once and verifying correctness. A few testing runs already demostrated some missing pieces. rafal
| | | * r17478: Add BENCH-READWRITE test to simulate read/write workload from ↵Alexander Bokovoy2006-08-101-1/+493
| | | | | | | | | | | | | | | | simultaneous async clients. This code is based on concept from Mathias Dietz <mdietz@de.ibm.com>
| | | * r17474: Allow the partitions module to load modules for specific backends.Andrew Bartlett2006-08-103-8/+83
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r17473: Split loading a list of modules and initialising them into a seperateAndrew Bartlett2006-08-101-42/+58
| | | | | | | | | | | | | | | | | | | | | | | | function. Andrew Bartlett
| | | * r17472: Remove unused variable.Rafal Szczesniak2006-08-091-1/+0
| | | | | | | | | | | | | | | | rafal
| | | * r17471: Add a function generating pseudorandom set of changes to testRafal Szczesniak2006-08-091-10/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | user modify routines. rafal
| | | * r17450: A bit more protection against memory allocation errors.Rafal Szczesniak2006-08-071-1/+2
| | | | | | | | | | | | | | | | rafal
| | | * r17449: Add another field to the test before expanding the whole testRafal Szczesniak2006-08-071-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to more complex form. rafal
| | | * r17448: Define macros to set fields in api function modifying user account.Rafal Szczesniak2006-08-072-28/+50
| | | | | | | | | | | | | | | | rafal
| | | * r17447: Add more fields to user modify routines.Rafal Szczesniak2006-08-071-0/+17
| | | | | | | | | | | | | | | | rafal
| | | * r17442: print out credentials on the "secret" objectClass and "trustedDomain"Stefan Metzmacher2006-08-071-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | objectclass metze
| | | * r17441: add some more attribute with credentials in themStefan Metzmacher2006-08-071-0/+8
| | | | | | | | | | | | | | | | metze
| | | * r17438: extend the commentStefan Metzmacher2006-08-071-0/+2
| | | | | | | | | | | | | | | | metze
| | | * r17434: update our indexSimo Sorce2006-08-061-1/+24
| | | |
| | | * r17433: remove obsoleted RFCsSimo Sorce2006-08-069-8993/+1
| | | |
| | | * r17432: display more GUID values nicely,Stefan Metzmacher2006-08-061-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | they all have rangeLower=16 rangeUpper=16 and attribute syntax 2.5.5.10 metze
| | | * r17430: implement the LDAP_SERVER_PERMISSIVE_MODIFY control in the clientStefan Metzmacher2006-08-053-0/+49
| | | | | | | | | | | | | | | | metze
| | | * r17429: implement the LDAP_SERVER_SHOW_DELETED control in the clientStefan Metzmacher2006-08-053-0/+48
| | | | | | | | | | | | | | | | metze
| | | * r17420: add client support for the LDAP_SERVER_DOMAIN_SCOPE controlStefan Metzmacher2006-08-053-2/+50
| | | | | | | | | | | | | | | | metze
| | | * r17419: add client support for the LDAP_SERVER_SEARCH_OPTIONS support.Stefan Metzmacher2006-08-053-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with this you can limit a search to a specific partitions or a search over all partitions without getting referrals. (Witch is the default behavior on the Global Catalog Port) metze
| | | * r17418: add client support for the LDAP_SERVER_SD_FLAGS controlStefan Metzmacher2006-08-053-1/+102
| | | | | | | | | | | | | | | | metze
| | | * r17417: Try to fix random failures in the build farm for 3_0.Volker Lendecke2006-08-051-0/+10
| | | | | | | | | | | | | | | | Volker
| | | * r17416: display the attributeSecurityGUID nicely.Stefan Metzmacher2006-08-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this attriute is used to group multiple attribute to a propertySet for access control. metze
| | | * r17415: the ldif handlers can't do search as this now blocks foereverStefan Metzmacher2006-08-051-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because the handlers are called within the async callbacks in side the main search. Also it makes no sense to give the sddl encoder the sid of the primary domain when we need a description of a real security_descriptor, this only makes sense for the defaultSecurityDescriptor... metze