summaryrefslogtreecommitdiffstats
path: root/source3/nmbd
Commit message (Collapse)AuthorAgeFilesLines
* r1299: Don't "break" - "continue" ! Otherwise we only expire the first name !Jeremy Allison2007-10-101-1/+1
| | | | | | Doh ! Jeremy. (This used to be commit 451d289f6971a74757b72577cc587bef06585540)
* r1290: Ensure we remove DNS and DNSFAIL records immediately on timeout.Jeremy Allison2007-10-101-1/+6
| | | | | | Fix for #607. Jeremy. (This used to be commit e6ff6d95d21ff071d0fb7266987c75fd15f6652f)
* r928: Ensure we're calling send_mailslot() with a UNIX charsetJeremy Allison2007-10-101-1/+4
| | | | | | target name. Jeremy. (This used to be commit 409eef2be78a74b8ae69e4f1f58514006f0ae090)
* r196: merging struct uuid from trunkGerald Carter2007-10-102-40/+83
| | | | (This used to be commit 911a28361b9d8dd50597627f245ebfb57c6294fb)
* r39: * importing .cvsignore filesGerald Carter2007-10-101-0/+0
| | | | | * updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
* Avoid mb conversion overflow when sending an announcement.Jeremy Allison2004-03-161-1/+4
| | | | | Jeremy. (This used to be commit 188e1daaffb3b21abc250ebb37d9a671ba51d054)
* Use "unix netbios name" type unstring - 64 bytes long to manipulate netbiosJeremy Allison2004-03-1519-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)
* Ensure we don't truncate strcmps to nstring anymore...Jeremy Allison2004-03-134-10/+10
| | | | | Jeremy. (This used to be commit d7cf64b1e4e501bcd01ddc8279babc65d894a4b3)
* Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵Jeremy Allison2004-03-1318-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)
* Fix up name canonicalization (needed for krb5 keytab support later).Jeremy Allison2004-01-301-1/+1
| | | | | | Remove source_env handler (no longer used in any codepath). Jeremy. (This used to be commit 3a3e33603084048e647af86a9badaaf49433c789)
* A Samba DC is nothing special these days - so every domain controllerAndrew Bartlett2004-01-241-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)
* update copyright to -2004Stefan Metzmacher2004-01-111-1/+1
| | | | | metze (This used to be commit 12d6bc3bd0684646e990c2fc6485fe1a92ac98fb)
* Final round of printf warnings fixes for the moment.Tim Potter2003-11-061-1/+1
| | | | (This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
* Fix for bug #771. Fix packet length for browse list reply.Jeremy Allison2003-11-051-1/+1
| | | | | Jeremy. (This used to be commit d085c94dacffbe8199e83315340e4f60d1f0b9a5)
* This binds the nmbd sending socket to the 'socket address'.Volker Lendecke2003-11-011-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)
* Fixes to check for wraps which could cause coredumps.Jeremy Allison2003-10-291-0/+3
| | | | | Jeremy. (This used to be commit ad06edd1bb58cc5e2c38a364b1af96a933b770af)
* Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison2003-10-221-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)
* Apply some NULL pointer paranoia to previous wins hook fix.Tim Potter2003-09-291-2/+2
| | | | (This used to be commit 0281c5b764971c5300b99b82d89c812ded5a1335)
* Fix broken wins hook functionality. A i18n fixe caused the name typeTim Potter2003-09-291-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)
* More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2003-09-052-3/+3
| | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
* Fix comment strings to 43 bytes as per spec.Jeremy Allison2003-09-011-3/+2
| | | | | Jeremy. (This used to be commit f1ec43fae400455d20931ab2d3ecd8f9a6609050)
* Add length warning on register name.Jeremy Allison2003-08-281-2/+12
| | | | | Jeremy. (This used to be commit 68d02ebbcd9bc4cf7c84763d03c903b1f2e55fb8)
* Fixed off-by-one bugs in workgroup name comparisons. Complain when aJeremy Allison2003-08-283-9/+16
| | | | | | workgroup name is >15 characters. Jeremy. (This used to be commit 35a0b3c035d50474eda97b015676885722737a95)
* Ensure we use correct length nstrings for workgroup and browser names.Jeremy Allison2003-08-277-21/+20
| | | | | Jeremy. (This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)
* fix segfault on empty wins server name registration replyGerald Carter2003-08-271-2/+4
| | | | (This used to be commit 743560284cebd686be1094ce1d657e6d06c291b0)
* Fix the character set handling properly in nmbd. Also fix bug whereJeremy Allison2003-08-2721-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)
* Half-way though the big conversion of all nmbd access to wire elements beingJeremy Allison2003-08-238-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)
* Use correct size (17 not 16) when doing a push_ascii(). Ensure thatJeremy Allison2003-08-221-1/+1
| | | | | | wins hook is called with unix charset. Jeremy. (This used to be commit ecb80573870103de7b3f332fb53bf6b952f25ee7)
* Ensure nmb_namestr() converts back from CH_DOS to CH_UNIX.Jeremy Allison2003-08-221-8/+0
| | | | | Jeremy. (This used to be commit eb792727437c74417f5ef7614b300ab84f06fdaf)
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
| | | | (This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
* Update my copyrights according to my agreement with IBMJim McDonough2003-08-011-1/+1
| | | | (This used to be commit a2bd8f0bfa12f2a1e33c96bc9dabcc0e2171700d)
* Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough2003-08-011-1/+0
| | | | (This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
* Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, ↵Alexander Bokovoy2003-07-151-5/+26
| | | | | | nmbd, winbindd). Reviewed by jerry and tridge. (This used to be commit 02c5e2fc6f0721ebd82a9e6a2b34190607de55fe)
* Removed strupper/strlower macros that automatically map to ↵Jeremy Allison2003-07-038-83/+76
| | | | | | | | strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
* Fix bug #98: DNS compression is required for proper building of theJim McDonough2003-05-201-25/+42
| | | | | | netlogon for ads packet. repeated DNS components will not be properly encoded otherwise. (This used to be commit 1e85a9ed8da2e48b0ef586599742ed515bd91ecd)
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+2
| | | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
* fix bug #47; revert registration of workgroup<1b> to 2.2 behaviorGerald Carter2003-05-081-1/+1
| | | | (This used to be commit 016f6b4e19c2b8e4f5e1d010cc428ca194650140)
* This puts back wins.dat into nmbd for easy editing. It leaves most ofVolker Lendecke2003-05-081-194/+222
| | | | | | | | | the other infrastructure with name owners etc in place. If anybody is really going to tackle winsrepld, it will probably not be hard to put the additional info back. Volker (This used to be commit eb82daa84a5339f28ebf431ee1044b7e1e4a4300)
* We used to use the name "*",0x0 here, but some WindowsJeremy Allison2003-05-071-1/+9
| | | | | | | | | servers don't answer that name. However we *know* they have the name workgroup#1b (as we just looked it up). So do the node status request on this name instead. Found at LBL labs. Jeremy. (This used to be commit 41e3abe8b80026812ea7dd7ad535e8e41e26daa4)
* Fix a confusing error messageVolker Lendecke2003-04-281-1/+1
| | | | | Volker (This used to be commit 69df898afb45e2e577a10649f66f5352887044a2)
* As nobody really objected to this patch, I opted to create facts :-)Volker Lendecke2003-04-251-1/+3
| | | | | | | | | | | This uses 'socket address' as the source address for nmbd. This way we can again synchronize with the DMB if we have 'bind interfaces only' to a virtual interface. I'd love to see this in 2.2.9, but that is up to jerry or jra. Volker (This used to be commit fe637c690b671ddb5ccbf506825a9ede6abf6668)
* Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett2003-04-237-16/+27
| | | | | | | | | | | | | a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett (This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
* fixed the popt option handling in nmbd, so that -i now worksAndrew Tridgell2003-04-161-34/+37
| | | | (This used to be commit 2bb93421e665cdc0c4a2d8a539f76856e4d32249)
* Merge:Tim Potter2003-04-141-20/+0
| | | | | - debugging tdb messages now initialised and handled in lib/messages.c (This used to be commit da216706a420b31beaac91553a4eb90181de814a)
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-12/+3
| | | | (This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
* update copyright notice since it we are now almost 4 months into 2003Gerald Carter2003-03-301-1/+1
| | | | (This used to be commit 0751d2f117b4274dd19388d856de75d9fc739865)
* use pstrcpy_base()Jim McDonough2003-03-201-1/+1
| | | | (This used to be commit 2e3710f67293b01084026549246d494103b2d536)
* replace pstrcpyJim McDonough2003-03-191-1/+1
| | | | (This used to be commit c5876f9f07bfff4e03f3a70136515c9daab20afd)
* NMBD string parinoia and memcpy() parinoia fixes from HEAD.Andrew Bartlett2003-03-183-10/+15
| | | | | Andrew Bartlett (This used to be commit fb29caddd987f94989f852584b912eeee45b50da)