summaryrefslogtreecommitdiff
path: root/source3/nmbd
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r5717: BUG 2215: horrible code in nmbd_winsproxy.c; gcc folks at redhat ↵Gerald Carter1-4/+7
claim its in violation of the C spec. It's so horrible I believe them (This used to be commit fa7eb5693314efb14d42a739f8006ddf8d41e9d5)
2007-10-10r5082: Don't blindly copy question rr_type and class, set correctly as requiredJeremy Allison1-10/+7
by rfc1002. Jeremy. (This used to be commit 422fb43dda13e0840245ae272b7621640b8ad220)
2007-10-10r5077: Use correct type for rr record on negative name query reply.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 86c5548d272c0804c0188ae744ae1bb17eb817f6)
2007-10-10r5076: Ensure that WINS negative name query responses and WACK packetsJeremy Allison1-1/+10
use the correct RR type of 0xA instead of reflecting back what the query RR type was (0x20). See rfc1002 sections 4.2.14 and 4.2.16. Jeremy. (This used to be commit ab8c9240044f1ef3d5c6ac4850c8ec615c2e32fd)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison15-30/+29
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.Jeremy Allison1-16/+6
Jeremy. (This used to be commit 65fc39fc388244923d1e36076b5a4116aa434be5)
2007-10-10r3864: Fix from Lars Müller <lmuelle@suse.de> for bug #2050.Jeremy Allison1-3/+19
Make nmbd use maxfd+1 in select also. Jeremy. (This used to be commit e3ca22b80dc1c22f0e5c829d11724c79e317641f)
2007-10-10r2470: Fix bug 1797: winbind and nmbd ignored "-l" option.Volker Lendecke1-2/+6
Thanks to Igor Zhbanov bsg@uniyar.ac.ru. Volker (This used to be commit 8a28475a0b7659cb0cdefe57edf801d9958c3755)
2007-10-10r2363: Fix to make find_workgroup use the same truncation asJeremy Allison1-15/+28
create_workgroup (refactor to a common function). Patch from Paul Szabo - psz@maths.usyd.edu.au. Jeremy. (This used to be commit b2b6d6e890813b0d222ac75efb95434ba8c70e46)
2007-10-10r2261: fix getdc mailslot checks; testing with Windows 98se, WinME, WinNT ↵Gerald Carter1-3/+3
4.0/200x/XP (This used to be commit 8ad147508ac653698ebacf9fd19fc5eb5863db28)
2007-10-10r2224: Make nmbd more robust against bad netbios packets.Jeremy Allison2-7/+141
Jeremy. (This used to be commit dd9b17abd6b32c090840c1a0b797fd774711cb3a)
2007-10-10r1299: Don't "break" - "continue" ! Otherwise we only expire the first name !Jeremy Allison1-1/+1
Doh ! Jeremy. (This used to be commit 451d289f6971a74757b72577cc587bef06585540)
2007-10-10r1290: Ensure we remove DNS and DNSFAIL records immediately on timeout.Jeremy Allison1-1/+6
Fix for #607. Jeremy. (This used to be commit e6ff6d95d21ff071d0fb7266987c75fd15f6652f)
2007-10-10r928: Ensure we're calling send_mailslot() with a UNIX charsetJeremy Allison1-1/+4
target name. Jeremy. (This used to be commit 409eef2be78a74b8ae69e4f1f58514006f0ae090)
2007-10-10r196: merging struct uuid from trunkGerald Carter2-40/+83
(This used to be commit 911a28361b9d8dd50597627f245ebfb57c6294fb)
2007-10-10r39: * importing .cvsignore filesGerald Carter1-0/+0
* updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2004-03-16Avoid mb conversion overflow when sending an announcement.Jeremy Allison1-1/+4
Jeremy. (This used to be commit 188e1daaffb3b21abc250ebb37d9a671ba51d054)
2004-03-15Use "unix netbios name" type unstring - 64 bytes long to manipulate netbiosJeremy Allison19-90/+89
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to expand to utf8 size on read. Jeremy. (This used to be commit 834d816caf9cd6318da00febde50d9233469dac2)
2004-03-13Ensure we don't truncate strcmps to nstring anymore...Jeremy Allison4-10/+10
Jeremy. (This used to be commit d7cf64b1e4e501bcd01ddc8279babc65d894a4b3)
2004-03-13Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵Jeremy Allison18-151/+160
(MORIYAMA Masayuki). Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name when represented in dos charset (ie. cp932). So go back to using fstrings for these but translate into nstrings (ie. 16 byte length values) for transport on the wire. Jeremy. (This used to be commit b4ea493599ab414f7828b83f40a5a8b43479ff64)
2004-01-30Fix up name canonicalization (needed for krb5 keytab support later).Jeremy Allison1-1/+1
Remove source_env handler (no longer used in any codepath). Jeremy. (This used to be commit 3a3e33603084048e647af86a9badaaf49433c789)
2004-01-24A Samba DC is nothing special these days - so every domain controllerAndrew Bartlett1-8/+8
location packet from the client is not a DEBUG(1) event anymore... (Yes, we printed this for each of these UDP packets...) Andrew Bartlett (This used to be commit 4ca0ab7506f15112d996bf68278e54e535c4cab4)
2004-01-11update copyright to -2004Stefan Metzmacher1-1/+1
metze (This used to be commit 12d6bc3bd0684646e990c2fc6485fe1a92ac98fb)
2003-11-06Final round of printf warnings fixes for the moment.Tim Potter1-1/+1
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
2003-11-05Fix for bug #771. Fix packet length for browse list reply.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d085c94dacffbe8199e83315340e4f60d1f0b9a5)