summaryrefslogtreecommitdiff
path: root/source3/nmbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18660: Fix build, one uuid->GUID was missed.Jim McDonough1-1/+1
(This used to be commit f8ea2069d444a6630b61828999605a3ed011db02)
2007-10-10r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()Stefan Metzmacher1-2/+1
and DLIST_DEMOTE() now take the type of the tmp pointer not the tmp pointer itself anymore. metze (This used to be commit 2f58645b7094e81dff3734f11aa183ea2ab53d2d)
2007-10-10r17864: Fix possible null deref if client doesn't give usJeremy Allison1-1/+9
an answer record. Found by the Stanford checker. Jeremy. (This used to be commit 1ec77c50118de808f710b17f878b1e80d4e351d5)
2007-10-10r17807: Fix a file descriptor leak pointed out by John Malmberg. Thanks!Volker Lendecke1-0/+1
Volker (This used to be commit fac007ccbec75f5ee9ff2769d8add4d27e62167d)
2007-10-10r17668: Fix the miscalculations in pushing announces. FixesJeremy Allison1-6/+6
problems Kukks reported. Jeremy. (This used to be commit 426d722029b245e239f0ee39b6be249c59e1918c)
2007-10-10r17626: Some C++ WarningsVolker Lendecke1-1/+1
(This used to be commit 09e7c010f03ac3c621f7a7fad44685d278c1481a)
2007-10-10r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke1-1/+2
Volker (This used to be commit 94817a8ef53589011bc4ead4e17807a101acf5c9)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-14/+19
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16665: Fix a couple of bugs I discovered now I've lookedJeremy Allison2-11/+33
closer at the wins server code. Firstly, it needs to do the searches on the SELF_NAMES correctly, secondly it needs to flush the in-memory cache out before returning the 1b names - else it might get duplicates returned if many 1b queries are done in quick succession. Jerry, I hate to say this but you might want to consider this for 3.0.23.... Jeremy. (This used to be commit b36b9befbbc4ac318168b7788d3722710ecbf10f)
2007-10-10r16642: Fix show-stopper bug #3876. Double-free in winsJeremy Allison1-1/+1
server code. Jerry please merge for 3.0.23. Jeremy. (This used to be commit d354b430ff0473764db8ea492a68d10946dadc23)
2007-10-10r16581: Fix Klocwork #2017. Possible null deref.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 6967fd4cefa84a7b7b5e14467bfa8152907d55c9)
2007-10-10r16579: Fix Klocwork #2016. Possible null deref.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f6d5bae4a105eee1b1d5b1aaa70a675705345d9e)
2007-10-10r16576: Fix Klocwork #2015. Possible null deref.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 9cbfaf62a3c4bb7d2e594e412449506ab0af4063)
2007-10-10r16313: Not a problem - but ensure Klocwork is quiet (#872).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 22a345deed6caa5750e2bb233a20422ad7b90d94)
2007-10-10r16230: Fix Klocwork #861 and others. localtime and asctimeJeremy Allison2-2/+24
can return NULL. Ensure we check all returns correctly. Jeremy. (This used to be commit 6c61dc8ed6d84f310ef391fb7700e93ef42c4afc)
2007-10-10r16213: Fix Klocwork #852. iface_n_ip can potentiallyJeremy Allison2-2/+16
return NULL. Ensure we don't deref. Jeremy. (This used to be commit c2f0ea2ff2f6ad925cee9c85110c6ad828ffb7a9)
2007-10-10r16019: This should not be a level zero message - it's harmlessJeremy Allison1-1/+1
and can happen though misconfiguration. Jeremy. (This used to be commit 4b9cf399a691ba4a7392caca558d0e98b4d19104)
2007-10-10r15700: Make nmbd udp sockets non-blocking to prevent problemJeremy Allison5-8/+8
with select returning true but no data being available. Fix for bug #3779. Jeremy. (This used to be commit e5787cf75b2e7d50f551f34f28d280c27b0aa134)
2007-10-10r15483: Fix 'declaration after code' warnings.Volker Lendecke1-3/+7
Volker (This used to be commit 7729799be9984a02a2a309289067b7500696e657)
2007-10-10r15450: Change profiling data macros to use stack variables rather thanJames Peach1-2/+2
globals. This catches mismatched start/end calls and removes the need for special nested profiling calls. (This used to be commit ee750498812190edd3ec52ca3c750258f3b8a97a)
2007-10-10r15012: Fix bug #2715. Fix suggested by ISHIKAWA Tomonori <toishika@fsi.co.jp>Jeremy Allison1-2/+0
No need to null terminate early, pull_ascii_fstring will do this. Jeremy. (This used to be commit b1bbe568313001f4b4e49382742e4b819c0a2b03)
2007-10-10r14898: This change is an attempt to improve the quality of the information thatJames Peach1-40/+1
is produced when a process exits abnormally. First, we coalesce the core dumping code so that we greatly improve our odds of being able to produce a core file, even in the case of a memory fault. I've removed duplicates of dump_core() and split it in two to reduce the amount of work needed to actually do the dump. Second, we refactor the exit_server code path to always log an explanation and a stack trace. My goal is to always produce enough log information for us to be able to explain any server exit, though there is a risk that this could produce too much log information on a flaky network. Finally, smbcontrol has gained a smbd fault injection operation to test the changes above. This is only enabled for developer builds. (This used to be commit 56bc02d64498eb3faf89f0c5452b9299daea8e95)
2007-10-10r14618: add --no-process-group to all server programmsStefan Metzmacher1-2/+4
to make the following possible: timelimit 20000 bin/nmbd -F -S --no-process-group timelimit 20000 bin/smbd -F -S --no-process-group this is needed to 'make test' working without losing child processes metze (This used to be commit c3a9f30e2a12cc852c9fa3a7d161f5c6ee0694ce)
2007-10-10r14007: Coverity bug CID #197. Don't compare against 0, weJeremy Allison1-1/+1
mean the ttl instead. Jeremy. (This used to be commit ccb2a52e29de7e2847ccd93aa99236f63202a4af)
2007-10-10r13892: Doh ! My bugfix had a bug :-). Spotted by Willi Mann <willi@wm1.at>,Jeremy Allison1-2/+2
if rrec can be null make sure we *never* deref it. Jeremy. (This used to be commit d6d7a5ac62b6ee08e365c5982302b1d8dc69a78f)
2007-10-10r13887: Fix coverity bug CID #94. mem leak on error codepath.Jeremy Allison1-0/+2
Jeremy. (This used to be commit dd47e0ef1175a57ec2e9b797ac942cb79f4a5d05)
2007-10-10r13884: Fix coverity CID #95. Resource leak on error path.Jeremy Allison1-0/+2
Jeremy. (This used to be commit f4bf550b5757024b41062784b185b52a1a0e11f4)
2007-10-10r13882: Fix coverity CID bug #96. Missing free on errorJeremy Allison1-0/+1
exit path. Jeremy. (This used to be commit 95ef857c89a330ef4012ba3c10d2bbbbab112b34)
2007-10-10r13880: Fix coverity bug CID #97, mem leak on error path.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 0dc37dd2d85d59e7287cebcb7019194cf6754074)
2007-10-10r13875: Fix coverity bug #148. Deref of rrec before NULL check.Jeremy Allison1-2/+7
Jeremy. (This used to be commit 0f1dffb2f2ce5ace1b3216f578ab115c976624c7)
2007-10-10r13873: I think this is the longstanding wins server crash bug, notJeremy Allison1-17/+16
part of the changes I made but something that's been there a while.... Coverity bugid #41. Jeremy. (This used to be commit 2f6cf810eae124820a073258ffe62aace7a92d9c)
2007-10-10r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter1-1/+1
macro which sets the freed pointer to NULL. (This used to be commit b65be8874a2efe5a4b167448960a4fcf6bd995e2)
2007-10-10r13510: plug memory leak in WINS server code.Gerald Carter1-0/+5
(This used to be commit 381c327a65489bf8b0fd4935662ca1df6f9e1183)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r13081: correct fix for the segv in nmbd caused by a double free on namerec.Gerald Carter2-8/+8
(This used to be commit c908dbc4b260bac72cbc6d25f4728359a6ec8259)
2007-10-10r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file ↵Gerald Carter1-3/+4
(-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com> (This used to be commit 14160c496112e06e4ea0d0a5aa5bad2b58e90601)
2007-10-10r12946: fix a segfault in nmbd when 'wins support = yes' caused by double freeGerald Carter1-3/+5
(This used to be commit c11372f4ec49634e2ae2e6b9ddf4d2b72976f9c5)
2007-10-10r12564: Ensure load_case_tables is always done first.Jeremy Allison1-0/+2
Jeremy. (This used to be commit addb5095292d6b201cc85f6acab5ec8e6f8f4404)
2007-10-10r12214: Fix compile if SYNC_DNS is set.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7c545e1e77c3e235b21eb11d5ced91c603da491d)
2007-10-10r12107: Move to a tdb-based wins database. At the moment we stillJeremy Allison10-374/+882
use it as though it were an in-memory db and dump out to a flat file every 2 mins, but that can now change. Jeremy. (This used to be commit a342681792724c1ae8561ba8d352c4ee6e2a5332)
2007-10-10r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison1-1/+1
box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy. (This used to be commit c65b752604f8f58abc4e7ae8514dc2c7f086271c)
2007-10-10r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.Jeremy Allison1-1/+3
Jeremy. (This used to be commit d398a1aeb48422a89cee59d5760a87bbb2d50b03)
2007-10-10r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison3-3/+5
of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy. (This used to be commit 414303bc0272f207046b471a0364fa296b67c1f8)
2007-10-10r10822: updating copyright infoGerald Carter1-1/+1
(This used to be commit ef3845366bc883e735b2008243b7c05a403f42ca)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter6-14/+21
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r9790: remove 'set but not used' variables (reported by Jason Mader)Gerald Carter1-2/+1
(This used to be commit 9c78f3b0d6c36854e082a89cb1ee5b80fcc9fe35)
2007-10-10r8946: Some casts to fix warnings when time_t is an unsigned type. FixesTim Potter1-1/+1
bugzilla #1888 and #1894. (This used to be commit dcc74371388d280d8ee5130a04e1594ae88d19b3)
2007-10-10r7440: * merge registry server changes from trunk (so far) for moreGerald Carter1-2/+2
printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync (This used to be commit a112c5570a7f8ddddde1af0fa665f40a6067e8cf)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter1-0/+51
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis3-4/+5
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)