summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fixes to make_printerdef.c to generate a correct printers.def fileHerb Lewis1998-01-012-40/+134
| | | | changes to ipc.c to use new printers.def file
* avoid the ~ operator in netmask operations as apparently it causesAndrew Tridgell1997-12-291-33/+55
| | | | | problems on some systems (eg. freeBSD 2.2.2). I'm surprised by this but the change looks harmless. Patch from fred@datalync.com
* a dummy change to shmem_sysv.c to try and break CVS out of a problemAndrew Tridgell1997-12-291-0/+1
| | | | with the ntdom branch
* fixed another couple of minor type errors (they could cause incorrectAndrew Tridgell1997-12-261-4/+4
| | | | output but not a core dump)
* fixed a couple of illegal uses of scanf() in the nmbd wins code. TheyAndrew Tridgell1997-12-262-7/+7
| | | | | | | | | | caused a core dump under IRIX when compiled with -64. In general you cannot assume things about variable sizes. In particular sizeof(time_t) may not equal sizeof(long) and sizeof(uint16) may not equal sizeof(short). There are probably other bugs like this. We'll need to check all format statements for use of %ld, %hx etc. In general these should not be used unless you have an explicit cast to the appropriate type.
* use _exit to exit a childAndrew Tridgell1997-12-261-6/+2
|
* This is actually Jeremy, working as Herb :-).Herb Lewis1997-12-241-0/+22
| | | | | | | | | | Fixed bug where, when server is shut down it would always do a lm announce broadcast of shutdown. This could cause other nmbd's to think that they have seen an lm announce broadcast and start doing it themselves. Changed to only send lm announce shutdown if admin configured it or one was seen on the subnet. Jeremy.
* preparing for release of 1.9.18alpha14Samba Release Account1997-12-2442-42/+42
|
* Updated WHATSNEW.txt for 1.9.18alpha14 release.Jeremy Allison1997-12-242-7/+140
| | | | | | Added CVS_ACCESS to tell people how to use cvs to keep up-to-date. Jeremy.
* Added docs for new signal handling functions.Jeremy Allison1997-12-242-0/+26
| | | | Jeremy.
* Added SIGUSR1/SIGUSR2 handling.Jeremy Allison1997-12-245-4/+98
| | | | | | Sending nmbd/smbd a SIGUSR1 will raise the debug level by one (capped at 10) sending a SIGUSR2 will lower it (lower limit at zero). Jeremy.
* nmbd_elections.c: Added new parameter to dump_workgroups call.Jeremy Allison1997-12-245-57/+118
| | | | | | | | | nmbd_incomingdgrams.c: Deal with announcements with servertype == 0 - these are announcements that a machine is shutting down and must be treated differently. nmbd_serverlistdb.c: Exposed remove_server_from_workgroup as external. Added code to dump out workgroups on signal correctly. nmbd_workgroupdb.c: Added new parameter to dump_workgroups call. Jeremy.
* Finally added the code Andrew wanted that will allow a Samba domainJeremy Allison1997-12-244-1/+212
| | | | | | | | | master browser to use the *<1b> feature of the Samba WINS server to get a full workgroup list. nmbd.c: Added timed call to collect_all_workgroup_names_from_wins_server(). nmbd_browsesync.c: Meat of the code to implement collect_all_workgroup_names_from_wins_server(). nmbd_incomingdgrams.c: Fixed comment typo. Jeremy.
* Bugfix from Branko Cibej <branko.cibej@hermes.si>Jeremy Allison1997-12-241-1/+1
| | | | | | - client.c had a workaround embedded in it for his earlier bug in StrnCaseCmp - removed this. Jeremy.
* Backed out changes that attempted to address a pointer array using -1,0,1.Christopher R. Hertel1997-12-246-349/+584
| | | | Jeremy pointed out that there might be problems with this. Darn shame.
* Fixed nastly little bug where client was sending open_and_X callJeremy Allison1997-12-231-4/+23
| | | | | | | | | | | | | | | | | | | with smb_mode (smb_vwv[3]) of 0x20 == DENY_WRITE + read-only-open. and smb_ofun (smb_vwv[8]) of 0x11 == Create if not exist plus append on a read-only share. This was mapped into the strange unix flags of (O_RDONLY|O_CREAT) - essentially O_CREAT as O_RDONLY == 0. We were checking the unix flags directly against O_RDONLY instead of masking off the open mode flag bits before doing the comparison, so this open was being refused even though it was valid on a read-only share. Also ensured that the O_CREAT bit was masked out of the flags bit if the open was done on a read-only share (as doing a unix open( filename, O_RDONLY|O_CREAT, xxx) will create a zero length file if the user had permission to write into the directory - which should be denied on a read-only share. Thanks to Mark Peek @ Whistle for giving me this test case. Jeremy.
* Fixed security bug when 'force user' and 'user only' are set.Jeremy Allison1997-12-231-2/+5
| | | | | Reported by Brian McCauley <B.A.McCauley@bham.ac.uk>. Jeremy.
* Fixes to compile under OpenBSD from "Todd T. Fries" <toddf@acm.org>Jeremy Allison1997-12-234-14/+28
| | | | Jeremy.
* architecture.doc: Re-added since I lost it (sorry Dan :-).Jeremy Allison1997-12-233-2/+137
| | | | | nmbd.c nmbd_responserecordsdb.c: Spelling mistake fixes. Jeremy.
* Updates for 1.9.18Dan Shearer1997-12-212-7/+39
|
* Put it in the right directory :~)Dan Shearer1997-12-201-0/+0
|
* Chris' smb.conf parsing docoDan Shearer1997-12-201-0/+181
|
* Fixed stupid bug in read_smb_len where I was calling itself - nowJeremy Allison1997-12-201-1/+1
| | | | | calling the correct fn. Jeremy.
* client.c:Jeremy Allison1997-12-206-80/+135
| | | | | | | | | | | | | | | | clientgen.c: clientutil.c: clitar.c: Changed usage of receive_smb to new function client_receive_smb except for one use of receive_smb in client.c. This is the receive_smb used to discard packets received whilst in a keyboard wait state. util.c: Created new function client_receive_smb that ignores session keepalives just as the old receive_smb used to do. Created internal function read_smb_length_return_keepalive that is used internally by the changed receive_smb call. Changed read_smb_len to not use an internal buffer - it is never called with a null buffer so such code is redundant. Jeremy.
* loadparm.c: Added fix for veto oplock files bug from Charles Hoch ↵Jeremy Allison1997-12-203-11/+18
| | | | | | | | <hoch@hplcgh.hpl.hp.com> server.c, util.c: Added fix for oplock break requests blocking due to server being blocked in read call. Bug found by Charles Hoch <hoch@hplcgh.hpl.hp.com>. Jeremy.
* This may be a waste of time, but I thought if we keep nibbling at this it mightDan Shearer1997-12-201-15/+24
| | | | | end up being a curent announce for each new release. Then again maybe we should start from the one Jeremy and I did for 1.9.17. Just doodling really.
* Minor spelling, wording changes to introDan Shearer1997-12-201-4/+6
|
* trans2.c: Forced trans2_findfirst to behave as NT does in error returns.Jeremy Allison1997-12-202-24/+11
| | | | | | util.c: Applied fix from Branko Cibej <branko.cibej@hermes.si> where StrnCaseCmp tests one character too many. Jeremy.
* Adding the cache module.Christopher R. Hertel1997-12-194-3/+903
| | | | | | | | | | | | I'll be using the cache module to replace the name cache in mangle.c. The new one should be much faster and should require less memory. Another feature is that the cache size can be limited by the amount of memory used in addition to the number of entries allowed. With the current cache, the default is to allocate 12800 bytes representing 50 entries (256 bytes each). With the same amount of memory, I should be able to load over around two hundred entries. Changes to the AVL trees were minor (missing comments). Chris -)-----
* kanji.h: Fixed problems with re-definitions of strchr and others on AIX.Jeremy Allison1997-12-182-2/+28
| | | | | | nmbd_nameregister.c: Applied fix found by "Eloy A. Paris" <eparis@ven.ra.rockwell.com> (don't re-use lists after you have freed them :-). Jeremy.
* Missed terminating {-1,NULL} in an enum parameter list.Jeremy Allison1997-12-171-1/+1
| | | | Jeremy.
* - handle ENOSPC in shmem init.Andrew Tridgell1997-12-161-4/+6
| | | | - be a little bit more friendly about grabbing semaphores
* preparing for release of 1.9.18alpha13Samba Release Account1997-12-1642-51/+43
|
* Added 'missing feature' section for Chris.Samba Release Account1997-12-161-0/+11
| | | | Jeremy.
* WHATSNEW.txt - updated for 1.9.18alpha13.Jeremy Allison1997-12-164-150/+75
| | | | | | | docs/smb.conf.5: Removed unused NTDOMAIN params. Added new params. source/loadparm.c: Put #ifdef NTDOMAIN around unused params. source/nmbd_become_lmb.c: Removed check for workgroup name in lmb name. Jeremy.
* Added new wins & lm announce options.Jeremy Allison1997-12-161-1/+73
| | | | Jeremy.
* Added Lanman announce patch from Jacco de Leeuw <leeuw@wins.uva.nl>.Jeremy Allison1997-12-169-13/+359
| | | | | | Also added code to stop old Samba servers that announce the workgroup name as master browser name when they are a local master browser. Jeremy.
* nmbd_incomingdgrams.c: Fix bug with Syntax 5.1 servers reported by SGI whereJeremy Allison1997-12-164-5/+72
| | | | | | | | | | | | they do host announcements to LOCAL_MASTER_BROWSER_NAME<00> rather than WORKGROUP<1d>. nmbd_incomingrequests.c: Deal with WINS_PROXY_NAME issues - don't reply with that name if it's the same broadcast net. nmbd_serverlistdb.c: Stopped writing "Unknown" for local master browsers we don't know. nmbd_winsproxy.c: Deal with WINS_PROXY_NAME issues - don't reply with that name if it's the same broadcast net. Jeremy.
* fix bug in log file specificationHerb Lewis1997-12-161-1/+4
|
* give out file handles differently on each new connection because of aAndrew Tridgell1997-12-141-10/+29
| | | | | | common bug in MS clients where they try to reuse a file descriptor from an earlier smb connection. This code increases the chance that the errant client will get an error rather than causing corruption
* allow name_type 0x20 as well as name_type 0x0 in dns proxyingAndrew Tridgell1997-12-141-1/+2
|
* fix a bug that sometimes prevented smbclient from connecting withAndrew Tridgell1997-12-141-1/+3
| | | | protocol < LANMAN1
* This is it ! The mega-merge of the JRA_NMBD_REWRITE branchJeremy Allison1997-12-1363-10506/+12154
| | | | | | | | back into the main tree. For the cvs logs of all the files starting nmbd_*.c, look in the JRA_NMBD_REWRITE branch. That branch has now been discontinued. Jeremy.
* Fixed bug reported by Gert-Jan Vons <Gert-Jan.Vons@ocegr.fr>Jeremy Allison1997-12-121-0/+12
| | | | | with doing a dir /s into a unix directory ending in a ':'. Jeremy.
* fixed over char 127 problems with isupper/islower.Jeremy Allison1997-12-111-2/+7
| | | | Jeremy.
* While working on a general-purpose caching module (out soon), I thought ofChristopher R. Hertel1997-12-116-718/+505
| | | | | | a better way to handle the node pointer array used in ubi_BinTree. The change simplified the code a bigbunch. It also forced updates to all of the binary tree modules. CRH
* kanji.c: Patch from Anders Blomdell <anders.blomdell@control.lth.se>Jeremy Allison1997-12-112-3/+16
| | | | | for problem with kanji sj_strXXX functions. Jeremy.
* fix typo in directory nameHerb Lewis1997-12-041-4/+4
|
* Added one more USA consultant.Jeremy Allison1997-12-041-1/+17
| | | | Jeremy.
* catch signals in the async dns daemon and allow it to auto-restart ifAndrew Tridgell1997-12-041-0/+9
| | | | necessary