summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* no longer neededAndrew Tridgell1997-09-151-58/+0
| | | | (This used to be commit b04bc7f75e90a8150f7372d15f4f17fb0bb50ab9)
* This commit does 3 main things:Andrew Tridgell1997-09-1420-235/+96
| | | | | | | | | | | | | | | | | | | | | | | | 1) put the encryption code in by default, with no #ifdef. It is still disabled by default so you need to add "encrypt passwords = yes" in smb.conf but at least all binaries will have it. 2) cleanup the kanji code so it compiles with no warnings 3) get rid of lots of uses of ugly non-portable C code. The main offender being things like "register" but also remove uses of the "const" keyword as there are compilers out there that don't support it and even those that do often complain about its usage. Users don't like warnings :-( There is still some work to do. We need to replace the md4 code with our own implementation. The current code (from rfc1186) is PD but is not very portable. The new RFC (rfc1320) is more portable but adds copyright restrictions. I'll do a from-scratch MD4 soon. We also need to test that what I've implemented is portable. It should be, but I'm too tired right now to test it on anything other than intel linux. (This used to be commit db917c62c14315afe6f0745a8097c1bca25cbf07)
* This is a written from scratch DES implementation. I couldn't find aAndrew Tridgell1997-09-141-0/+290
| | | | | | | | | | | | | | | | GPLd implementation so I decided to write one. This version only does DES ecb encryption and isn't very general, so it may in fact be exempt from ITAR regulations. ITAR regulations do not prohibit the distribution of code that can be used for authentication purposes only. This code has no decrypt function so it would be useless for a normal encryption application and thus may be ITAR exempt. It is also very slow, but we don't need it to be fast. It is a literal implementation from the standard and treats each bit as one byte to make the code easy to write. (This used to be commit c2bc073a878179dd56db97c66dc957d42fe0b81b)
* Added fix that means if connecting user sends guest accountJeremy Allison1997-09-121-1/+8
| | | | | | | | with no password they are seen as guest. Previous patch broke this. Jeremy (jallison@whistle.com) (This used to be commit 9a55c49626f65627b26417795891260bb2afcc27)
* charcnv.c client.c clitar.c kanji.c kanji.h loadparm.cJeremy Allison1997-09-1113-389/+486
| | | | | | | | | | | | | | | mangle.c smb.h util.c: Big merge to allow KANJI support to be in the main binary without explicitly compiling with it. locking.c: Fix for smbstatus not being able to read files. namepacket.c: Removed unneccesary debug statement. trans2.c: Added Luke's proposed fix (ifdefed out until further testing). nmblookup.c: Fixed bug where query fails and status is done on bogus IP. Jeremy (jallison@whistle.com) (This used to be commit 9196255022ae8c51b527412747b324819bea2c13)
* fix a couple of "declaration shadows previous local" warnings.Andrew Tridgell1997-09-112-5/+3
| | | | (This used to be commit c30f6a74d0e6c256b1d46b28c1f31f1c1f3dd856)
* prototype updates for new functionsAndrew Tridgell1997-09-111-1/+21
| | | | (This used to be commit dbf662436031759b205f0140223da6a1d08c16df)
* add the stdout parameter to lp_dump()Andrew Tridgell1997-09-111-1/+1
| | | | (This used to be commit 77f5bc87058dfb5c1b14e7cd8c6097a6bcb2c0cc)
* some minor modifications to loadparm.c to support the necessaryAndrew Tridgell1997-09-111-56/+193
| | | | | | | functions for wsmbconf. In particular added some more support routines (like lp_rename_service()) and make the dump routines take a FILE pointer rather than assuming stdout (This used to be commit 6d165016068f6c4e9eed8fae83a9f7ca0b34f85a)
* cgi.c is a simple set of CGI manipulation routinesAndrew Tridgell1997-09-114-0/+664
| | | | | | | | | wsmbconf.c is a rudimentary web based smb.conf editor. Its really there just to demonstrate how such an editor can hook into loadparm.c, I don't expect anyone to actually use it as is. wsmbstatus.c is a simple web based smbstatus. Its probably broken. (This used to be commit ced5205f72ba58d677f3cfa480fddc58ec9faa27)
* Added one more consultant.Jeremy Allison1997-09-101-1/+18
| | | | (This used to be commit 594720c7f310cc6b2783d7601954687ba5e1c6df)
* updated bit on kill -HUP to make it clear what effect this has, and itsLuke Leighton1997-09-091-9/+19
| | | | | limitations. (This used to be commit 50a990b9d6d9e3de46298c5fbf2a81709760f85e)
* samba servers forcing local elections if they are not a local master.Luke Leighton1997-09-071-1/+1
| | | | | added check for "preferred master" to ensure not forcing an election. (This used to be commit f8afd4c4c131a75ce685016e84205082aadbdb78)
* JHT ===> Just setting version to 1.9.18alpha1John Terpstra1997-09-051-1/+1
| | | | (This used to be commit e462cf2f1b498ba9eb00d3d2f9c299e7624a62fd)
* client.c: Made sure myhostname was initialised before substitutions.Jeremy Allison1997-09-054-6/+14
| | | | | | | | status.c: Made sure myhostname was initialised before substitutions. server.c trans2.c: Moved OS/2 WPS fix. Jeremy (jallison@whistle.com) (This used to be commit 8a12b6a4f0feec712f5c4e02e21198c455b060ae)
* One more consultant.Jeremy Allison1997-09-051-2/+21
| | | | (This used to be commit e7dba8a8c795f6aaa87d5e76dea6f36b63dc7dd7)
* added debug reporting to file listing / mod_time() checking routine.Luke Leighton1997-09-051-2/+17
| | | | | lp_file_list_changed(). (This used to be commit 727fcfae1b62bb509f0a9f5304dad363ef38345a)
* This is really Herb adding the SGI packaging files.Jeremy Allison1997-09-0518-0/+1787
| | | | (This used to be commit 8fde65239d0a9462fb044670220cd3c63bd887cb)
* Fix from Frank Varnavas <varnavas@ny.ubs.com>.Jeremy Allison1997-09-041-3/+17
| | | | | | | | | | We cannot use the same name as the client to the NT password server, as NT will drop client connections if the same client name connects twice. Instead, synthesize a name from our pid. and the remote machine name. Jeremy (jallison@whistle.com) (This used to be commit ebf9487a9a68c4d786449490627ee919622e6dbf)
* Fixed up determination of client type for PROTOCOL_NT1. Uses clientJeremy Allison1997-09-046-13/+70
| | | | | | | capabilities bits in session_setup_and_X to decide. Made remote_arch an enum as well as a string, for easier use. Jeremy (jallison@whistle.com) (This used to be commit 99080705a2d0adcb25e1eecbe517a2fac2779baa)
* nameannounce.cJeremy Allison1997-09-036-32/+42
| | | | | | | | | | | | | | | | | nameresp.c nameserv.c nameservreply.c proto.h : Removed broadcast and recurse parameters in the queue_netbios_pkt_wins() call - they are not needed as they should always be 'false' and 'true' respectively. Also fixed a bug with secure name registration (WINS server code). server.c: Finally fixed problem with error 267 being returned to Win95. It is needed by NT. This is a horrid fix and I would appreciate a better one :-). Jeremy (jallison@whistle.com) (This used to be commit fa1305d1894a28331ba80d9de038ebf31ba902d6)
* One more consultant....Jeremy Allison1997-09-031-1/+27
| | | | (This used to be commit 56e8e890eca736e43f26a72c32547dbfa73e5247)
* reply.c: Removed unused variables. Caught by gcc -Wall -WerrorJeremy Allison1997-09-023-7/+33
| | | | | | | server.c: Fix for old DOS clients not understanding ERRbaddirectory - map to ERRbadpath. util.c: Fix for systems with no LOG_DAEMON facility. Jeremy (jallison@whistle.com) (This used to be commit dadb1ffb4ca5222c0b62d785cd714d65cae328e8)
* use of recursion_available and recursion_desired flag in netbios responses.Luke Leighton1997-09-013-29/+53
| | | | (This used to be commit 8235db6b4fbeced750c4c30edc84a61a35b39278)
* added word count 3 support into reply_tcon_and_X (see cifs6.txt). theLuke Leighton1997-08-311-3/+23
| | | | | | only thing i couldn't do was get the chaining word count to point to the end of the smb reply, for the next and_X (not that there is one). (This used to be commit 54f11999d2113f2e88144ed63e23dd82b32e14a6)
* fixed a bug in the printjob encoding/decoding. We weren't doing it forAndrew Tridgell1997-08-313-17/+34
| | | | | | | | | | | | | | | the print_ functions in reply.c, with the effect that you couldn't cancel print jobs from smbclient or from older dos clients. we now use a couple of utility functions printjob_encode() and printjob_decode() rather than sticking the bitops inline in each place. also fixed a bunch of places that used foo%0xFF rather than foo&0xFF Note that this isn't really me doing the commit, it can't be as I'm working on my thesis ... (This used to be commit 3556763be3acbf01c967ee9717943dd44163fb9f)
* Makefile: New program and support for dynamic codepage loading.Jeremy Allison1997-08-303-141/+185
| | | | | | | | charset.c: Dynamic codepage loading code. charset.h: Defines for file format. proto.h: Updated. Jeremy (jallison@whistle.com) (This used to be commit 550e98f2d49a101654b3abde278a7f7edf347ed8)
* Adding codepage definition files and codepage file compiler/decompiler.Jeremy Allison1997-08-307-0/+752
| | | | | | | Adding install/uninstall scripts for compiled codepage files. Preparing for dynamic codepage loading. Jeremy (jallison@whistle.com) (This used to be commit e3fc9533bd87d0d520e3dac98261e42370907b11)
* Oops. Reversed mangled map change made in error. TestingJeremy Allison1997-08-281-2/+3
| | | | | found this one. Jeremy (jallison@whistle.com) (This used to be commit adf98469fc3f0969676bd454cfd143f8ef03ce48)
* includes.h: Make sure REPLACE_GETPASS are wrapped with #ifdefs.Jeremy Allison1997-08-283-0/+12
| | | | | | | | nmbsync.c: Make sure REPLACE_GETPASS is defined before including includes.h clientutil.c: Catch null passwords. Fixes for a nmbd crash bug found by Herb Lewis @ SGI. Jermey(jallison@whistle.com) (This used to be commit 45c266baaea8755f1a3c0c4c7a87eb0752848ca2)
* mangle.c: Fixed bug that caused string to run off the end of the mangled map.Jeremy Allison1997-08-283-8/+5
| | | | | | | | | server.c: Changed comparison from dname to name2 - seems correct - don't know why I changed it originally. hmmmmm. trans2.c: Made lanman2 code more similar to scan_directory(). I should make the trans2 code call scan_dir as they are so similar. Jeremy(jallison@whistle.com). (This used to be commit 3909576849025ed21e5282abc892ae7582ee0275)
* added a new type to mkproto.awk so it can handle shmem.cAndrew Tridgell1997-08-282-2/+2
| | | | | | in general if you add a new type that is returned by a non-static function then just add it to the list of known types in mkproto.awk (This used to be commit 1d4ce07435f3d6dac41a2616a044bcd441dbaced)
* charset.c: Added patch for client code page 852 (Eastern European) fromSamba Release Account1997-08-273-3/+50
| | | | | | | | Leos Bitto <bitto@altec.cz>. clitar.c: proto.h: Fixed proto mismatch for strslashcmp(). Jermey (jallison@netcom.com) (This used to be commit c7a4647b7a84641f5fed6b67d45c241fff19c2b3)
* Put back the smb_shm_ proto's that Luke keeps breaking !Samba Release Account1997-08-271-0/+3
| | | | | Jeremy (jallison@whistle.com) (This used to be commit 660a3ef70c36e6675c8cc63b97e9d251428f9b40)
* doing that irritating compiler clash warning with the protos for standard_subSamba Release Account1997-08-273-12/+13
| | | | | | | and standard_sub_basic. again. lkcl (This used to be commit b60ef755cf594ee9751660467709ea4f7a669a2c)
* corrected it's (it is) documentation errors, when "its" should beSamba Release Account1997-08-2612-15/+15
| | | | | | | being used. lkcl (This used to be commit 7cd640e5b1a6bbe13834fe23a23ef03117024f0e)
* added info about _not_ using \\SAMBA_SERVER\HOMES\profile - must useSamba Release Account1997-08-262-26/+27
| | | | | | | | | \\SAMBA_SERVER\%U\profile for the profile path. documented default profile path changing to \\%L\%U\profile, so that w95 and NT can use the same profile directory: you cannot use \\%L\%U for NT profiles. lkcl (This used to be commit 588039b6dfd1397532ef8969fb5f2bb3aafbddde)
* Changed ftp site and docs info in README (this file contains out-of-dateSamba Release Account1997-08-262-10/+9
| | | | | | | FAQ info and should be scrapped.) Changed "qaility control" in the Roadmap :-) (This used to be commit 28833abf18c5612f274e2199f2072631df771e40)
* More sites for the non-UNIX ports, plus ftp.gwdg.deSamba Release Account1997-08-261-0/+14
| | | | (This used to be commit 09c6438bb66ff61eaebc08d578281f432e81e5d5)
* Advice about firewalls (step 1) and tcp wrappers (step 8). DanSamba Release Account1997-08-261-1/+10
| | | | (This used to be commit e470dd55612558ae6f308c0a871e3c01e7dea4f7)
* This file has been moved to MIRRORS.txtSamba Release Account1997-08-261-33/+0
| | | | (This used to be commit 462d10370ad08d3f3c9a12a8122db1cb7f640430)
* Added new MIRRORS.txt file at Dan's requestSamba Release Account1997-08-261-0/+67
| | | | | This is really an updated version of the original 'MIRRORS' file. (This used to be commit 29a48b8ed5cf9a0511d6d7f8fa7323e6aa7292bf)
* Spelling, refs to faqs, version numbersing. Dan.Samba Release Account1997-08-261-1/+8
| | | | (This used to be commit effd8b81c4cbb03720d63686e56b80af6828a037)
* preparing for release of 1.9.17Samba Release Account1997-08-261-1/+1
| | | | (This used to be commit d84c84641b14ad264c33fc37aa9a1abdf3e04254)
* Updated for 1.9.17 release.Samba Release Account1997-08-261-44/+44
| | | | | Jeremy (jallison@whistle.com) (This used to be commit f8316c1c159b44f1737ad976a562feb0dd1b0368)
* Added draft cversions of the new Samba doco. Dan.Samba Release Account1997-08-2613-0/+3667
| | | | (This used to be commit b5983092a6e63118564c6d1460b522ea8ef02c3a)
* From Jacco, unchanged. Destined for Samba-Client-FAQ. DanSamba Release Account1997-08-261-0/+61
| | | | (This used to be commit c8bf8dfb93f7558a9974d79b7c3949849bff1b08)
* JHT ===> Documentation header updates only - inserting/mod Updates date.John Terpstra1997-08-263-2/+3
| | | | (This used to be commit 17a13828fd7a3284543eb319566da6c246808e6d)
* Way out of date. DanSamba Release Account1997-08-263-249/+0
| | | | (This used to be commit dc395e3515a4ef90af9e602be2bc0a6ce25627f6)
* smb.h: Added error code used for OS2 WPS.Samba Release Account1997-08-262-12/+7
| | | | | | | trans2.c: Added OS2 WPS fix - but ifdefed out for now. Will turn on after 1.9.17 release. Jeremy (jallison@whistle.com) (This used to be commit 9d5d347686ca1c8a25088b882dcc5065b6d9c564)