summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-12-24preparing for release of 1.9.18alpha14Samba Release Account42-42/+42
(This used to be commit d3a238e7ac452690bd35f399357b8795100f60a3)
1997-12-24Updated WHATSNEW.txt for 1.9.18alpha14 release.Jeremy Allison2-7/+140
Added CVS_ACCESS to tell people how to use cvs to keep up-to-date. Jeremy. (This used to be commit 8f721f8c1d758c6f9483145a1b39e9264c8011f4)
1997-12-24Added docs for new signal handling functions.Jeremy Allison2-0/+26
Jeremy. (This used to be commit 24fb57e7507338845c2075dbd6d86922b3f028ed)
1997-12-24Added SIGUSR1/SIGUSR2 handling.Jeremy Allison5-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. (This used to be commit 6a3cb6f4b46129e4d799a24d34cdb9460ed8910f)
1997-12-24nmbd_elections.c: Added new parameter to dump_workgroups call.Jeremy Allison5-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. (This used to be commit f7591109b968c66012af5e9fe818bba8e6f1cf23)
1997-12-24Finally added the code Andrew wanted that will allow a Samba domainJeremy Allison4-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. (This used to be commit 1a3ab3e84a415a6d0d9b4cafb3f0f6e8cbe3fa69)
1997-12-24Bugfix from Branko Cibej <branko.cibej@hermes.si>Jeremy Allison1-1/+1
- client.c had a workaround embedded in it for his earlier bug in StrnCaseCmp - removed this. Jeremy. (This used to be commit 7cb4e4b099cef0be3a7440bd5feb8b3d0c3c5f18)
1997-12-24Backed out changes that attempted to address a pointer array using -1,0,1.Christopher R. Hertel6-349/+584
Jeremy pointed out that there might be problems with this. Darn shame. (This used to be commit ce9acc96a6cbc91f0a3f95221c3e8f801cbdb602)
1997-12-23Fixed nastly little bug where client was sending open_and_X callJeremy Allison1-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. (This used to be commit eae921ac632c8297836b85e909903da0602eac0e)
1997-12-23Fixed security bug when 'force user' and 'user only' are set.Jeremy Allison1-2/+5
Reported by Brian McCauley <B.A.McCauley@bham.ac.uk>. Jeremy. (This used to be commit 00067800a25d6f5fe11e833a01d5a7a1e76dcc11)
1997-12-23Fixes to compile under OpenBSD from "Todd T. Fries" <toddf@acm.org>Jeremy Allison4-14/+28
Jeremy. (This used to be commit 3c9292505914e2119fa7b1973c9fbbe1742262b2)
1997-12-23architecture.doc: Re-added since I lost it (sorry Dan :-).Jeremy Allison3-2/+137
nmbd.c nmbd_responserecordsdb.c: Spelling mistake fixes. Jeremy. (This used to be commit f5dfc8913bcce71f14b59c5ed8415b0f54b58e6c)
1997-12-21Updates for 1.9.18Dan Shearer2-7/+39
(This used to be commit 338407732d1473ab3682c6090db297e76d864b94)
1997-12-20Put it in the right directory :~)Dan Shearer1-0/+0
(This used to be commit 49694879a0f96b75bb2ca5ec120a5867706afc90)
1997-12-20Chris' smb.conf parsing docoDan Shearer1-0/+181
(This used to be commit 3f0ecaceb4adbb1f75c3b84fbd031596c37ec84c)
1997-12-20Fixed stupid bug in read_smb_len where I was calling itself - nowJeremy Allison1-1/+1
calling the correct fn. Jeremy. (This used to be commit c62aa0a7600269c2bb13b939857716a6ee0f34c1)
1997-12-20client.c:Jeremy Allison6-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. (This used to be commit 1084fb46821cb96702da35439da4a8df9d255698)
1997-12-20loadparm.c: Added fix for veto oplock files bug from Charles Hoch ↵Jeremy Allison3-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 used to be commit 209f894fdbcfbf7a7952b6228342b86e088a9582)
1997-12-20This may be a waste of time, but I thought if we keep nibbling at this it mightDan Shearer1-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. (This used to be commit ae9cd0307e9562ca82bb62055df1aeef070c12d1)
1997-12-20Minor spelling, wording changes to introDan Shearer1-4/+6
(This used to be commit 0cbb60976a59effeda7d554a3962915dcb5f5c79)
1997-12-20trans2.c: Forced trans2_findfirst to behave as NT does in error returns.Jeremy Allison2-24/+11
util.c: Applied fix from Branko Cibej <branko.cibej@hermes.si> where StrnCaseCmp tests one character too many. Jeremy. (This used to be commit cb771b2667070cff8d6cf86998a11ba2e4977690)
1997-12-19Adding the cache module.Christopher R. Hertel4-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 -)----- (This used to be commit 45962779a658b0b78895ae08ad394e870ce6ed10)
1997-12-18kanji.h: Fixed problems with re-definitions of strchr and others on AIX.Jeremy Allison2-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. (This used to be commit bcfcc39a2752de0fb35b419d005bb1a86fd15fea)
1997-12-17Missed terminating {-1,NULL} in an enum parameter list.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 5ea3633445d49da7a71be51e008128b3bbfaef9c)
1997-12-16- handle ENOSPC in shmem init.Andrew Tridgell1-4/+6
- be a little bit more friendly about grabbing semaphores (This used to be commit 87f88708939a3b72b26716a0d6648c4ea2d14047)
1997-12-16preparing for release of 1.9.18alpha13Samba Release Account42-51/+43
(This used to be commit 90b8675b88aa01ae912b5c8849ffb406ad976b95)
1997-12-16Added 'missing feature' section for Chris.Samba Release Account1-0/+11
Jeremy. (This used to be commit a66c7ce2219d136205a7b355144be2c45ab88aba)
1997-12-16WHATSNEW.txt - updated for 1.9.18alpha13.Jeremy Allison4-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. (This used to be commit 5136c5ec119968b39e2cf9d7f3e6836d9286a51f)
1997-12-16Added new wins & lm announce options.Jeremy Allison1-1/+73
Jeremy. (This used to be commit 847506a755fac3f97274a19c8a02a2a22f82ca13)
1997-12-16Added Lanman announce patch from Jacco de Leeuw <leeuw@wins.uva.nl>.Jeremy Allison9-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. (This used to be commit 3605da055737e2cc0fbfffe7772721943a5be8bd)
1997-12-16nmbd_incomingdgrams.c: Fix bug with Syntax 5.1 servers reported by SGI whereJeremy Allison4-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. (This used to be commit 5adfff94c9020bd57f84ccbc8fba5b1d8d1615af)
1997-12-16fix bug in log file specificationHerb Lewis1-1/+4
(This used to be commit 9b77a642bd302b7aea2147d1cbcd61e310ccfd91)
1997-12-14give out file handles differently on each new connection because of aAndrew Tridgell1-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 (This used to be commit 677d7a5a13728d8207dd2e7092c98d026d2d4f3c)
1997-12-14allow name_type 0x20 as well as name_type 0x0 in dns proxyingAndrew Tridgell1-1/+2
(This used to be commit be8a40487c128947cead19a43cf2f983e9543305)
1997-12-14fix a bug that sometimes prevented smbclient from connecting withAndrew Tridgell1-1/+3
protocol < LANMAN1 (This used to be commit 95ad2c284dad9c5042ac113eb7067a10531d34a1)
1997-12-13This is it ! The mega-merge of the JRA_NMBD_REWRITE branchJeremy Allison63-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. (This used to be commit d80b0cb645f81d16734929a0b27a91c6650499bb)
1997-12-12Fixed bug reported by Gert-Jan Vons <Gert-Jan.Vons@ocegr.fr>Jeremy Allison1-0/+12
with doing a dir /s into a unix directory ending in a ':'. Jeremy. (This used to be commit 273978b7d72955efcc0e0d9e87438b45f51c163d)
1997-12-11fixed over char 127 problems with isupper/islower.Jeremy Allison1-2/+7
Jeremy. (This used to be commit 4ac95226fff8e48a0024e2beb78df662fcfeda62)
1997-12-11While working on a general-purpose caching module (out soon), I thought ofChristopher R. Hertel6-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 (This used to be commit db9898559f1493ade4478196b72663759bb18995)
1997-12-11kanji.c: Patch from Anders Blomdell <anders.blomdell@control.lth.se>Jeremy Allison2-3/+16
for problem with kanji sj_strXXX functions. Jeremy. (This used to be commit bf48151e6ddfa72303be7eac9e156046d4fb5b5e)
1997-12-04fix typo in directory nameHerb Lewis1-4/+4
(This used to be commit 2e73fc0449beabc9658b3fe869e577a868af3c0d)
1997-12-04Added one more USA consultant.Jeremy Allison1-1/+17
Jeremy. (This used to be commit 83c2414baf236b68f5c2461d1ecde845ec280b3f)
1997-12-04catch signals in the async dns daemon and allow it to auto-restart ifAndrew Tridgell1-0/+9
necessary (This used to be commit fa599067f074647a5bad2ffd0fce12ae0a4e43d2)
1997-12-04allow for zero size reads in asyncdns. These can happen after a signalAndrew Tridgell1-3/+6
(This used to be commit 8bac91a6e7a3601b093cb64e9cb3bcc1663fb4d4)
1997-12-04got rid of the WRAP_MALLOC code - mem_man does it betterAndrew Tridgell1-67/+0
(This used to be commit d9bb3a4eba9c630370fea0fa297b176fd2afb532)
1997-12-04added optonal MEM_MAN codeAndrew Tridgell2-45/+22
(This used to be commit b524c8da5141e3e030e14b3a0167fa5c7ae91396)
1997-12-04don't use free and alloc as structure elementsAndrew Tridgell2-16/+16
(This used to be commit f7066355b00a169423b4f64f58567e19b52abc1b)
1997-12-03Makefile.lib does nothing, so remove itAndrew Tridgell1-32/+0
(This used to be commit 4800a02a92d9451d3bd51e7b9e366e4e60a3789e)
1997-12-03slight cleanup to the linked list handlingAndrew Tridgell2-29/+20
(This used to be commit 97b62b347648411d034ab91845ae607eca4dfad6)
1997-12-03put the default PRINTCAP_NAME def in includes.h not local.h so thatAndrew Tridgell2-17/+17
it can see the SYSV definitions (This used to be commit e439115366804982af6faba75714dbe2626edead)