summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* preparing for release of 1.9.18Samba Release Account1998-01-081-1/+1
| | | | (This used to be commit c3f725ad889650147cf5b931ca9f34836daaf942)
* Fixed an apparent typo:Christopher R. Hertel1998-01-081-1/+1
| | | | | | | | | 2551c2551 < #endif /NO_FORK_DEBUG */ --- > #endif /* NO_FORK_DEBUG */ Chris -)----- (This used to be commit 954fc7e0d01443f4bfc7157f2dcba2187f6700ec)
* Ensure that if we are in share mode security that the smb_uidJeremy Allison1998-01-071-1/+2
| | | | | | field is invalid. Jeremy. (This used to be commit a689ca1ce5c3ffdc753dce329f51a8ede0592f29)
* includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison1998-01-077-13/+45
| | | | | | | | | | | interface.c: Added netmask fix. nmbd_nameregister.c: Fixed unitialised variable warnings. nmbd_winsproxy.c: Fixed unitialised variable warnings. nmbd_winsserver.c: Fixed DEC warnings. print_svid.c: Fixed DEC warnings. printing.c: Added LPRng fixes. Jeremy. (This used to be commit 28aff043c4a3693a0c20e87c7ce11eb4bf285b78)
* Added manpages.Volker Lendecke1998-01-061-4/+0
| | | | | | Removed obsolete options from smbmount help message. Volker (This used to be commit 2d550d28cd9d3cdb6f72e1f387d9c65dbc1404ad)
* the real source code for the smbfs utilities. Forgot to doVolker Lendecke1998-01-053-0/+1429
| | | | | | cvs add first. Volker (This used to be commit 65406a546e15e53fcb0b724d0df3bc56a784edff)
* Added 3 commands:Volker Lendecke1998-01-054-32/+59
| | | | | | | | | smbmount: This is a stripped down smbclient that communicates with the Linux 2.1.x kernel to supply authenticated smb connections for smbfs mount points. smbmnt/smbumount: setuid commands that do the actual smb mount system call after having done the appropriate security checks (This used to be commit ccbbc4e647ad900b215dae949d5bcd45671c68c8)
* added printout of file list to stderr so you know what files you need toHerb Lewis1998-01-031-0/+4
| | | | | copy to your printer$ share (This used to be commit bdfa5c709986051e78198c68c5a90358fdfa780e)
* added timestrings to become and unbecome domain/local master browserHerb Lewis1998-01-032-12/+13
| | | | | messages. (This used to be commit 5e7e3d18b51e1eb949bc793d3106a17d8e65a1af)
* fix printer driver rpc to prevent core dumps.Herb Lewis1998-01-021-65/+73
| | | | (This used to be commit 0c82d139e3eb20a00016df30f33835ab5150ecea)
* 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 (This used to be commit 52e275c4ccc1b7f0c2ef8d12d28065898a1c89c9)
* 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 (This used to be commit ae8151330deafb7abc5aa604e7c8c0b762e3aa20)
* 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 (This used to be commit 213c3a4ed27cdc689e941b9a6d70e02e8b7dedd4)
* fixed another couple of minor type errors (they could cause incorrectAndrew Tridgell1997-12-261-4/+4
| | | | | output but not a core dump) (This used to be commit 4dc66214a0cdf16e48cca961914fae37b3762330)
* 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. (This used to be commit 6ea907e78672558d470e9a819982940a9228e2fa)
* use _exit to exit a childAndrew Tridgell1997-12-261-6/+2
| | | | (This used to be commit 992b1cbc143be910d9b8e65afdc82c43d33650a5)
* 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. (This used to be commit 64c8111574ff9fa00d5b43b146ae4d6f6bdf0565)
* preparing for release of 1.9.18alpha14Samba Release Account1997-12-241-1/+1
| | | | (This used to be commit d3a238e7ac452690bd35f399357b8795100f60a3)
* 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. (This used to be commit 6a3cb6f4b46129e4d799a24d34cdb9460ed8910f)
* 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. (This used to be commit f7591109b968c66012af5e9fe818bba8e6f1cf23)
* 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. (This used to be commit 1a3ab3e84a415a6d0d9b4cafb3f0f6e8cbe3fa69)
* 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. (This used to be commit 7cb4e4b099cef0be3a7440bd5feb8b3d0c3c5f18)
* 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. (This used to be commit ce9acc96a6cbc91f0a3f95221c3e8f801cbdb602)
* 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. (This used to be commit eae921ac632c8297836b85e909903da0602eac0e)
* 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. (This used to be commit 00067800a25d6f5fe11e833a01d5a7a1e76dcc11)
* Fixes to compile under OpenBSD from "Todd T. Fries" <toddf@acm.org>Jeremy Allison1997-12-234-14/+28
| | | | | Jeremy. (This used to be commit 3c9292505914e2119fa7b1973c9fbbe1742262b2)
* 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. (This used to be commit f5dfc8913bcce71f14b59c5ed8415b0f54b58e6c)
* Put it in the right directory :~)Dan Shearer1997-12-201-0/+181
| | | | (This used to be commit 49694879a0f96b75bb2ca5ec120a5867706afc90)
* Fixed stupid bug in read_smb_len where I was calling itself - nowJeremy Allison1997-12-201-1/+1
| | | | | | calling the correct fn. Jeremy. (This used to be commit c62aa0a7600269c2bb13b939857716a6ee0f34c1)
* 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. (This used to be commit 1084fb46821cb96702da35439da4a8df9d255698)
* 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 used to be commit 209f894fdbcfbf7a7952b6228342b86e088a9582)
* 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. (This used to be commit cb771b2667070cff8d6cf86998a11ba2e4977690)
* 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 -)----- (This used to be commit 45962779a658b0b78895ae08ad394e870ce6ed10)
* 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. (This used to be commit bcfcc39a2752de0fb35b419d005bb1a86fd15fea)
* Missed terminating {-1,NULL} in an enum parameter list.Jeremy Allison1997-12-171-1/+1
| | | | | Jeremy. (This used to be commit 5ea3633445d49da7a71be51e008128b3bbfaef9c)
* - handle ENOSPC in shmem init.Andrew Tridgell1997-12-161-4/+6
| | | | | - be a little bit more friendly about grabbing semaphores (This used to be commit 87f88708939a3b72b26716a0d6648c4ea2d14047)
* preparing for release of 1.9.18alpha13Samba Release Account1997-12-161-1/+1
| | | | (This used to be commit 90b8675b88aa01ae912b5c8849ffb406ad976b95)
* 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. (This used to be commit 5136c5ec119968b39e2cf9d7f3e6836d9286a51f)
* 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. (This used to be commit 3605da055737e2cc0fbfffe7772721943a5be8bd)
* 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. (This used to be commit 5adfff94c9020bd57f84ccbc8fba5b1d8d1615af)
* 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 (This used to be commit 677d7a5a13728d8207dd2e7092c98d026d2d4f3c)
* allow name_type 0x20 as well as name_type 0x0 in dns proxyingAndrew Tridgell1997-12-141-1/+2
| | | | (This used to be commit be8a40487c128947cead19a43cf2f983e9543305)
* fix a bug that sometimes prevented smbclient from connecting withAndrew Tridgell1997-12-141-1/+3
| | | | | protocol < LANMAN1 (This used to be commit 95ad2c284dad9c5042ac113eb7067a10531d34a1)
* 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. (This used to be commit d80b0cb645f81d16734929a0b27a91c6650499bb)
* 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. (This used to be commit 273978b7d72955efcc0e0d9e87438b45f51c163d)
* fixed over char 127 problems with isupper/islower.Jeremy Allison1997-12-111-2/+7
| | | | | Jeremy. (This used to be commit 4ac95226fff8e48a0024e2beb78df662fcfeda62)
* 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 (This used to be commit db9898559f1493ade4478196b72663759bb18995)
* 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. (This used to be commit bf48151e6ddfa72303be7eac9e156046d4fb5b5e)
* catch signals in the async dns daemon and allow it to auto-restart ifAndrew Tridgell1997-12-041-0/+9
| | | | | necessary (This used to be commit fa599067f074647a5bad2ffd0fce12ae0a4e43d2)
* allow for zero size reads in asyncdns. These can happen after a signalAndrew Tridgell1997-12-041-3/+6
| | | | (This used to be commit 8bac91a6e7a3601b093cb64e9cb3bcc1663fb4d4)