summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10305: start implementing better error handlingSimo Sorce16-354/+310
changed the prioivate modules API error string are now not spread over all modules but are kept in a single place. This allows a better control of memory and error reporting. (This used to be commit 3fc676ac1d6f59d08bedbbd9377986154cf84ce4)
2007-10-10r10304: check for basic ldb_message sanity and return appropriateSimo Sorce4-14/+59
LDB_ERR_ value (This used to be commit 610f5646f0816820ac9342e81d46d139e26cc918)
2007-10-10r10303: check no attribute is given emptySimo Sorce1-0/+5
(This used to be commit f0ad9495e45ee0d41ef8ca182984599c8e11cabb)
2007-10-10r10302: Introduce ldap like error codesSimo Sorce1-0/+91
(This used to be commit cbe438be6d9b1b7182ab3e63607a2e5b2d5456fb)
2007-10-10r10301: fix standalone compiple after tdb changesSimo Sorce1-1/+4
(This used to be commit acfb4b928363b00346cd8991347d992c76c981d6)
2007-10-10r10300: forgot to change the dsdb modules function namesSimo Sorce2-16/+16
(This used to be commit e9018e3d9f69528acc0c440929fdb8d95413fa0d)
2007-10-10r10299: remove the public (un)lock functions and introduce a transaction basedSimo Sorce13-275/+232
private ldb API ldb_sqlite3 is already working with this model and ldb_tdb will do as soon as tridge finishes the tdb transaction code. currently the transactions are always implicit and wrap any single ldb API call except searching, the transaction functions are currently not made public on purpose. Simo. (This used to be commit 1da4ac2cdcb7e54076f85242a93784260dced918)
2007-10-10r10296: Fix function pointer handling for older perl versionsJelmer Vernooij1-1/+1
(This used to be commit 0949db8119af548c199930c64449d6ca2228bcb5)
2007-10-10r10295: Remove dependency on Data::DumperJelmer Vernooij1-1/+0
(This used to be commit 26f2903dab833fbf420af7104757b26f8398e99d)
2007-10-10r10294: Generate Makefile directly rather then thru Makefile.in. AutoconfJelmer Vernooij6-44/+59
substitution variables are now no longer used. This is one more step towards a (hopefully) perl-based configure (This used to be commit 6f9956a1dd870c0669c288b0fe72b7b1c8773dd0)
2007-10-10r10292: This is set below from lp_server_role().Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 096c751f37172b06bb42b5c4d73b2743322d2f71)
2007-10-10r10291: The patch optionally (off by default, not available in all cases) allowsAndrew Bartlett5-22/+85
Samba to use the target principal name supplied in the mechTokenMIC of an SPNEGO negTokenInit. This isn't a great idea for security reasons, but is how Samba3 behaves, and allows kerberos to function more often in some environments. It is only available for CIFS session setups, due to the ordering of the exchange. Andrew Bartlett (This used to be commit f6a645644127ae695a9f7288e0a469f2eb7f3066)
2007-10-10r10287: Compile compilers for build host. This fixes some bits ofJelmer Vernooij3-53/+52
the mingw32 build (it now fails on missing inet_aton / in_addr definitions). Find sane default for HOSTCC (This used to be commit 1a833690b8fd9a22169882c41704d24f2d52b2d9)
2007-10-10r10286: This patch is ugly and disgusting, but for now it works better than ↵Andrew Bartlett7-121/+189
the other ideas I have had. When I get a full list of things I want to do to a krb5_context I'll either add gsskrb5_ wrappers, or a way of speicfying the krb5 context per gssapi context. (I want to ensure that the only krb5_context variables created while executing Samba4 are via our wrapper). Andrew Bartlett (This used to be commit 8a22d46e70e9f863831aba0c9913d195f833d625)
2007-10-10r10283: Eliminate some more use of autoconf substitution variables.Jelmer Vernooij2-11/+37
Add makefile rule for '.ho' files (compiled with host compiler). This does not allow for cross-compiling yet as that requires a HOSTLD as well. (This used to be commit c675ba0ee437ade4abe839a2fb193b9e3a98a3de)
2007-10-10r10277: do not ovverride LIKE, thanks to derrel I found out how to doSimo Sorce1-26/+24
the same thing with a harmless user function (This used to be commit 158693b4064bd731aa4f6cdb2fde51d7aa596cf5)
2007-10-10r10258: Fix an unused/duplicate local variable.Tim Potter1-2/+0
(This used to be commit 360be7028c2244391cdd9ed6d156cec8dab9e9e9)
2007-10-10r10257: strlen returns a size_t which can be 64 bits long.Tim Potter1-2/+2
(This used to be commit 4a4b0537183e16b00a94f0411e423c943d79cba9)
2007-10-10r10256: Fix some unhandled enumeration warnings. There's one still left,Tim Potter1-0/+15
RAW_SEARCH_UNIX_INFO find_fill_info(), which I think is a bug. (This used to be commit 5f1cd6382cd90b1b33f645b1b2a469f4de4f42b9)
2007-10-10r10255: Fix some more 64-bit warnings.Tim Potter1-2/+2
(This used to be commit f4f9337619f7793f5ad23fcb59a8e8751941fec6)
2007-10-10r10253: a fairly large tdb cleanup and re-organise. Nearly all of this changeAndrew Tridgell26-2580/+2234
just involves splitting up the core tdb.c code into separate files on logical boundaries, but there are some minor functional changes as well: - move the 'struct tdb_context' into tdb_private.h, hiding it from users. This was done to allow the structure to change without breaking code that uses tdb. - added accessor functions tdb_fd(), tdb_name(), and tdb_log_fn() to access the elements of struct tdb_context that were used by external code but are no longer visible - simplied tdb_append() to use tdb_fetch()/tdb_store(), which is just as good due to the way tdb locks work - changed some of the types (such as tdb_off to tdb_off_t) to make syntax highlighting work better - removed the old optional spinlock code. It was a bad idea. - fixed a bug in tdb_reopen_all() that caused tdbtorture to sometimes fail or report nasty looking errors. This is the only real bug fixed in this commit. Jeremy/Jerry, you might like to pickup this change for Samba3, as that could definately affect smbd in Samba3. The aim of all of these changes is to make the tdb transactions/journaling code I am working on easier to write. I started to write it on top of the existing tdb.c code and it got very messy. Splitting up the code makes it much easier to follow. There are more cleanups we could do in tdb, such as using uint32_t instead of u32 (suggested by metze). I'll leave those for another day. (This used to be commit 4673cdd0d261614e707b72a7a348bb0e7dbb2482)
2007-10-10r10252: a recent checkin from simo changed the handling of BASE and SUBTREEAndrew Tridgell3-23/+18
searches in ldb to be more ldap compliant, but broke the wins server and the ejs ldb code. This fixes those up so 'make test' passes again. (This used to be commit dff660c23c97114d0c1be705f4d6a9c114b60456)
2007-10-10r10251: some more work on ldb_sqlite3Simo Sorce5-247/+282
I must say that writing a new module is a very good way to find lot of subtle bugs laying in the code We need more tests! commit oLschema2ldif.c to keep it safe from data losses (rm -fr :-) update test generic to reflect the fix made on comparsion functions (This used to be commit 4357a2db5eadb15519ed93b957b2bad25ebf2a7d)
2007-10-10r10250: the comparison is caseless so we must caseless subtractSimo Sorce1-1/+1
otherwise we get the wrong result when comparing upper case chars with lower case chars (This used to be commit f6ea6e9382f954be819ec82e28598cdf9cf88661)
2007-10-10r10246: Remove unused functionJelmer Vernooij4-94/+6
Move auth-specific file to auth/ (This used to be commit 8aa9711a306b30da905f53148ebe352462852d74)
2007-10-10r10245: Get rid of XFILE in a few places.Jelmer Vernooij4-27/+47
Add fdprintf() and vfdprintf() helper functions. (This used to be commit 6685009f6af94b088084d69a43bcea5f8335ae57)
2007-10-10r10238: Add a entry for sec_info to treat it as a uint32 for now.Tim Potter1-0/+2
(This used to be commit 8a0a8d259dfc517a96053404985f2996b7342713)
2007-10-10r10237: fix parameter, how have I missed this...?Stefan Metzmacher1-1/+1
metze (This used to be commit d02e1aa049f29590fbb5e08a32ee54177baa71a7)
2007-10-10r10236: fix (C) noteSimo Sorce1-0/+1
(This used to be commit 466e6812c35af9096fea05520c6b59a19793c4d1)
2007-10-10r10233: add commented PRAGMA to avoid fsyncsSimo Sorce1-2/+8
(This used to be commit e5d8d834600040793c1e45c7aaceb374df2b3839)
2007-10-10r10232: Some work on ldb_sqlite3.Simo Sorce2-2026/+1377
It is still far from being usable in samba4 but I want to commit so that the work does not get lost by mistake. This is also a good way to get comments if somebody is interested. Sorry Derrell I ended up rewriting large parts of the code but I find this style much more readable. Thanks for the hard work done. Your work was a good reference for me. ah the current code also shows some good numbers sqlite3 generic test: uid search took 0.05 seconds real 0m12.492s user 0m0.492s sys 0m0.345s with tdb we still get better numbers: uid search took 0.46 seconds real 0m0.892s user 0m0.360s sys 0m0.468s but most of the time is spent in adding operations and I think there's still a lot of space for improvement. Simo. (This used to be commit ace9990060c10d0931f418934b2121aea9512ff7)
2007-10-10r10231: seem I flipped these, fix.Simo Sorce1-2/+2
(This used to be commit 8ddf4de162f42ed53ab0603dd0e1536796f9197e)
2007-10-10r10228: Reorganizing a bit, trying to simplify. This is an attemptDeryck Hodge3-88/+61
to find what's going wrong in IE formatting. This is some better, but still IE needs help. deryck (This used to be commit e7015c19374e1db8165790c623cb45e33b0a92df)
2007-10-10r10225: Adding back a style rule to qooxdoo that was originallyDeryck Hodge1-0/+1
removed. This is a cross browser hack that makes for better performance amone differing browsers. deryck (This used to be commit b10d1d522cab53f50d7b3268b617c68e51b411a5)
2007-10-10r10216: Chris Samuel pointed out that we should note the need to run provisionAndrew Tridgell1-2/+3
as a user with write permission on the install directory (This used to be commit c0de3fd4c5718fbee76dbc9c08fa8e5754c4dc2a)
2007-10-10r10213: fixed a memory leak in the ldap client and server code spotted by KarlAndrew Tridgell4-10/+9
Melcher. ldap_encode() now takes a memory context to use for the data blob (This used to be commit 09948a59336a7f02bf2b4605f2d4d886e65b85f2)
2007-10-10r10212: An IE fix. Must set initial values in the onload function.Deryck Hodge1-6/+7
deryck (This used to be commit 3264ccf7438e003c3ed217f2d4a7315aceb05eb1)
2007-10-10r10207: Add some constJelmer Vernooij9-90/+76
(This used to be commit b1ad340b4720e922ae1e332c2a74986b1656358b)
2007-10-10r10200: added a composite_trigger_done() call that allows a composite functionAndrew Tridgell4-16/+36
to cause an event to happen immediately. This allows metzes patch for recognising IPs in resolve_name() to work, and also allows us to remove some of the other code where we currently do specific checks for is_ipaddress(). (This used to be commit 9cc000d868e1257ef6429f6f6f1f9d3c28ca330f)
2007-10-10r10199: added a LOCAL-RESOLVE torture test, useful for measuring the overhead ofAndrew Tridgell3-1/+90
the async name resolution mechanisms (This used to be commit b3a9d759bb7c6ca892f9810389292e79d963ca61)
2007-10-10r10197: Assume that external dissectors are structs which I think is always theTim Potter1-1/+1
case. (This used to be commit 515f456facfeb2cd9893ac65dd96cdda16c9d1ca)
2007-10-10r10193: r11632@blu: tridge | 2005-08-30 23:08:27 +1000Andrew Tridgell1-0/+22
if we fail to erase a ldb during provision by traversing and deleting records (an in-place erase) then just unlink it and start it again. This makes provisioning much more robust to changes in ldb that make it not backward compatible with old DBs. (This used to be commit 173655aec25c462b8b90b850df65ae6f95f44efb)
2007-10-10r10192: r11631@blu: tridge | 2005-08-30 23:06:37 +1000Andrew Tridgell1-0/+26
added a ldb.close() method in js. Useful for re-opening the db (This used to be commit 1f12364a0f23ba39fd3d29b510fdef2423685f0d)
2007-10-10r10191: Return the right error code in the case of a time skew. Windows will nowJelmer Vernooij1-1/+1
ignore Kerberos and fallback to NTLMSSP when joining. Thanks to Andrew Bartlett for the assistence. (This used to be commit 3b6bfbe8cf555f4144ed06044d3ecb8044f86bca)
2007-10-10r10190: Do some very basic input checking when provisioning.Jelmer Vernooij6-3/+35
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)
2007-10-10r10185: Fix another two sets of unhandled enumeration warnings, plus correct ↵Tim Potter1-7/+11
some awful indentation. (-: (This used to be commit 2f24fc7a7a195c04f88a25d52efc02ddf491126c)
2007-10-10r10184: Fix a stack of unhandled enumeration warnings.Tim Potter1-0/+6
(This used to be commit aeb42a446b3c28c5cf6800606b3f9b70c49cb94b)
2007-10-10r10181: Fix the buildJelmer Vernooij1-1/+1
(This used to be commit 231d01a3e79b26884409d24d8e25fc4ab8567d89)
2007-10-10r10174: This patch implements generic PAC verification, without assumptionsAndrew Bartlett1-23/+98
about the size of the signature. In particular, this works with AES, which was previously broken Samba4/Samba4. Reviewed by metze (and thanks for help with the previous IDL commit). (This used to be commit 3c8be196cce3bf275a0bf8d0cf127df570b560d3)
2007-10-10r10173: Document new optionJelmer Vernooij1-4/+13
(This used to be commit efa6e3938df2f185fc7a303094a0b091422a7398)