summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r16774: This patch modifies the tdb API to allow the logging function to be usedAndrew Bartlett2006-07-0315-129/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as part of ldb. This allows tdb failures to be passed all the way up to Samba's DEBUG system, which allowed easier debugging. Unfortunately I had to extend the tdb API, as the logging function didn't have a context pointer. I've worked over the 'debug levels' in TDB. Most of them were 0, which didn't seem right, as some were trace-like messages. We didn't see any of these previously, except when accessing TDB directly. Andrew Bartlett
| | * r16716: patch from Bjoern Jacke to fix compiler warnings on AIXStefan Metzmacher2006-06-301-0/+44
| | | | | | | | | | | | metze
| | * r16571: - make push/pull_ascii()/_ucs() functions static,Stefan Metzmacher2006-06-271-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | callers should use push/pull_string() functions with STR_ASCII or STR_UNICODE - make the push/pull_ascii/ucs2/utf8_talloc() functions complete (they should be reduced to pull/push_string_talloc() later...) metze
| | * r16556: Add mkdtemp to libreplace. This is apparantly available on LinuxJames Peach2006-06-274-2/+22
| | | | | | | | | | | | and BSD systems, but it's not everywhere.
| | * r16517: Get rid of pointless safe_free() (not SAFE_FREE()!) function.Jelmer Vernooij2006-06-262-14/+1
| | |
| | * r16516: Get rid of file_exists() as there already is a file_exist().Jelmer Vernooij2006-06-261-9/+0
| | |
| | * r16447: print the result of talloc_set_parent()Stefan Metzmacher2006-06-211-3/+4
| | | | | | | | | | | | | | | | | | trying to find the bug on HPUX metze
| | * r16446: talloc_set_name() allocates and can fail...Stefan Metzmacher2006-06-212-7/+22
| | | | | | | | | | | | | | | | | | pass the error to the callers metze
| | * r16445: print out valuesStefan Metzmacher2006-06-211-2/+4
| | | | | | | | | | | | metze
| | * r16442: if we want to use CHECK_SIZE(NULL, 3)Stefan Metzmacher2006-06-211-0/+2
| | | | | | | | | | | | | | | | | | we need null tracking, so enable it explicit before running any tests metze
| | * r16264: Add, but do not yet enable, the partitions module.Andrew Bartlett2006-06-154-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This required changes to the rootDSE module, to allow registration of partitions. In doing so I renamed the 'register' operation to 'register_control' and 'register_partition', which changed a few more modules. Due to the behaviour of certain LDAP servers, we create the baseDN entry in two parts: Firstly, we allow the admin to export a simple LDIF file to add to their server. Then we perform a modify to add the remaining attributes. To delete all users in partitions, we must now search and delete all objects in the partition, rather than a simple search from the root. Against LDAP, this might not delete all objects, so we allow this to fail. In testing, we found that the 'Domain Controllers' container was misnamed, and should be 'CN=', rather than 'OU='. To avoid the Templates being found in default searches, they have been moved to CN=Templates from CN=Templates,${BASEDN}. Andrew Bartlett
| | * r16186: Use full include path to make sure it's being picked up by the Jelmer Vernooij2006-06-131-1/+1
| | | | | | | | | | | | dependency generator.
| | * r16185: Remove autogenerated file from SVN.Jelmer Vernooij2006-06-131-25/+0
| | |
| | * r16172: Translate the ldb error codes into appropriate messages for theAndrew Bartlett2006-06-121-3/+9
| | | | | | | | | | | | | | | | | | transaction cases. Andrew Bartlett
| | * r16143: Fix disappearance of user-specified CPPFLAGS,LDFLAGS and LIBS variables.Jelmer Vernooij2006-06-111-3/+6
| | |
| | * r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for ↵Gerald Carter2006-06-087-9/+9
| | | | | | | | | | | | correct grammar
| | * r16090: Fix standalone build after the rename of enum ldb_request_type in Tim Potter2006-06-083-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | r15944. Hey idra I think a better rename would be to keep the LDB_REQ suffix here to remain consistent with the other enums (e.g ldb_reply_type, ldb_async_wait_type and ldb_async_state).
| | * r16089: Make doxygen target work if $DOXYGEN variable is empty.Tim Potter2006-06-081-1/+1
| | |
| | * r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...Andrew Bartlett2006-06-084-7/+4
| | | | | | | | | | | | | | | | | | | | | This only affects my new partitions module, which I will post soon, but should be fixed anyway. Andrew Bartlett
| | * r16086: Ensure we can never dereference NULL pointers, and that describe whatAndrew Bartlett2006-06-081-7/+14
| | | | | | | | | | | | | | | | | | these two DN comparison functions do. Andrew Bartlett
| | * r16085: Set the error string if we fail to find a valid op to execute. HelpsAndrew Bartlett2006-06-081-2/+6
| | | | | | | | | | | | | | | | | | in chasing down bugs :-) Andrew Bartlett
| | * r16084: Add private prototype for new ldb_connect_backend() function.Andrew Bartlett2006-06-071-0/+5
| | | | | | | | | | | | Andrew Bartlett
| | * r16083: Make it possible to initialise a backend module, without it setting upAndrew Bartlett2006-06-078-56/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | the whole ldb structure. Because the sequence number was a fn pointer on the main ldb context, turn it into a full request (currently sync). Andrew Bartlett
| | * r16071: tdb has nested transactionsSimo Sorce2006-06-071-53/+86
| | | | | | | | | | | | | | | | | | | | | change the code to exploit that in ldb I still have to reintroduce transactions when you call ldb_request directly, I have some plans I hop to be able to develop in the next weekend
| | * r16067: Remove const, it isn't required and just causes a warning.Andrew Bartlett2006-06-061-1/+1
| | | | | | | | | | | | Andrew Bartlett
| | * r16066: The OSX AD plugin uses objectCategory searches a lot, and uses themAndrew Bartlett2006-06-063-5/+84
| | | | | | | | | | | | | | | | | | | | | both fully qualified and in the 'short' form. Now we test and support this query format. Andrew Bartlett
| | * r16062: objectCategory is a DN, and needs to be matched as such.Andrew Bartlett2006-06-061-0/+1
| | | | | | | | | | | | Andrew Bartlett
| | * r16053: Allow entries without an objectClass. We need this to permit theAndrew Bartlett2006-06-051-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | cn=rootDSE entry. (it was also crashing, as 'ac' wasn't initialised at this point) Andrew Bartlett
| | * r16052: Add .m4 file for XATTR detection (from ntvfs/posix/config.m4)Andrew Bartlett2006-06-051-0/+32
| | | | | | | | | | | | Andrew Bartlett
| | * r16051: Move the XATTR compatability code into a new file, so I can use it forAndrew Bartlett2006-06-053-0/+157
| | | | | | | | | | | | | | | | | | the getntacl utility. Andrew Bartlett
| | * r16043: Fix error messageSimo Sorce2006-06-051-3/+3
| | |
| | * r16036: Add a couple of new functions to corretly deal with timeouts.Simo Sorce2006-06-0412-92/+106
| | | | | | | | | | | | | | | Check timeouts are correctly verified. Some minor fixed and removal of unused code.
| | * r16028: Re-add the objectclass module, in the new async scheme.Andrew Bartlett2006-06-032-107/+351
| | | | | | | | | | | | | | | | | | | | | Add a test to show that we need this, and to prove it works (for add at least). Andrew Bartlett
| | * r16012: do the type checks before anythingelseStefan Metzmacher2006-06-021-11/+12
| | | | | | | | | | | | metze
| | * r16010: deal with the case that int64,uint64 are already typedef'edStefan Metzmacher2006-06-021-2/+2
| | | | | | | | | | | | metze
| | * r16007: If no error string was setup by the backend, ensure that we always getAndrew Bartlett2006-06-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | at least a generic error, even when inside a transaction. This helps debugging ldb/js interactions a lot... Andrew Bartlett
| | * r16003: Tru64 doesn't have strtoll/strtoull but the size of 'long' is equal toStefan Metzmacher2006-06-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | the size of 'long long' so we can use strtol/strtoul Patch from Bjoern Jacke, thanks! (I only added the SIZEOF_LONG == SIZEOF_LONG_LONG) metze
| | * r16002: fix the build on solarisStefan Metzmacher2006-06-022-3/+3
| | | | | | | | | | | | | | | | | | Patch from Bjoern Jacke, thanks! metze
| | * r16001: we don't use u_intX_t any moreStefan Metzmacher2006-06-022-7/+2
| | | | | | | | | | | | metze
| | * r15986: Declare struct tmJelmer Vernooij2006-05-311-0/+1
| | |
| | * r15981: we need to initialize 'ret' before 'goto failed'Stefan Metzmacher2006-05-311-5/+11
| | | | | | | | | | | | metze
| | * r15979: some farmating...Stefan Metzmacher2006-05-311-7/+6
| | | | | | | | | | | | metze
| | * r15978: - pass the error code back to the caller...Stefan Metzmacher2006-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - we were giving OPERATIONS_ERROR in all cases:-( - we now pass ALREADY_EXIST fine to the caller, and the code in libnet_site.c is happy again. - this bug wasn't noticed for a long time because the ldb_ildap code always passed SUCCESS to it's caller metze
| | * r15964: fix error handling in ldb_ildap backendStefan Metzmacher2006-05-301-7/+14
| | | | | | | | | | | | metze
| | * r15963: fix warningsStefan Metzmacher2006-05-301-2/+2
| | | | | | | | | | | | metze
| | * r15955: fix whitespacesStefan Metzmacher2006-05-301-1/+1
| | | | | | | | | | | | metze
| | * r15953: our timegm() replacement still doesn't work, so grab the one fromAndrew Tridgell2006-05-304-13/+77
| | | | | | | | | | | | | | | Heimdal which does work. This should fix most of the rest of the failures on solaris
| | * r15945: Check ltdb_modified resultsSimo Sorce2006-05-301-8/+19
| | |
| | * r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...Simo Sorce2006-05-307-24/+24
| | |
| | * r15942: Remove the sync internal ldb calls altogether.Simo Sorce2006-05-2913-1633/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means that some modules have been disabled as well as they have not been ported to the async interface One of them is the ugly objectclass module. I hope that the change in samldb module will make the MMC happy without the need of this crappy module, we need proper handling in a decent schema module. proxy and ldb_map have also been disabled ldb_sqlite3 need to be ported as well (currenlty just broken).