summaryrefslogtreecommitdiffstats
path: root/source/nmbd
Commit message (Collapse)AuthorAgeFilesLines
...
* r17864: Fix possible null deref if client doesn't give usJeremy Allison2007-10-101-1/+9
| | | | | an answer record. Found by the Stanford checker. Jeremy.
* r17807: Fix a file descriptor leak pointed out by John Malmberg. Thanks!Volker Lendecke2007-10-101-0/+1
| | | | Volker
* r17668: Fix the miscalculations in pushing announces. FixesJeremy Allison2007-10-101-6/+6
| | | | | problems Kukks reported. Jeremy.
* r17626: Some C++ WarningsVolker Lendecke2007-10-101-1/+1
|
* r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke2007-10-101-1/+2
| | | | Volker
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-14/+19
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16665: Fix a couple of bugs I discovered now I've lookedJeremy Allison2007-10-102-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.
* r16642: Fix show-stopper bug #3876. Double-free in winsJeremy Allison2007-10-101-1/+1
| | | | | server code. Jerry please merge for 3.0.23. Jeremy.
* r16581: Fix Klocwork #2017. Possible null deref.Jeremy Allison2007-10-101-0/+5
| | | | Jeremy.
* r16579: Fix Klocwork #2016. Possible null deref.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r16576: Fix Klocwork #2015. Possible null deref.Jeremy Allison2007-10-101-0/+5
| | | | Jeremy.
* r16313: Not a problem - but ensure Klocwork is quiet (#872).Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r16230: Fix Klocwork #861 and others. localtime and asctimeJeremy Allison2007-10-102-2/+24
| | | | | can return NULL. Ensure we check all returns correctly. Jeremy.
* r16213: Fix Klocwork #852. iface_n_ip can potentiallyJeremy Allison2007-10-102-2/+16
| | | | | return NULL. Ensure we don't deref. Jeremy.
* r16019: This should not be a level zero message - it's harmlessJeremy Allison2007-10-101-1/+1
| | | | | and can happen though misconfiguration. Jeremy.
* r15700: Make nmbd udp sockets non-blocking to prevent problemJeremy Allison2007-10-105-8/+8
| | | | | | with select returning true but no data being available. Fix for bug #3779. Jeremy.
* r15483: Fix 'declaration after code' warnings.Volker Lendecke2007-10-101-3/+7
| | | | Volker
* r15450: Change profiling data macros to use stack variables rather thanJames Peach2007-10-101-2/+2
| | | | | globals. This catches mismatched start/end calls and removes the need for special nested profiling calls.
* r15012: Fix bug #2715. Fix suggested by ISHIKAWA Tomonori <toishika@fsi.co.jp>Jeremy Allison2007-10-101-2/+0
| | | | | No need to null terminate early, pull_ascii_fstring will do this. Jeremy.
* r14898: This change is an attempt to improve the quality of the information thatJames Peach2007-10-101-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.
* r14618: add --no-process-group to all server programmsStefan Metzmacher2007-10-101-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
* r14007: Coverity bug CID #197. Don't compare against 0, weJeremy Allison2007-10-101-1/+1
| | | | | mean the ttl instead. Jeremy.
* r13892: Doh ! My bugfix had a bug :-). Spotted by Willi Mann <willi@wm1.at>,Jeremy Allison2007-10-101-2/+2
| | | | | if rrec can be null make sure we *never* deref it. Jeremy.
* r13887: Fix coverity bug CID #94. mem leak on error codepath.Jeremy Allison2007-10-101-0/+2
| | | | Jeremy.
* r13884: Fix coverity CID #95. Resource leak on error path.Jeremy Allison2007-10-101-0/+2
| | | | Jeremy.
* r13882: Fix coverity CID bug #96. Missing free on errorJeremy Allison2007-10-101-0/+1
| | | | | exit path. Jeremy.
* r13880: Fix coverity bug CID #97, mem leak on error path.Jeremy Allison2007-10-101-4/+4
| | | | Jeremy.
* r13875: Fix coverity bug #148. Deref of rrec before NULL check.Jeremy Allison2007-10-101-2/+7
| | | | Jeremy.
* r13873: I think this is the longstanding wins server crash bug, notJeremy Allison2007-10-101-17/+16
| | | | | | part of the changes I made but something that's been there a while.... Coverity bugid #41. Jeremy.
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2007-10-101-1/+1
| | | | macro which sets the freed pointer to NULL.
* r13510: plug memory leak in WINS server code.Gerald Carter2007-10-101-0/+5
|
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-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.)
* r13081: correct fix for the segv in nmbd caused by a double free on namerec.Gerald Carter2007-10-102-8/+8
|
* r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file ↵Gerald Carter2007-10-101-3/+4
| | | | (-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com>
* r12946: fix a segfault in nmbd when 'wins support = yes' caused by double freeGerald Carter2007-10-101-3/+5
|
* r12564: Ensure load_case_tables is always done first.Jeremy Allison2007-10-101-0/+2
| | | | Jeremy.
* r12214: Fix compile if SYNC_DNS is set.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r12107: Move to a tdb-based wins database. At the moment we stillJeremy Allison2007-10-1010-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.
* r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison2007-10-101-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.
* r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.Jeremy Allison2007-10-101-1/+3
| | | | Jeremy.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2007-10-103-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.
* r10822: updating copyright infoGerald Carter2007-10-101-1/+1
|
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-106-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)
* r9790: remove 'set but not used' variables (reported by Jason Mader)Gerald Carter2007-10-101-2/+1
|
* r8946: Some casts to fix warnings when time_t is an unsigned type. FixesTim Potter2007-10-101-1/+1
| | | | bugzilla #1888 and #1894.
* r7440: * merge registry server changes from trunk (so far) for moreGerald Carter2007-10-101-2/+2
| | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync
* r7415: * big change -- volker's new async winbindd from trunkGerald Carter2007-10-101-0/+51
|
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2007-10-103-4/+5
|
* r5717: BUG 2215: horrible code in nmbd_winsproxy.c; gcc folks at redhat ↵Gerald Carter2007-10-101-4/+7
| | | | claim its in violation of the C spec. It's so horrible I believe them
* r5082: Don't blindly copy question rr_type and class, set correctly as requiredJeremy Allison2007-10-101-10/+7
| | | | | by rfc1002. Jeremy.