Tim Prouty
0998d172db
s3 ldb: Fix vasprintf segfault that has been the source of build machine failures this week
...
The bug was introduced when converting samba3's ldb_search interface
to match samba4:
47951fc5d0085e124666b7667715bba98076820e
f3ecb701335b1129947127d4c45eef970b66875c
2009-01-23 16:18:21 -08:00
Jelmer Vernooij
1377f28f85
Fix warning; base dn is no longer const.
2009-01-21 18:20:23 +01:00
Jelmer Vernooij
f3ecb70133
Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4.
2009-01-21 16:15:53 +01:00
Jelmer Vernooij
47951fc5d0
Reorder arguments to ldb_search() to match what is in Samba 4.
2009-01-21 15:18:05 +01:00
Volker Lendecke
7458111ea4
Fix bug 5913.
...
Never seen this to be a problem, but it doesn't hurt either :-)
2009-01-01 22:08:24 +01:00
Volker Lendecke
e551f43b4b
Remove two pointless globals
2009-01-01 19:08:33 +01:00
Jelmer Vernooij
ecca199486
Fix merged build .
2008-10-14 23:25:12 +02:00
Stefan Metzmacher
f27774729e
s3:lib/ldb: Don't return already freed pointer on error.
...
metze
Signed-off-by: Karolin Seeger <kseeger@samba.org>
2008-09-25 07:15:18 -07:00
Jelmer Vernooij
7111645d3c
Use single copy of tdb in both samba3 and samba4.
2008-09-16 15:16:31 +02:00
Simo Sorce
79297bc132
Update homepages for talloc, tdb and ldb subprojects
...
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
(This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
2008-09-14 19:04:05 +02:00
Karolin Seeger
dee5f09357
ldb: Fix permissions of new ldg files.
...
This one fixes together with 2eaf4ed62 bug #5715 and CVE-2008-3789.
Thanks to Steve Langasek <vorlon@debian.org> for reporting!
Karolin
(cherry picked from commit b666d0a4b597218f5f5020bf36d80d84dcbf7259)
(This used to be commit 73f54df7fedc8f0db022f902100fd5eb1b629fb2)
2008-08-27 13:32:09 +02:00
Karolin Seeger
df15541926
Fix typo.
...
retieve -> retrieve
Karolin
(This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08)
2008-07-14 16:40:36 +02:00
Volker Lendecke
993d80fd22
init_shared_module -> init_samba_module
...
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-23 07:20:18 +02:00
Volker Lendecke
3cf5395ad5
Use "init_shared_module" instead of "init_module" for initializing .so's
...
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-21 11:25:41 +02:00
Volker Lendecke
1bc1b1ac0a
Fix a handle leak for error returns in ldb_try_load_dso
...
Coverity ID 464
(cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900)
(This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
2008-06-13 16:15:12 +02:00
Volker Lendecke
3d28e7533f
Fix Coverity ID 472
...
Simo, S4 also has this code. You might want to cherry-pick.
Volker
(This used to be commit 94c29f55937e50dcf49124d28ad4e82c7fb4133e)
2008-03-23 18:28:24 +01:00
Volker Lendecke
4f4f1dfbb6
Fix Coverity ID 473
...
Simo, S4 also has this bug, you might want to merge the fix.
(This used to be commit b82cf75c825298444781697072d83a163c43df4b)
2008-03-21 11:52:34 +01:00
Jeremy Allison
7faee02d0d
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10 11:30:37 -08:00
Volker Lendecke
d4bfafa29c
Fix bug 5055
...
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-11-26 15:28:13 +01:00
Andrew Tridgell
153cfb9c83
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10 12:28:27 -05:00
Andrew Tridgell
28b9d61076
r23800: LGPL is now called GNU Lesser General Public License
...
not GNU Library General Public License
(This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
674b835241
r23799: updated old Franklin Street FSF addresses to new URL
...
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
9fa1c63578
r23798: updated old Temple Place FSF addresses to new URL
...
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
fd881dad3f
r23794: convert more code from LGPLv2+ to LGPLv3+
...
(This used to be commit f3df6cd87e1927f41e95af51d750a71278282e15)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
2c09988e46
r23790: LGPLv3+ conversion for our LGPLv2+ library code
...
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
2a9b4da0fa
r23780: Find and fix more GPL2 -> GPL3.
...
Jeremy.
(This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10 12:28:21 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Andrew Tridgell
422722aad2
r23367: check the "use mmap" option for ldb too
...
(This used to be commit 15345bbc73b28d07c069fde33d3d4c1f21f107d3)
2007-10-10 12:23:10 -05:00
Stefan Metzmacher
9bf4687932
r23337: fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed
...
it via a SIGBUS...
I missed to remove the samba3 specifc code path to tdb_open_ex()
when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex()
dropped the compiler warning :-(
metze
(This used to be commit 815d2101715d6646fc15ac9f2853cf727cf7fcd8)
2007-10-10 12:23:07 -05:00
Stefan Metzmacher
8b3ea388bc
r22229: discard_const_p is in lib/replace now
...
metze
(This used to be commit 8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
bc2b6436d0
r22009: change TDB_DATA from char * to unsigned char *
...
and fix all compiler warnings in the users
metze
(This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
63f43ad5e4
r21312: merge from SAMBA_4_0:
...
fix memory hierachy, and access to already freed memory
metze
(This used to be commit 05a23dd75655a80667627e00e0a441b54ec92b22)
2007-10-10 12:17:55 -05:00
Herb Lewis
e59e787b48
r20269: merge -r20264:20267 from SAMBA_3_0_24
...
more no previous prototype warnings
(This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10 12:16:38 -05:00
Volker Lendecke
4a1efb1abe
r20054: Revert my changes, Simo promised to work on it :-)
...
(This used to be commit 4b5cf0c9cffe9903c86ac7e8b41c303fdbde5bac)
2007-10-10 12:16:22 -05:00
Volker Lendecke
c0d74d11bc
r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static string
...
(This used to be commit f64866a43fbc21666e919cafdf3002a8e43c60af)
2007-10-10 12:16:22 -05:00
Volker Lendecke
8a20dd0ff1
r20049: Reformatting
...
(This used to be commit 75555ae1c8039b7bbca796dd16609de08230265a)
2007-10-10 12:16:22 -05:00
Volker Lendecke
91adcd0bae
r20046: Add ldb_search_exp_fmt and port comment to 4
...
(This used to be commit 1fe41c96f53b0d83e8779050e2149a5e70b5dad0)
2007-10-10 12:16:22 -05:00
Volker Lendecke
1710dd1fe2
r20036: Merge ldb_search_exp_fmt -- Thanks simo
...
(This used to be commit fa6fa1268b33334d17869d0f096cf7600e88f993)
2007-10-10 12:16:21 -05:00
Volker Lendecke
1c2ed58302
r19942: Fix Coverity id 333, a dereference before a NULL check.
...
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-10 12:16:12 -05:00
Stefan Metzmacher
762b86ff0d
r19935: always use discard_const_p() in lib/ldb/
...
metze
(This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)
2007-10-10 12:16:11 -05:00
Volker Lendecke
847644bdac
r19917: Fix warnings
...
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)
2007-10-10 12:16:09 -05:00
Volker Lendecke
2685e167fa
r19900: Fix klokwork ID 3148, 3149
...
(This used to be commit 1f3e20ef3985a0a16e8945907611654ef5e884c4)
2007-10-10 12:16:08 -05:00
Volker Lendecke
a12fb3afdd
r19899: Fix some C++ warnings and klokwork ID 3147
...
(This used to be commit c5e041661ec6dd63188ad0a09a228192b6dfd2b3)
2007-10-10 12:16:08 -05:00
Volker Lendecke
ca3300cbd1
r19898: Fix klokwork ids 3127, 3128, 3129, 3130
...
(This used to be commit 3250d20d27d4f85421052e877077526975b16e02)
2007-10-10 12:16:07 -05:00
Volker Lendecke
f6dece8b4d
r19896: Fix klokwork id 2279
...
(This used to be commit 558a13a755ff39c9f15ba4f0a2639ffe30c996ac)
2007-10-10 12:16:07 -05:00
Volker Lendecke
f494d7d31f
r19895: Fix klokwork id 2278
...
(This used to be commit 8ccff6a4dd92dfad4942b562cd1bb27d22d59661)
2007-10-10 12:16:07 -05:00
Volker Lendecke
40dc09e009
r19894: Fix klokwork id 2192
...
(This used to be commit 4b075f347b5449b199be19221187ce66916384cf)
2007-10-10 12:16:06 -05:00
Volker Lendecke
7968602097
r19893: Fix klokwork id 2191
...
(This used to be commit a301a4a12d554d9d3ba00c2780deb9eafc44e1a8)
2007-10-10 12:16:05 -05:00
Volker Lendecke
7230ce8cd0
r19892: Fix klokwork id 2190
...
(This used to be commit 235e8c9653a9199f2766c5c4a2d1f1d4f2801a3b)
2007-10-10 12:16:05 -05:00