summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24812: Fix headers for external users.Jelmer Vernooij1-0/+10
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij9-29/+1119
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and ↵Michael Adam1-6/+25
r23977. Michael (This used to be commit 7b2cabea55cebb98e0fcee17066a0871667cd83f)
2007-10-10r24726: Add tests for getting/setting security descriptors (still failing at ↵Jelmer Vernooij3-0/+68
the moment) (This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)
2007-10-10r24725: Don't segfault if hive file can't be foundJelmer Vernooij1-0/+2
(This used to be commit 2daa8fa88dbc80a7c54c4b489b1037658d95755c)
2007-10-10r24723: Install the right headers for use by samba-gtk.Jelmer Vernooij4-33/+29
(This used to be commit 762e893d9ce4cc73bb1763a9520634bf921c0503)
2007-10-10r24718: Fix some compiler warnings.Jelmer Vernooij3-8/+15
(This used to be commit 08f7389ab7312d350e056b1ba98da86d80944424)
2007-10-10r24717: Some more easy bool conversions, update TODO for registryJelmer Vernooij5-48/+19
(This used to be commit fc8771fb6aab815e63334da0159032f7ecd0a931)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij9-35/+35
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24710: Use standard boolean type for easier use by external users.Jelmer Vernooij15-145/+146
(This used to be commit 99f4124137d4a61216e8189f26d4da32882c0f4a)
2007-10-10r24704: Fix bug in the registry patch code.. all the more proves this code ↵Jelmer Vernooij1-1/+1
needs tests. (This used to be commit aa98d219571c4a7af1e5a0f8483cc17a4b6b36e2)
2007-10-10r24703: Use standard registry diff files when provisioning rather thanJelmer Vernooij3-1/+10
LDIF files for the registry files. (This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)
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)