summaryrefslogtreecommitdiffstats
path: root/source3/nmbd
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett2003-03-181-1/+1
| | | | | | | | | | 'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett (This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
* check a pointer before dereferencing it; not sure why userdata == NULL thoughGerald Carter2003-03-101-1/+1
| | | | (This used to be commit 944752024ba6ab762b12c29ee867e37401dac12b)
* Merge from HEAD:Andrew Bartlett2003-01-281-2/+2
| | | | | | | | | | | | | | | - NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor. - also consequential changes to the NTLMSSP and SPNEGO parsing functions - and the client code that uses the same functions - Add ntlm_auth, a NTLMSSP authentication interface for use by applications like Squid and Apache. - also consquential changes to use common code for base64 encode/decode. - Winbind changes to support ntlm_auth (I don't want this program to need to read smb.conf, instead getting all it's details over the pipe). - nmbd changes for fstrcat() instead of fstrcpy(). Andrew Bartlett (This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
* *lots of small merges form HEADGerald Carter2003-01-152-2/+2
| | | | | | | *sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
* Merge from HEAD:Andrew Bartlett2003-01-141-1/+2
| | | | | | | | | | - fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
* patch to include support for daemontools from Michael HandlerGerald Carter2003-01-031-3/+21
| | | | (This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-036-9/+9
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-0/+20
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* Protect nmbd against malformed reply packets. Some reports on the lists showingJeremy Allison2002-12-191-1/+10
| | | | | | these. Jeremy. (This used to be commit 4bc49cc943504d1a9a73894f6810bc755ee6e324)