summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* preparing for release of 1.9.18alpha14Samba Release Account1997-12-241-1/+1
|
* 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.
* Put it in the right directory :~)Dan 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.
* 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-161-1/+1
|
* WHATSNEW.txt - updated for 1.9.18alpha13.Jeremy Allison1997-12-162-1/+10
| | | | | | | 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 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.
* 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.
* catch signals in the async dns daemon and allow it to auto-restart ifAndrew Tridgell1997-12-041-0/+9
| | | | necessary
* allow for zero size reads in asyncdns. These can happen after a signalAndrew Tridgell1997-12-041-3/+6
|
* got rid of the WRAP_MALLOC code - mem_man does it betterAndrew Tridgell1997-12-041-67/+0
|
* added optonal MEM_MAN codeAndrew Tridgell1997-12-042-45/+22
|
* don't use free and alloc as structure elementsAndrew Tridgell1997-12-042-16/+16
|
* Makefile.lib does nothing, so remove itAndrew Tridgell1997-12-031-32/+0
|
* slight cleanup to the linked list handlingAndrew Tridgell1997-12-032-29/+20
|
* put the default PRINTCAP_NAME def in includes.h not local.h so thatAndrew Tridgell1997-12-032-17/+17
| | | | it can see the SYSV definitions
* applied a patch from Norm Jacobs to allow "printcap name = lpstat"Andrew Tridgell1997-12-034-9/+150
| | | | | | | | | | to use lpstat to obtain the printer list on systemV systems. I've now made this the default on all SYSV systems. Jeremy, you were a little worried about the security of this patch. I believe it's OK as the user has no control over the options given to popen() and the pipe is only open for reading.
* change the "username map" option to allow the user to stop theAndrew Tridgell1997-12-031-0/+12
| | | | | | | | processing part way through the file if a match is found. If a line starts with ! and a match is made by that line then processing stops. This allows better wildcard handling. (patch from Anselm.Kruis@Physik.Uni-Muenchen.DE)
* allow local_machine and remote_machine (%L and %m macros) to containAndrew Tridgell1997-12-031-6/+2
| | | | spaces
* loadparm.c: Added lp_we_are_a_wins_server as an alias for lp_wins_support.Jeremy Allison1997-12-032-0/+2
| | | | | Used by the new nmbd and just makes more sense :-). Jeremy.
* add a warning if the timezone is not a multiple of 1 minute. ThisAndrew Tridgell1997-12-031-0/+5
| | | | should catch broken timezone files in slackware linux.
* allow users to disable the NetWkstaUserLogon call in server levelAndrew Tridgell1997-12-032-0/+12
| | | | | security by changing a setting in local.h or adding it to their Makefile. See comment in local.h
* make the "printing" option a per share option rather than global. WhenAndrew Tridgell1997-12-033-7/+7
| | | | printing to lots of different sorts of remote printers this is useful
* I'm slowly getting though the todo list :-)Andrew Tridgell1997-12-032-3/+8
| | | | | This change allows people to select the SYSLOG_FACILITY in local.h, or add it to the Makefile if they want to.
* hopefully handle "ready and waiting" messages in print queue output aAndrew Tridgell1997-12-031-0/+3
| | | | little better
* fix toupper(c) on a already uppercase char and tolower(c) on anAndrew Tridgell1997-12-031-0/+2
| | | | | already lowercase char when using code pages. Jeremy, can you confirm that this looks right? It comes from PR#1992
* fixed the help message for -p (someone complained!)Andrew Tridgell1997-12-021-1/+1
|