summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r19891: Fix klokwork id 2189Volker Lendecke1-1/+3
(This used to be commit b6933c3043b73b68a30f57f681185a79c8e205c2)
2007-10-10r19890: Fix klokwork ID 2188Volker Lendecke1-1/+3
(This used to be commit 4d44388929f75d1480a8222a7cd2f575494a2b62)
2007-10-10r19889: Fix klokwork ID 2187Volker Lendecke1-0/+3
(This used to be commit 1bd660fb9139238229fc6a80566c03f473cad094)
2007-10-10r19841: Wrap regdb_store_keys and regdb_store_values in tdb transactionsVolker Lendecke1-0/+8
(This used to be commit 5ec737922041b723b9e60c08049ace5fa2fa5dec)
2007-10-10r19827: Move registry_push/pull_value to lib/util_reg.cVolker Lendecke1-1/+116
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke1-1/+1
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r19786: My last checkin to winreg_StringBuf killed rpccli_winreg_EnumKeys ↵Volker Lendecke1-0/+18
against W2k3. The server requires that size==0 in the [in] name. Somehow I get the feeling that something is badly wrong here.... I did not yet recreate the gen_ndr equivalent, see next mail. Volker (This used to be commit 016ddce12005bb0829bf050e4d4851852751b3e5)
2007-10-10r19774: Fix typoVolker Lendecke1-1/+1
(This used to be commit 842599a7fd1217b498dc2d241d39ed604cf0da7d)
2007-10-10r19744: merge from samba4Stefan Metzmacher5-53/+198
metze (This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)
2007-10-10r19741: fix compiler warningsStefan Metzmacher1-4/+8
metze (This used to be commit 18171cf54b22f9f2d73753db580934bd10e95e3d)
2007-10-10r19739: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit b7965ac26cbfdfe60f929e2fa3a295b8c57d220d)
2007-10-10r19725: sync samba3's ldb with samba4Stefan Metzmacher31-628/+1810
metze (This used to be commit 207643e9c9c75546f38a09f12ea0b574b08086c5)