summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20817: sync lib/replace with samba4Stefan Metzmacher12-40/+149
metze (This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
2007-10-10r20789: merge from samba4:Stefan Metzmacher2-12/+0
- remove the epoll configure checks from libreplace metze (This used to be commit 3061c333eca4aaff6af4b200cfe07d17f87018b2)
2007-10-10r20695: Remove duplication of constants.Jeremy Allison1-11/+2
Jeremy. (This used to be commit 66cca893e1aa035fa0aa05c0d542848f084fac31)
2007-10-10r20694: To get this right we need to do signed 64-bitJeremy Allison1-7/+7
comparisons here, not unsigned as we're eventually casting into what it normall a signed 32 bit value. Guenther please check (but I think I'm right here). Jeremy. (This used to be commit 31f8e0edc0c3e76654728b2c204faa70830e1f1b)
2007-10-10r20692: Fix bug found by Guenther -Jeremy Allison1-1/+1
Just try to log on in offline mode without the fix: all accounts are expired, although they are set to never expire in the PAC/info3. NTTIME "Never" needs to get (time_t) -1. We were casting a uint64 to time_t before comparing, and we should have been doing it the other way around. Guenther please check this fixes things. Jeremy. (This used to be commit f4e898b6224fd82d9805da771ef6040065de7b12)
2007-10-10r20394: This is a *VERY* early start of my work on notify.Volker Lendecke1-0/+31
Checking in because Jeremy was bugging me. Potentially this becomes quite intrusive, I'm not sure if I should open a temporary branch for this. Jeremy, Jerry, do you think 3_0 is the right place for this? Volker (This used to be commit bcf5c751cbe203c00814642e26440cf88f300bce)
2007-10-10r20385: merge from samba4:Stefan Metzmacher1-5/+7
only try to find dlfcn.h if the dlopen symbol was found, it hopefully fixes systems where dlfcn.h but no library with dlopen metze (This used to be commit b303e929d1ac6f1d931d0b92bdecdf292e1598cd)
2007-10-10r20361: Prevent strnlen_w reading beyond max. ValgrindJeremy Allison1-1/+1
found by Volker. Jeremy (This used to be commit 08d551163c9563bd02acd437bc1a1595e7939cee)
2007-10-10r20269: merge -r20264:20267 from SAMBA_3_0_24Herb Lewis5-0/+11
more no previous prototype warnings (This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis2-1/+2
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r20248: merge 20247 from samba_3_0_24Herb Lewis1-1/+1
get rid of warning: value computed is not used (This used to be commit ebe16589cb6c45524b90abe5f9be5e4affa1598e)
2007-10-10r20215: Next step trying to fix the Solaris build.Volker Lendecke1-2/+2
I think "anonimous" is correctly spelled "anonymous". The Solaris compile is referring to this as "anonymous" in line 814 of smbldap.c. Simo, please check. Thanks, Volker (This used to be commit a77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95)
2007-10-10r20208: Change sprintf_append() never to use malloc,Jeremy Allison2-19/+13
but always use a talloc context. Thanks to simo for pointing this out. Jeremy. (This used to be commit 437cb7c88833d7eab0e3c3dcf175860df74a7a38)
2007-10-10r20197: merge talloc fixes from samba4:Stefan Metzmacher2-20/+18
- make most static functions inline - handle NULL pointers in talloc_parent_chunk() - use talloc_parent_chunk() in talloc_parent_name() to fix a bug found by the IBM checker metze (This used to be commit c718eb7a7c3cdc4acb25f303a73a3ca478c27af0)
2007-10-10r20183: Fix the build.Günther Deschner1-6/+6
Guenther (This used to be commit fe3ed63d29e7a68413bffc11d634b61a664ed1a2)
2007-10-10r20181: Improve NT status to pam error mapping.Jeremy Allison1-0/+7
Jeremy. (This used to be commit 794ebd8a84115a636d8fa4a9f859f8a999135e5e)
2007-10-10r20179: Sync up with Samba4 - remove blank lines at theJeremy Allison1-3/+9
end parsing a file. Jeremy. (This used to be commit ea8215935e5f3952a4480c1f7dafafa9458f66a9)
2007-10-10r20174: If we're only going to call one handler per messageJeremy Allison1-4/+4
then terminate the traversal once we've done that. Jeremy. (This used to be commit da3d0b62340b545950ea2081f30c252fd4609981)
2007-10-10r20165: Change messaging subsystem to only allow one messageJeremy Allison1-3/+11
per type - this is all we use right now and makes re-entrancy problems with deleting handlers with a message dispatch loop go away. Jeremy. (This used to be commit 2e9b6faeae1474d65a5c12f5a19b0ae045d47c2e)
2007-10-10r20160: Fix long-standing (ie. from initial code I think) bugJeremy Allison1-2/+5
in tdb message processing. If we're inside a dispatch function and we delete our own handler we'd walk onto the next pointer from a deleted memory block. Fixes crash bug in winbindd (and goodness knows where else). Jeremy. (This used to be commit 27a4c1121404e346432d90b97b518861e038e9f2)
2007-10-10r20148: Forgot to merge. Ensure open_any_socket_out()Jeremy Allison1-1/+1
is safe from signals. Jeremy. (This used to be commit c264a0aa4a83a3d47db33446b16a8766bc14824f)
2007-10-10r20133: get rid of defined but not used warning - static function only usedHerb Lewis1-5/+2
inside the #ifdef HAVE_NATIVE_ICONV (This used to be commit 43ab1d2ba5eb24fc22f8d53c650bf39e95fb133b)
2007-10-10r20131: get rid of a few no previous prototype warningsHerb Lewis2-0/+2
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
2007-10-10r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce1-25/+50
Simo. (This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)
2007-10-10r20110: Fix interaction between paranoid malloc checkerJeremy Allison1-0/+17
and lib/replace. Found by Herb - thanks ! Jeremy. (This used to be commit 67c4d5e73fe066910f7b1ca4624541a9bbbf7750)
2007-10-10r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison5-46/+44
we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy. (This used to be commit 0ffca7559e07500bd09a64b775e230d448ce5c24)
2007-10-10r20087: Ensure we clean up any random pending events weJeremy Allison1-0/+15
may have inherited from our parent in the winbindd forked child. Jeremy. (This used to be commit 0a1352f440a9d9b974ad8d571b2e48a43a15b6cc)
2007-10-10r20054: Revert my changes, Simo promised to work on it :-)Volker Lendecke1-67/+42
(This used to be commit 4b5cf0c9cffe9903c86ac7e8b41c303fdbde5bac)
2007-10-10r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static stringVolker Lendecke1-3/+0
(This used to be commit f64866a43fbc21666e919cafdf3002a8e43c60af)
2007-10-10r20049: ReformattingVolker Lendecke1-39/+67
(This used to be commit 75555ae1c8039b7bbca796dd16609de08230265a)
2007-10-10r20046: Add ldb_search_exp_fmt and port comment to 4Volker Lendecke1-0/+10
(This used to be commit 1fe41c96f53b0d83e8779050e2149a5e70b5dad0)
2007-10-10r20036: Merge ldb_search_exp_fmt -- Thanks simoVolker Lendecke1-0/+39
(This used to be commit fa6fa1268b33334d17869d0f096cf7600e88f993)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-30/+30
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19982: From Michael Adam (ma@sernet.de) (thanks!:-)Stefan Metzmacher1-6/+6
Metze: as noted by "shattered" and discussed on the irc, here is a patch to lib/sysquotas_linux.c replacing some "get"s by "set"s. The other lib/sysquotas*.c files look ok to me. But in the linux variant, the problem is not in the actual call of quotactl but in the preparation of the respective "D" structs. This makes the difference between the get and set calls for SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE. metze (This used to be commit d303cc7e620d8879e153c6a145c331453cf6552f)
2007-10-10r19978: More "net sam policy" improvements. Thanks to Karolin Seeger ↵Volker Lendecke1-16/+12
<ks@sernet.de> Volker (This used to be commit fde042f29e9e9ac19ed3380e8fbe45fa8441e705)
2007-10-10r19963: Add 'registry shares = yes' and registry key security descriptors.Volker Lendecke1-4/+61
(This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
2007-10-10r19957: Initial framework to make winbindd robustJeremy Allison1-0/+2
against tdb corruption. Needs fleshing out (and I forgot one record type) and needs helpful suggestion from Volker to validate freelist, but should give an idea of how this will look. Jeremy. (This used to be commit 8eb53f74e414483afde7b1e38ea2a3f56ae3ec66)
2007-10-10r19950: talloc_destroy is replaced these daysVolker Lendecke1-2/+1
(This used to be commit b6bf2e42672cc84e5c3af6f8b15a9d39c408db13)
2007-10-10r19942: Fix Coverity id 333, a dereference before a NULL check.Volker Lendecke1-3/+6
Metze, you wanted to port talloc_get_type_abort() to 4. Should I just use it in 3-ldb? Volker (This used to be commit ba0df1c915c49afad629df789375440225968633)
2007-10-10r19935: always use discard_const_p() in lib/ldb/Stefan Metzmacher5-7/+7
metze (This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)
2007-10-10r19932: Add some constVolker Lendecke1-2/+3
(This used to be commit be3c444c37dc6f0ab91a2815a2efe6f7c38818c5)
2007-10-10r19917: Fix warningsVolker Lendecke8-26/+44
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)
2007-10-10r19900: Fix klokwork ID 3148, 3149Volker Lendecke1-0/+8
(This used to be commit 1f3e20ef3985a0a16e8945907611654ef5e884c4)
2007-10-10r19899: Fix some C++ warnings and klokwork ID 3147Volker Lendecke1-7/+14
(This used to be commit c5e041661ec6dd63188ad0a09a228192b6dfd2b3)
2007-10-10r19898: Fix klokwork ids 3127, 3128, 3129, 3130Volker Lendecke1-2/+9
(This used to be commit 3250d20d27d4f85421052e877077526975b16e02)
2007-10-10r19896: Fix klokwork id 2279Volker Lendecke1-1/+5
(This used to be commit 558a13a755ff39c9f15ba4f0a2639ffe30c996ac)
2007-10-10r19895: Fix klokwork id 2278Volker Lendecke1-1/+4
(This used to be commit 8ccff6a4dd92dfad4942b562cd1bb27d22d59661)
2007-10-10r19894: Fix klokwork id 2192Volker Lendecke1-2/+4
(This used to be commit 4b075f347b5449b199be19221187ce66916384cf)
2007-10-10r19893: Fix klokwork id 2191Volker Lendecke1-1/+4
(This used to be commit a301a4a12d554d9d3ba00c2780deb9eafc44e1a8)
2007-10-10r19892: Fix klokwork id 2190Volker Lendecke1-1/+4
(This used to be commit 235e8c9653a9199f2766c5c4a2d1f1d4f2801a3b)