summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17584: Some C++ WarningsVolker Lendecke1-3/+3
(This used to be commit f6194cf4b263454bbdf180a7d014ffc3498df497)
2007-10-10r17569: Make 'max smbd processes' more robust. Counting on the child to ↵Volker Lendecke2-8/+0
decrement a tdb entry is not the most reliable way to count children correctly. This increments the number of children after a fork and decrements it upon SIGCLD. I'm keeping a list of children just for consistency checks, so that we at least get a debug level 0 message if something goes wrong. Volker (This used to be commit eb45de167d24d07a218307ec5a48c0029ec097c6)
2007-10-10r17554: CleanupVolker Lendecke2-628/+0
(This used to be commit 761cbd52f0cff6b864c506ec03c94039b6101ef9)
2007-10-10r17550: Fix a few bugs in the tdb_multikey code. Thanks to tridge for ↵Volker Lendecke1-1/+1
pointing them out. Volker (This used to be commit 6bf5e7080a51c416d1d1466b1ca84c8f23a6bf2c)
2007-10-10r17477: Add talloc_asprintf_len and make use of it.Volker Lendecke2-6/+49
Volker (This used to be commit c0ff2afe0683095401fa7b7654aa3b2fe950f7b3)
2007-10-10r17457: Add a test to do some operations on group mapping.Volker Lendecke1-2/+57
Volker (This used to be commit 68db058fdf508d5b4d38731ece21f5d92feca00c)
2007-10-10r17425: Add the multi-key wrapper. If it's necessary to add general blobs as ↵Volker Lendecke1-0/+530
keys, this can trivially be added later. Volker (This used to be commit 6915adb9780052952e4a1d9e1c3e6cac06f48463)
2007-10-10r17408: Let us use netgroups even without a NIS domain but just using filesSimo Sorce1-3/+2
(This used to be commit c065341d3ffc9125514f563c63d416cf7c40375f)
2007-10-10r17334: Some C++ warningsVolker Lendecke11-22/+24
(This used to be commit 8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b)
2007-10-10r17316: More C++ warnings -- 456 leftVolker Lendecke6-22/+25
(This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
2007-10-10r17315: Make talloc and tdb C++-warning-free. Would this also be interesting ↵Volker Lendecke1-13/+17
in talloc and tdb "upstream"? Volker (This used to be commit 68c43191c8aa4faa9801e0ab084a216ceaf4379d)
2007-10-10r17294: Make the code a little cleaner. Instead of using the twoJeremy Allison2-10/+33
calls make it : become_root_uid_only() operation unbecome_root_uid_only() saving errno across the second call. Most of our internal change calls can be replaced with these simple calls. Jeremy (This used to be commit 4143aa83c029848d8ec741d9218b3fa6e3fd28dd)
2007-10-10r17293: After the results from the cluster tests in Germany,Jeremy Allison3-8/+32
fix the messaging code to call the efficient calls : save_re_uid() set_effective_uid(0); messaging_op restore_re_uid(); instead of using heavyweight become_root()/unbecome_root() pairs around all messaging code. Fixup the messaging code to ensure sec_init() is called (only once) so that non-root processes still work when sending messages. This is a lighter weight solution to become_root()/unbecome_root() (which swaps all the supplemental groups) and should be more efficient. I will migrate all server code over to using this (a similar technique should be used in the passdb backend where needed). Jeremy. (This used to be commit 4ace291278d9a44f5c577bdd3b282c1231e543df)
2007-10-10r17231: Some patch cosmeticsVolker Lendecke2-2/+2
(This used to be commit 736e55101b1e7cc22f043b836be877afbb031edf)
2007-10-10r17179: Merge the vl-posixacls tmp branch into mainline. ItJim McDonough1-2768/+153
modularizes our interface into the special posix API used on the system. Without this patch the specific API flavor is determined at compile time, something which severely limits usability on systems with more than one file system. Our first targets are AIX with its JFS and JFS2 APIs, at a later stage also GPFS. But it's certainly not limited to IBM stuff, this abstraction is also necessary for anything that copes with NFSv4 ACLs. For this we will check in handling very soon. Major contributions can be found in the copyright notices as well as the checkin log of the vl-posixacls branch. The final merge to 3_0 post-3.0.23 was done by Peter Somogyi <psomogyi@gamax.hu> (This used to be commit ca0c73f281a2a65a988094a46bb3e46a94011a53)
2007-10-10r17098: Samba3 now cleanly passes Samba4 RAW-LOCK tortureJeremy Allison1-0/+4
test. Phew - that was painful :-). But what it means is that we now implement lock cancels and I can add lock cancels into POSIX lock handling which will fix the fast/slow system call issue with cifsfs ! Jeremy. (This used to be commit f1a9cf075b87c76c032d19da0168424c90f6cb3c)
2007-10-10r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵Volker Lendecke1-0/+31
lib/sharesec.c (This used to be commit 220dd4333032aea238066e3fbec9fca51ed16ddf)
2007-10-10r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some ↵Volker Lendecke1-1/+24
pstrings. Volker (This used to be commit c5e393d5eda4e13a844171d9ff319d1f1bac3d84)
2007-10-10r17032: I thought I had already merged this from trunk:Volker Lendecke1-3/+5
> r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line > > get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC Volker (This used to be commit c89471e15766fcdbfa4f40701e12c19f95c2d8ef)
2007-10-10r17025: Remove one blank line - test checking in to twoJeremy Allison1-1/+0
branches simultaneously..... Jeremy. (This used to be commit 13e7fe540acf575c3b4503050a25cbe4d30b8835)
2007-10-10r16997: Simo's patch (based on repotr from Seth Elssworth of Quest) to try ↵Gerald Carter1-2/+21
to be more robust in the precense of more broken /etc/hosts files when determining our fwdn (This used to be commit 6413df8348829659807c0c30e6eaef511815e0ed)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison15-153/+475
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16687: Fix bugs #3901, #3902, #3903 reported by jason@ncac.gwu.edu.Jeremy Allison1-1/+1
Jeremy (This used to be commit c4896b17faa6802f18cc1cec7fcc6168bde2eef0)
2007-10-10r16595: Klocwork #2067. Fix possible memleak on error exit.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 1d21a3dec9ea061ce900ad1223f7c2a43c064600)
2007-10-10r16582: Fix Klocwork #1997 and all generic class of problemsJeremy Allison1-0/+4
where we don't correctly check the return from memdup. Jeremy. (This used to be commit ce14daf51c7ee2f9c68c77f7f4674e6f0e35c9ca)
2007-10-10r16554: Sorry, just had to change this. Don't use int whenJeremy Allison1-3/+5
you're passing a BOOL parameter, don't use "clever" code in while statement - make things easier and clearer to understand when triggering something with an if. Jeremy. (This used to be commit b1fc2d8b99e0402c0e8fe954d9f9563dc4dc2812)
2007-10-10r16552: Fix bug 3849.Derrell Lipman1-7/+35
Added a next_token_no_ltrim() function which does not strip leading separator characters. The new function is used only where really necessary, even though it could reasonably be used in many more places, to avoid superfluous code changes. Derrell (This used to be commit d90061aa933f7d8c81973918657dd72cbc88bab5)
2007-10-10r16420: Fix Klocwork #1674. Null deref.Jeremy Allison1-4/+8
Jeremy. (This used to be commit f5dddf339ee3a867e21f34a81bd0b33195b7397d)
2007-10-10r16396: Klocwork #1170. Null deref.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 220627ab70977a9a26dc0e010f73195c2c87ec96)
2007-10-10r16390: Klocwork #604 - ensure if NULL pointer we assertJeremy Allison1-2/+8
if len != 0. Jeremy. (This used to be commit e99cedfb0cabe3863797c8bd4594ee0826022d2e)
2007-10-10r16388: Klocwork #320. Null deref.Jeremy Allison1-0/+5
Jeremy. (This used to be commit ceea8e21006bd6bae9e203a672f82e4d066bba28)
2007-10-10r16386: Klockwork #lots. Ensure talloc_get_type_abort abortsJeremy Allison1-3/+0
if handed a NULL pointer, not returns NULL. Jeremy. (This used to be commit d47ec4dc25bffa6f605c0f6fa1d9c046dbc520a7)
2007-10-10r16375: Klocwork #1670.Jeremy Allison1-2/+8
Jeremy. (This used to be commit 99605ce296663b7697d737fd521f0e4d8436d1f2)
2007-10-10r16350: Fix the build.Günther Deschner1-0/+19
GUenther (This used to be commit 3203ce3b49e6f21ed690e9d7393e98419de54c27)
2007-10-10r16320: Ensure variable is not null before calling fclose.Jeremy Allison1-1/+1
Klocwork #412. Jeremy. (This used to be commit fed55d653a73d09550a90a4904023580dd46ae76)
2007-10-10r16290: Fix Coverity bugs 298 and 298Volker Lendecke1-4/+4
(This used to be commit b96808bb623c01f2515fdbdede8b4e9edebff23b)
2007-10-10r16274: Fix the smbclient prompting behaviour for both systems that haveJames Peach2-28/+61
libreadline and those that don't. We always use the built-in readline replacement for non-interactive mode. Interactive prompts are always emitted to stdout and non-interactive mode never prompts at all. Introduce x_fdup to avoid spuriously closing stdout when a logfile is specified on the command line and setup_logging is called a second time. (This used to be commit 848ac756f651a4be231e5635580c0fd5f3d3fa0e)
2007-10-10r16267: Fix Klocwork #401, #402 - ensure format specifierJeremy Allison1-15/+59
limited. Fix memleak in printing gencache contents. Jeremy. (This used to be commit 81731e1f68cdf4af80733338238aeae0a7d108c0)
2007-10-10r16245: Cope with string being zero len. Klocwork bug #410.Jeremy Allison1-2/+4
Jeremy. (This used to be commit afe2d4c49333309b940cec8408ccd37ed3747cb7)
2007-10-10r16230: Fix Klocwork #861 and others. localtime and asctimeJeremy Allison2-56/+83
can return NULL. Ensure we check all returns correctly. Jeremy. (This used to be commit 6c61dc8ed6d84f310ef391fb7700e93ef42c4afc)
2007-10-10r16153: Fix possible NULL dereference found by Klocwork # 252Volker Lendecke1-0/+4
(This used to be commit 128260527b90d77ca3dfc900e012018ef00ba9e0)
2007-10-10r16122: As we use 'inetOrgPerson' as structural objectclass for new accounts forGünther Deschner1-0/+2
eDir, we already add 'sn' as required attribute on LDAP add operations. When we modify an entry, we need to request 'sn' as well in our attribute lists, so that we don't try to add it a second time. Guenther (This used to be commit e018ea3d1d70e68e6802843f88b3245dc09244c9)
2007-10-10r16047: Remove unnecessary line, as this value is set in either branch of theJim McDonough1-1/+0
'if' below. Spotted by Aleksey Fedoseev. (This used to be commit 00eb42791abf3e34dc42a2067f07b8549ea31abb)
2007-10-10r16046: Hmmm. I don't fully understand popt, but this is necessary for ↵Volker Lendecke1-1/+1
smbclient to show a prompt again :-) James, could you check that this is ok? I think this was part of your Revision 15848. Thanks, Volker (This used to be commit 91534146b4718206f0e2a7f456154a0497277dfd)
2007-10-10r16017: Add Samba4 replacement for timegm to workJeremy Allison2-24/+71
on Solaris. Jeremy. (This used to be commit b65c6468651282879a39fa8029c190f2d1a91a28)
2007-10-10r15995: Make smbldap obey config tests. Patch from "John E. Malmberg"Jeremy Allison1-0/+6
<wb8tyw@qsl.net>. Jeremy. (This used to be commit 93dd476a9108adde42de422e1886bbaee75b952b)
2007-10-10r15848: Introduce commandline options to set the remainder of the parameters inJames Peach1-11/+143
dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options. (This used to be commit bf3b71c84595608d71e0f15a6158adacb295518e)
2007-10-10r15838: Back-port tridge's talloc fixes (r15824, r15828) from Samba4.Jeremy Allison1-3/+36
Jeremy. (This used to be commit f6c110ddb8cfaa1a57dea52818e7611134c2dcfe)
2007-10-10r15700: Make nmbd udp sockets non-blocking to prevent problemJeremy Allison1-1/+6
with select returning true but no data being available. Fix for bug #3779. Jeremy. (This used to be commit e5787cf75b2e7d50f551f34f28d280c27b0aa134)
2007-10-10r15672: Fix for bug #3783. winbindd_cm.c calls open_any_socket_out()Jeremy Allison1-1/+1
to make connections to ports 445 or 139 on the DC it's trying to contact. It calls sys_select() on the non-blocking sockets, not sys_select_intr(). This is a mistake (I believe) as it allows a signal to early terminate the connection attempts - whereas sys_select_intr() will ignore signals until we get back to the main processing loop where they'll be handled correctly. This change means winbindd_cm will not early terminate if it gets a message whilst trying to connect to DC's. Gunther, Volker and Jerry please review (but I think this is correct). Jeremy. (This used to be commit 24aaa486771f797d35ea6b0711c12cd3e663dd8c)