summaryrefslogtreecommitdiff
path: root/source3/nmbd
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-11-01This binds the nmbd sending socket to the 'socket address'.Volker Lendecke1-2/+2
Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that time. Now it hit me at a customer's site... Volker (This used to be commit a0e741aa684c756943969bdb4be20a02e588d27c)
2003-10-29Fixes to check for wraps which could cause coredumps.Jeremy Allison1-0/+3
Jeremy. (This used to be commit ad06edd1bb58cc5e2c38a364b1af96a933b770af)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-1/+1
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-09-29Apply some NULL pointer paranoia to previous wins hook fix.Tim Potter1-2/+2
(This used to be commit 0281c5b764971c5300b99b82d89c812ded5a1335)
2003-09-29Fix broken wins hook functionality. A i18n fixe caused the name typeTim Potter1-2/+8
to be appended to the netbios name between angle brackets. This interfered the 'sh -c' used to implement smbrun(). Closes bug #528. (This used to be commit 92b37b3ef097e84adace1295af42853c07ddbec2)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2-3/+3
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-09-01Fix comment strings to 43 bytes as per spec.Jeremy Allison1-3/+2
Jeremy. (This used to be commit f1ec43fae400455d20931ab2d3ecd8f9a6609050)
2003-08-28Add length warning on register name.Jeremy Allison1-2/+12
Jeremy. (This used to be commit 68d02ebbcd9bc4cf7c84763d03c903b1f2e55fb8)
2003-08-28Fixed off-by-one bugs in workgroup name comparisons. Complain when aJeremy Allison3-9/+16
workgroup name is >15 characters. Jeremy. (This used to be commit 35a0b3c035d50474eda97b015676885722737a95)
2003-08-27Ensure we use correct length nstrings for workgroup and browser names.Jeremy Allison7-21/+20
Jeremy. (This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)
2003-08-27fix segfault on empty wins server name registration replyGerald Carter1-2/+4
(This used to be commit 743560284cebd686be1094ce1d657e6d06c291b0)
2003-08-27Fix the character set handling properly in nmbd. Also fix bug whereJeremy Allison21-5739/+5325
iconv wasn't re-initialised on reading of "charset" parameters. This caused workgroup name to be set incorrectly if it contained an extended character. Jeremy. (This used to be commit 84ae44678a6c59c999bc1023fdd9b7ad87f4ec18)
2003-08-23Half-way though the big conversion of all nmbd access to wire elements beingJeremy Allison8-1985/+1895
converted to pull/push_ascii. This will not work right at the moment for non English codepages, but compiles - I will finish the work over the weekend. Then nmbd should be completely codepage correct. Jeremy. (This used to be commit 236d6adadf32397b28028ea82ae2ec027366f7c8)