summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-03-16Adding the same change as was added to 1.9.18 branch to add theJeremy Allison13-131/+343
"name resolve order" parameter. source/Makefile: Re-ordered link for name resolve order code. source/clientgen.c: source/clientutil.c: Added calls to resolve_name(). source/includes.h: Added HPUX zombie fix. source/loadparm.c: Added new name resolve order parameter. source/namequery.c: Re-wrote to include parsing of lmhosts file, new resolve_name() function requested by John. source/nmbd.c: Tell resolve_name not to do WINS lookups if we are the WINS server. source/nmbd_lmhosts.c: Call lmhosts parsing functions in namequery.c source/password.c: Call resolve_name() to lookup security=server name. source/reply.c: source/time.c: source/trans2.c: "fake directory create times" fix from Jim Hague - hague@research.canon.com.au. source/util.c: Removed isalnum() test in Get_Hostname() that seems to cause problems on many systems. Jeremy. (This used to be commit 7f118970da7c43eaddcf92dc056d3e849f1e7d5c)
1998-03-16Lint was complaining about the following typedef in smb.h:Christopher R. Hertel1-1/+1
typedef enum { P_LOCAL,P_GLOBAL,P_SEPARATOR,P_NONE, } parm_class; I removed the trailing comma. Chris -)----- (This used to be commit ac7cd9cacf2493b52d4db50d4fd4b8b08adfe837)
1998-03-16includes.h: Addition of NetBSD 1.3 fix, fix for HPUX 9.x, 10.x zombieJeremy Allison2-5/+16
problem. password.c: Fix for Thursby to stop Dave clients failing in share mode security (this was their bug - they were interpreting the uid field in share mode which is explicitly denied by the spec but it's easier for us to fix it than them :-). Jeremy. (This used to be commit 39372d9e20803d32c0c5b87226a72b007978baad)
1998-03-16changed the default "keepalive" value to 300 seconds.Andrew Tridgell2-1/+3
This is more important now that oplocks are being used. (This used to be commit 7bccd2c360a270df227c140aeecb943d8d187855)
1998-03-15changed the date formattingAndrew Tridgell1-3/+11
(This used to be commit 57aa1db47cda9c625cd1ef742fece14d14590590)
1998-03-15- claim the null connection after the session request to mak sure weAndrew Tridgell4-15/+24
have the netbios name - fix another kill connection bug (This used to be commit c634b799874795d42dae28fb4440ea452dc89b1b)
1998-03-15safer killing of connections - it ensures the process is still a validAndrew Tridgell1-7/+13
smbd when killing (This used to be commit 78675036e81e2cde7209d9e68956d71ef6661137)
1998-03-15- added the ability to kill off individual connections from SWAT (fromAndrew Tridgell7-320/+442
the status page) - split the claim_connection() code into its own file - fixed the claim_connection() code to lock the file when manipulating it - always claim a null connection at startup - fixed a bug in the pidfile code (This used to be commit abd4a17e21d12be3d1747e94ceb1915abaf135e3)
1998-03-15install jpeg filesAndrew Tridgell1-0/+7
(This used to be commit 02cb3801d772cc056df3afb7028d9bd74c8553be)
1998-03-15a smaller backgroundAndrew Tridgell1-1/+1
(This used to be commit bcec95740f96aa4a3b022f41e2167cc74afeea92)
1998-03-14added a background image based on Pauls SAMBA logo but manipulated aAndrew Tridgell1-1/+1
little with GIMP (This used to be commit 57f4dfcbf307ad4e261e59f0545d500b3bae71e5)
1998-03-14new files to support starting/stopping the serverAndrew Tridgell3-0/+248
(This used to be commit 087981009d57006ff80a0cf50891d4473f86f1bb)
1998-03-14added the ability to start/stop the server from SWAT.Andrew Tridgell5-73/+70
I needed to modify the way the pidfile is handled in nmbd and smbd to do this. Jeremy, you may wish to look at what I've done as it probably breaks the Whistle use of pidfiles. In particular I've removed the -f option and instead smbd and nmbd always create a pidfile in the lock directory. (This used to be commit 20bb22d61b986d2036c681fc33db60f2b2b3c1c7)
1998-03-14if a local parameter is changed at the global level then propogate theAndrew Tridgell3-1/+37
change to all shares that are currently set to the default value. (This used to be commit b0e1183b2cbeb7a3150b7250cd19d14c9e5508b6)
1998-03-14prototype updatesAndrew Tridgell1-1/+1
(This used to be commit a565ff605094ed5b05d82b59b7993a3088873733)
1998-03-14- added separatorsAndrew Tridgell1-13/+43
- added "view config" button (This used to be commit 486a059fe169baedc605ee9bc0a0ca5a4165fe65)
1998-03-14another makeover of loadparm to support new stuff in swat andAndrew Tridgell9-216/+339
testparm. In particular I added: - ability to optionally save default values of all parameters when calling lp_load(). This can then be used to save only non-default parameters in lp_dump(). This makes the saved smb.conf (and viewed parameters in testparm) much shorter - ability to not load ipc share in lp_load() - separators in parm_table[] so parameters can be grouped logically. - flag to mark parameters that are local but which should be also viewed as global as far as parameters editing is concerned (This used to be commit f9af35da26e58fb0b644b5f0169f1c212230047a)
1998-03-14another fix for running under cgi-binAndrew Tridgell1-2/+2
(This used to be commit 6e2248532a063a83b682c967a65377488810f9eb)
1998-03-14fixed support for running swat via cgi-binAndrew Tridgell2-10/+50
(This used to be commit 9dbfb16990954ee3518ce3bc73e067c82b653930)
1998-03-14removed a redundent return statementAndrew Tridgell2-17/+22
(This used to be commit 24e1539cd06a630334135f957720ed030ec4e894)
1998-03-14fixed instructions in installswat.sh (thanks to Herb again!)Andrew Tridgell1-1/+1
(This used to be commit 5e25c845c7c9fe3330cd84e84cfc9b08d77d8cc3)
1998-03-14remove an unnecessary #ifdefAndrew Tridgell1-2/+0
(This used to be commit dfaa576d7e661b772daae602152239d8a1adce88)
1998-03-12added an install target for SWATAndrew Tridgell1-0/+41
(This used to be commit 1a87b2c2b61b3785b6a6597b220fec611c5872e6)
1998-03-12moved cgi.c and swat.c into a source/web/ directory. Note that youAndrew Tridgell2-1226/+0
won't see a cvs add in the web directory or these files as I added them by directly copying in the repository. This keeps the history of the files intact. (This used to be commit abe0379cf99f63116ea6f61337134ad5c228f933)
1998-03-12move setup_groups() into password.c so that swat can link withoutAndrew Tridgell2-83/+86
including server.o (This used to be commit 67bb8835c76e3efc43de55493971fe2402c0d709)
1998-03-12use password_ok() instead of calling crypt()Andrew Tridgell2-22/+4
(This used to be commit 53dc8ea5e315abf9ee8d38ffdb8a3057df0235be)
1998-03-12add swat to .cvsignoreAndrew Tridgell1-2/+10
(This used to be commit e826790666a7fb4a39ecdbc8c8084d484a011a62)
1998-03-12these have been replaced by swatAndrew Tridgell2-331/+0
(This used to be commit f9ce87f8658920bd73ed9968723bd5c65a07b8b2)
1998-03-12add FLAG_HIDE to "config file" option (so it can't be set in swat)Andrew Tridgell1-1/+1
(This used to be commit f9f9fe67c7570f7585099a14c36bb3ff0291cdf4)
1998-03-12use FSTYPE_STRING not "SAMBA" for filesystem typeAndrew Tridgell1-1/+1
(This used to be commit df62c80e1d04059905b8a3c5bf9073ba91331e99)
1998-03-12report the max size of raw reads as 65536 not 65535 (this now matchesAndrew Tridgell1-1/+1
what Win95 reports) (This used to be commit a4c6884f43233d57a5f6465f67c4657dd061ae43)
1998-03-11Missed fixes in NTDOM branch for doing readX via pipe IPC$.Jeremy Allison2-1/+5
Allows long share lists to be browsed. Browsing *into* a long share name still fails, though. (Luke - you may need to look into this). Jeremy. (This used to be commit 5299d1b49f2bfd6cf84a687548904206f4a18a41)
1998-03-11"For I have laboured mightily on Luke's code, and hath brokenJeremy Allison56-2626/+22969
all I saw" - the book of Jeremy, chapter 1 :-). So here is the mega-merge of the NTDOM branch server code. It doesn't include the new client side pieces, we'll look at that later. This should give the same functionality, server wise, as the NTDOM branch does, only merged into the main branch. Any fixes to domain controler functionality should be added to the main branch, not the NTDOM branch. This code compiles without warnings on gcc2.8, but will need further testing before we are sure all the working functionality of the NTDOM server branch has been correctly carried over. I hereby declare the server side of the NTDOM branch dead (and all who sail in her :-). Jeremy. (This used to be commit 118ba4d77a33248e762a2cf843fb7cbc906ee6e7)
1998-03-11fix core dumps on Solaris 2.5 systems found by Orn AsgeirssonHerb Lewis1-6/+12
(This used to be commit bafc7768925109d0e8e87152054d37ec3f4e7fdd)
1998-03-10This functionality was added to ubi_sLinkList, so is no longer needed as aChristopher R. Hertel2-329/+0
separate module. Chris -)----- (This used to be commit 687e9be59bc853f3ada6005c3826689854489799)
1998-03-10Updates to all of these base level modules.Christopher R. Hertel10-381/+370
Trees: Previously, the AVL node type was different than the node type used in the BinTree and SplayTree modules. It requires an additional field to maintain AVL balance information. I merged that field into the base type (in ubi_BinTree.h) so that all three use the same node type. On most systems this will have zero effect on the node size, due to word alignment. The change allowed me to remove a bigbunch of redundant code, which makes the AVL module smaller and cleaner. Linked Lists: I combined ubi_StackQueue into ubi_sLinkList. The interface has changed a tiny bit. I added macros to ubi_dLinkList to round it out a bit. I have verified that the few Samba modules that use these tools (so far) do not have any problems with the changes. Chris -)----- (This used to be commit 599a29401defded32358dfae18e54704c0428f38)
1998-03-10added status page to SWAT. Similar to smbstatus output but in a HTMLAndrew Tridgell2-4/+218
table (This used to be commit 8e4a412dba3dc6458651ea042096687b3fcfdc0a)
1998-03-10added a "home" iconAndrew Tridgell2-0/+2
(This used to be commit 60ef0b31a0e85164a89a70a4f0d4e675db25f35d)
1998-03-10added Date and Expires headers in the mini web server so clients knowAndrew Tridgell5-20/+67
what they can cache. (This used to be commit b6055e40bb91775a29b756640d95910a6f19814f)
1998-03-08- remove redundent strstr()Andrew Tridgell4-12/+2
- don't show printers in shares page (This used to be commit 2b4204a7769a974a74a7658e787274f6251b1d69)
1998-03-08allow for non-authenticated SWAT for demo purposesAndrew Tridgell5-11/+17
(This used to be commit 6e1237568b559c006ee5429308ac47e97cc4a1c4)
1998-03-08Jeremy is going to hate me ...Andrew Tridgell7-302/+1240
These are some hacks on SWAT. Maybe users will actually be able to work out how to use it now. Unfortunately these changes required some editing in loadparm.c and smb.h which will make Jeremys merge job harder. Sorry! (This used to be commit 674c88a6bf4c8009769a482c53f105efdc54bbc8)
1998-03-04Removed broken change I made to mangle.c (ooops. Andrew's originalJeremy Allison2-9/+4
algorithm was correct). Finally (I think) fixed the mangled directory stack issue in scan_directory() correctly. Mangled & non-mangled names are now being checked correctly. Hurrah to Ulrik Dickow <ukd@kampsax.dk> who helped isolate this one. Jeremy. (This used to be commit 37f5f7b557aa59c7eba4a9f2f2f323d7cec62fc7)
1998-03-04Adding Korean and Traditional Chinese codepage support.Jeremy Allison4-1/+53
Jeremy. (This used to be commit 2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57)
1998-03-03Change the multibyte character set support so thatJeremy Allison15-218/+593
Kanji support is one case of multibyte character support, rather than being a specific case in single byte character support. This allows us to add Big5 Chinese support (code page 950) and Korean Hangul support (code page 949) at very little cost. Also allows us to easily add future multibyte code pages. Makefile: Added codepages 949, 950 as we now support more multibyte codepages. asyncdns.c: Fixed problem with child being re-spawned when parent killed. charcnv.c charset.c client.c clitar.c kanji.c kanji.h smb.h util.c loadparm.c: Generic multibyte codepage support (adding Big5 Chinese and Korean Hangul). nmbd.c: Fixed problem with child being re-spawned when parent killed. mangle.c: Modified str_checksum so that first 15 characters have more effect on outcome. This helps with short name mangling as most 'long' names are still shorter than 15 chars (bug was foobar_mng and foobar_sum would hash to the same value, with the modified code they hash differently. Jeremy. (This used to be commit 299016338cfb47f0c585875ef9b468121fcee97d)
1998-02-26Makefile, password.c, includes.h: Added KRB4 patches from Johan Hedin ↵Jeremy Allison3-3/+52
<johanh@fusion.kth.se> nmbd_packets.c: Patch for aliased interfaces from Daniel Haun <dhaun@ecf2.puc.edu>. Jeremy. (This used to be commit 60f6302b1972e49159bf6e1a838e691268e4399c)
1998-02-26-N option still prompted for password in smbclient -L usageHerb Lewis2-1/+5
(This used to be commit 140fba461bc22f26055c13b04a084d2df16ac604)
1998-02-26Fix for NT redirector bug where deltree fails if the resume keyJeremy Allison3-17/+72
indexes are changed between directory scans. This fix does what NT4.x SP3 does in that it stops using resume keys and returns zero instead. We now use the filename in findnext to continue the search in the correct place (as NT does). Jeremy. (This used to be commit b813fb22c4c1b0ee48667e99e82434d20266bbf2)
1998-02-26Code to work around a bug in FTP OnNet software NBT implementation.Jeremy Allison1-0/+16
They do a broadcast name release for WORKGROUP<0> and WORKGROUP<1e> names and *don't set the group bit*. Jeremy. (This used to be commit 1feb54e1ba27ab8aba2df4ebef4df010ca980f12)
1998-02-24Fixed bug reported by Janne.Harju@nmp.nokia.com. When used in broadcastJeremy Allison3-7/+37
only mode nmbd was not reporting WORKGROUP<0> and WORKGROUP<1e> names to a unicast node status query (although it was registering these names on the network). Also tidied up code in nmbd_mynames.c so that all known IP addresses are registered in the unicast subnet in this case rather than just the first, as was previously done. Jeremy. (This used to be commit eb71c5edcbb983ed4a1b0f57139bd66b671c67fa)