summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24688: Make output subunit-parseable.Jelmer Vernooij1-20/+20
(This used to be commit 2585c6feb22b4409a635017875a2e93fe7c436ba)
2007-10-10r24684: Be a bit less verboseJelmer Vernooij2-5/+5
(This used to be commit 7a7af62dc4485d832436ed39dfba41b417ec2b10)
2007-10-10r24683: Add two more tests.Jelmer Vernooij2-0/+37
(This used to be commit c87576743b09773489478e6eebeb3a282d6ec21b)
2007-10-10r24677: Also add built flex file for people that don't have lex.Jelmer Vernooij1-0/+2084
(This used to be commit a223be56dff504f2fcbbf8fba2c7f764eb9624b0)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij2-1/+22
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24673: Put lex/yacc output under version control for hosts that don't have ↵Jelmer Vernooij2-0/+1861
those tools. (This used to be commit 92966041501718854b174d471301219a369ad057)
2007-10-10r24672: Add dummy variable to prevent errors on some compilers.Jelmer Vernooij1-2/+1
(This used to be commit d3b1acce112b3d4aa1be40a77af085e3a825be0d)
2007-10-10r24668: Fix header installation.Jelmer Vernooij1-1/+1
(This used to be commit e9e66693505e5b9f136bd24f5f76ccd0ae574d99)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij46-3545/+6769
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24645: add in the ctdb dbwrap backendAndrew Tridgell4-3/+200
(This used to be commit e2d173fde17ab903bddf2139d8100785280856bd)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett2-4/+6
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24626: as TALLOC_ABORT() is defined to abort() by defaultStefan Metzmacher1-2/+12
wrap it into a function so that the function name in the backtrace shows what happens. metze (This used to be commit 0216ff6daa276e413811ca32cca0a66b4b2abe55)
2007-10-10r24620: move printing out the version string and exit()Stefan Metzmacher1-3/+9
into the popt _POST processing. Now 'smbd -V --bla' complains about an unknown option metze (This used to be commit 69bf7f1874c8e89b61c4baa03ff9ad191e71b804)
2007-10-10r24567: Try much harder not to leak memory when comparing objectCategory ↵Andrew Bartlett1-9/+40
entires. Andrew Bartlett (This used to be commit 8cfa1f898e5f5a8e57e3794a80174063223247ec)
2007-10-10r24566: Remove trailing newlines in ldb_debug(), these are not required.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-3/+3
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher2-4/+4
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher2-8/+8
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24502: More work to get LOCAL-EVENT passing on all platforms:Andrew Bartlett1-11/+18
- Make the epoll_event_context_init() call fail if epoll_create() fails. This should cause this backend to be skipped on host with epoll() in libc but not in the kernel. - At the moment, there is no sensible way to handle failures to add an epoll() event, and 'fallback to select' is misnamed (so we now abort()). Andrew Bartlett (This used to be commit fb1e1eebdae740a2b66ee1ea9e1e35f21292ac14)
2007-10-10r24491: base_type() isn't supported anymore and the default for enumsStefan Metzmacher1-1/+1
is now uint16... metze (This used to be commit 82aad0e42c44f5b277aed743595795fcc4bad0d4)
2007-10-10r24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, andAndrew Bartlett1-20/+13
to test the behaviour of objectCategory=user searches. It turns out (thanks to a hint on http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps into objectCategory=CN=Person,... (by the defaultObjectCategory of that objectclass). Simplify the entryUUID module by using the fact that we now set the DN as the canoncical form of objectCategory. Andrew Bartlett (This used to be commit b474be9507df51982a604289215bb1868124fc24)
2007-10-10r24350: Remove offsetof() replacement to see if there are actually anyJelmer Vernooij2-5/+0
hosts that don't have it. (This used to be commit b37d86242de1ee82b0cd760d965f8ad37a83cf09)
2007-10-10r24337: Make libreplace provide offsetof.Jelmer Vernooij3-4/+5
(This used to be commit 48d1aa4fcf6a323e3e6a14825f83cd20e3fc3a26)
2007-10-10r24336: Use standard data type uint32_t rather than tdb-specific u32.Jelmer Vernooij8-59/+56
(This used to be commit f90a698387c53508862eb6359bd4d1fba1d2b4b0)
2007-10-10r24335: Fix -N support.Jelmer Vernooij1-1/+1
(This used to be commit 18ea767d396bf6d956fd83ee3d2687d98897ae36)
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij1-0/+3
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
2007-10-10r24283: added a dbwrap API for temporary databases, based on the one from theAndrew Tridgell5-0/+357
s3 clustering code. This commit just establishes the API. The ctdb backend for this will come soon. (This used to be commit 3767e755db7b58aee4ff375896beb00b133cc413)
2007-10-10r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computerAndrew Bartlett1-5/+10
from MMC Active Directory Users and Computers). Windows sets a 14 UCS2 char buffer as the password in this case. We need to allow random buffers to be accepted as complex passwords, even if they don't have ASCII upper or lower case characters. (If half the bytes are > 127, then it's likely a random buffer). Also make the test match the documented windows behaviour of '3 of the 4 classes: upper, lower, digit, special'. Andrew Bartlett (This used to be commit 5ef26a2ba3561580f0a73ee61eb707573cc98cd3)
2007-10-10r24261: Fix the standalone ldb build after I moved the objectclass module out.Andrew Bartlett2-3/+0
Andrew Bartlett (This used to be commit c4c3afcdcb6ac5dc220f353b25689056484ac6c9)
2007-10-10r24259: Rework the objectclass module to use the new schema, rather than theAndrew Bartlett2-704/+0
ldb_subclass list. Next step will be to have this module also set the objectCategory and default ntSecurityDescriptor Andrew Bartlett (This used to be commit 0f7135a4685a1117a54c2f019df6c6de22b8dd32)
2007-10-10r24246: Avoid the annoying 'probable memory leak in ldb' messages, by fixingAndrew Bartlett1-1/+3
some issues in the NBT server (this was a false positive, but easily worked around) and DRSUAPI server. We should take care not to use the ldb_context as a talloc pool, and to always ensure that any results from ldb_search() are moved off that pool with talloc_steal or talloc_free(). To work around the issue in provision, for which I can find no fault (other than a lot of work being done in provision), I've moved the detector trigger to 400 additional blocks. This fixes Bug #4810 by <mwallnoefer@yahoo.de> Andrew Bartlett (This used to be commit 42bcf856203ae3cf43130519904828a143ac8d18)
2007-10-10r24245: Fix bug #4828 - we need to set the samba LDB debug handler early, soAndrew Bartlett1-10/+20
we catch messages pushed out by modules during startup. This also sets an explict mapping between ldb and Samba debug levels. Andrew Bartlett (This used to be commit 50913a401dda9fb29a8c05f1926c41d3473efa93)
2007-10-10r24054: Fix some warningsVolker Lendecke1-2/+2
(This used to be commit b3473db397476d05e7ffca50a5f7a9b65e0a5b4a)
2007-10-10r23993: Attempt to fix bug #4808, reported by mwallnoefer@yahoo.de. The issueAndrew Bartlett1-1/+4
is that when we all ldb_msg_add_empty(), we might realloc() the msg->elements array. We need to ensure the source pointer (when copying an element from the same msg) is still valid, or the data copied. Andrew Bartlett (This used to be commit 0fbea30577233d00e7c6cdd4faaece0f99fc57b1)
2007-10-10r23980: Fix one more use of pwrite in expand_file.Michael Adam1-1/+10
Michael (This used to be commit b97acdc67b1a55529e69bb7b2b78a317a34b1eba)
2007-10-10r23979: Fix another occurence of (written != requested) as anMichael Adam1-5/+22
error condition to write. This is in tdb_new_database. Fix one call to tdb_new_database in tdb_open_ex to not overwrite the newly propagated errno (typically ENOSPC). Michael (This used to be commit eb524df0a52783de6c94a11b44f268e0f26fbb2c)
2007-10-10r23978: Merge r23161 from Samba3:Michael Adam2-0/+5
Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record optimization. (This used to be commit 868cdb1781fe94afbc1658e72bf06de20193bcd7)
2007-10-10r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:Michael Adam1-7/+20
* prevent infinite loops due to 0 bytes written: try once more. if we still get 0 as return, set errno to ENOSPC and return -1 (error) * replace int by correct types (ssize_t and size_t). * print a warning log message in case "written < requested to write" usually this means, that the next call to pwrite will fail with return value -1 and set errno accordingly. Note that the former error condition "written != requested to write" is not a correct error condition of write/pwrite. If this is due to an error, a subsequent call to (p)write will reveal the cause (typically "no space left on device" - ENOSPC). Michael (This used to be commit 7f415d12239fc67eb2c7894c6359b9507fe122c6)
2007-10-10r23972: Fix a bug in pwrite error detection in tdb_expand_file():Michael Adam1-3/+3
The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael (This used to be commit 4c3c6363f860ec01d3c789ef8ee2aa3eb77000dc)
2007-10-10r23961: Allow SWAT to operate on x86_64 machines.Andrew Bartlett5-20/+29
On machines with a 4 byte int, and a 8 byte pointer, the ESP could would fail. The problem is that 0 != NULL. 0 is an int (4 bytes) and NULL is a pointer (8), and this matters critically to varargs functions. If a 0 was passed as the 'terminating' argument, then only 4 bytes would be written to the stack, but va_arg(ap, char *) would try and pull 8, reading uninitalised memory. Andrew Bartlett (This used to be commit 72ca8e3b2a45179b731790e6329b978b22ac1ec0)
2007-10-10r23950: unlink before rename is superfluous.Michael Adam1-1/+0
Michael (This used to be commit dc0104be9acfcd97f95388029a421204723b641a)
2007-10-10r23925: Use NULL instead of 0 for a void * argument.Michael Adam1-1/+1
(This used to be commit bf7774360bbcf557e3cbc4ef0c45f750b4ba89c3)
2007-10-10r23912: We always accept / as a seperator, and it is far less confusingAndrew Bartlett1-1/+1
compared with a shell-escape (\). Fixes bug #4765 Andrew Bartlett (This used to be commit 417e0ef87fdf8ea69c66089485bd4e0f7b4ca495)
2007-10-10r23853: Fix a very misleading error message in tdbbackup.Michael Adam1-1/+1
Michael (This used to be commit 1685057927e0ae37ed6be780ee0fb4b3bbefc00f)
2007-10-10r23809: Don't give users the fantasy that we can control choice of GENSECAndrew Bartlett2-8/+1
security mechanisms at the moment. I'll put this back when I implement the functionality. Andrew Bartlett (This used to be commit 9a38ddc86fe8c68520622678eae81e4e90f427cf)
2007-10-10r23807: added hex_encode_talloc()Andrew Tridgell1-0/+16
(This used to be commit 1b105097e3f4a8475d3a2623205ecdea2aef91cf)
2007-10-10r23802: fixed URL in XMLAndrew Tridgell1-1/+1
(This used to be commit c0111223e2201b2c62e25a4c88e1ee445fde5ab6)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell13-26/+12
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell6-12/+12
not GNU Library General Public License (This used to be commit 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell12-34/+12
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)