summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-01-22printing.c: Bug fix for lpng reporting.Jeremy Allison4-58/+110
server.c: Large fix for oplock deadlock bug. util.c: Fix for oplock deadlock bug. Jeremy. (This used to be commit 4cae830ab3a942b2f2868173a492d02f6332651d)
1998-01-22*** empty log message ***Volker Lendecke2-55/+53
(This used to be commit 1e1b0c80f84657f89ffcd4132887cd9f8a26885a)
1998-01-21Fixed send_mailslot code where src_type was always being set to zero.Jeremy Allison1-1/+1
Fix found by Bernhard Laeser <nlaesb@ascom.ch>. Jeremy. (This used to be commit 303b5a79c83246e1895f9478e187610addfd2862)
1998-01-21fix problems with using inf files from HP for DesignJet 750C (C3195A)Herb Lewis1-1/+4
(This used to be commit 4e258eecf7088d78b285440ca87386987196eaec)
1998-01-20Fixed bug found by Bernhard Laeser where we are announcing to the wrongJeremy Allison1-1/+1
DMB name. Jeremy. (This used to be commit 6b3d4620c128fe1f77f579a451eac7f41a83064f)
1998-01-17charcnv.c: Added codepage 866 support onto the file system. PatchJeremy Allison8-8/+195
from Max Khon <max@iclub.nsu.ru>. chgpasswd.c: Allow old RAP change password to work with encrypted passwords. Samba can now allow Windows 95/NT clients to securely change the Lanman password ! (But not the NT hash - that gets lost). ipc.c: smbdes.c: smbpass.c: Support for the above. server.c: #ifdef'ed out fix for NT redirector bug. util.c: Fix NIS bug with server name. Jeremy. (This used to be commit cd9fad92d0316e5a0007ba3c5668906dc2f011f1)
1998-01-16reply.c:Jeremy Allison4-28/+48
server.c: Test fix for NT worstation SMBmv oplock bug. smbdes.c: Addition of 'forward' parameter in preparation of allowing password change. Jeremy. (This used to be commit 0b0b1fb122a52e67a8fdc77d013ad0b3bbb90d19)
1998-01-16Adding new codepage file.Jeremy Allison1-0/+168
Jeremy. (This used to be commit 91155265db1f0916716bf8da10bfda4e11124c55)
1998-01-16Makefile: Added new codepage - 866.Jeremy Allison5-15/+16
charset.c: Supporting code for codepage 866. clientutil.c: Fix compile bug in little-used #define. includes.h: Supporting code for codepage 866. make_smbcodepage.c: Supporting code for codepage 866. pcap.c: Fix bug for lpstat. Jeremy. (This used to be commit 6040d7a39e5d5ab426905aa79b871df815fb9b62)
1998-01-15reply.c: Added timestamp to attack warning.Jeremy Allison2-1/+3
server.c: Fixed security=share problem where the vuid was still being looked at. Jeremy. (This used to be commit ab8d615fe2004c3ca93dd2978ba988ea89d7fd74)
1998-01-12propogate my cgi changes to the main branchAndrew Tridgell3-2/+3
(This used to be commit 215c97e83ac74757cffb4f64176c80ddb845d65f)
1998-01-12*** empty log message ***Andrew Tridgell4-11/+34
(This used to be commit 7b031586ca33a381eb0e27f3557f43c2550df5f8)
1998-01-11*** empty log message ***Andrew Tridgell1-0/+5
(This used to be commit 440535a0c755cfb55ced8fe537e2251d6a30714f)
1998-01-11*** empty log message ***Andrew Tridgell1-3/+3
(This used to be commit a307b5155594a12ca978190cc9dec52e203e0fd3)
1998-01-10Following discussions with Cristian Gafton (Red Hat) we have decided to makeJohn Terpstra1-2/+8
PAM silent about it's actions. This reduced error logging for EVERY password validation request. Refer to password.c PAM section for further info. Fiels Affected: password.c (This used to be commit 7a1a8042dd005e26e610a16eaaa693f119b874c7)
1998-01-10ipc.c: Fixed problem where we were not returning 'buffer too small'Jeremy Allison1-2/+2
when NT sends up a mdrcnt of zero. Jeremy. (This used to be commit 2a75519b8592948b2f35ecca040bd3f88bf89be5)
1998-01-09docs/Support.txt: Removed consultant.Jeremy Allison4-24/+36
source/Makefile: Added Volker's comment. source/nmbd_become_lmb.c: source/nmbd_browsesync.c: source/nmbd_incomingdgrams.c: Fixed userdata alignment problems. source/mem_man/mem_man.c: source/mem_man/mem_man.h: added smb_ prefix to stop namespace collisions. Jeremy. (This used to be commit 4c8af3bc9f43b2427609cbeecb7940b1753a9a1c)
1998-01-08preparing for release of 1.9.18Samba Release Account1-1/+1
(This used to be commit c3f725ad889650147cf5b931ca9f34836daaf942)
1998-01-08Fixed an apparent typo:Christopher R. Hertel1-1/+1
2551c2551 < #endif /NO_FORK_DEBUG */ --- > #endif /* NO_FORK_DEBUG */ Chris -)----- (This used to be commit 954fc7e0d01443f4bfc7157f2dcba2187f6700ec)
1998-01-07Ensure that if we are in share mode security that the smb_uidJeremy Allison1-1/+2
field is invalid. Jeremy. (This used to be commit a689ca1ce5c3ffdc753dce329f51a8ede0592f29)
1998-01-07includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison7-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)
1998-01-06Added manpages.Volker Lendecke1-4/+0
Removed obsolete options from smbmount help message. Volker (This used to be commit 2d550d28cd9d3cdb6f72e1f387d9c65dbc1404ad)
1998-01-05the real source code for the smbfs utilities. Forgot to doVolker Lendecke3-0/+1429
cvs add first. Volker (This used to be commit 65406a546e15e53fcb0b724d0df3bc56a784edff)
1998-01-05Added 3 commands:Volker Lendecke4-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)
1998-01-03added printout of file list to stderr so you know what files you need toHerb Lewis1-0/+4
copy to your printer$ share (This used to be commit bdfa5c709986051e78198c68c5a90358fdfa780e)
1998-01-03added timestrings to become and unbecome domain/local master browserHerb Lewis2-12/+13
messages. (This used to be commit 5e7e3d18b51e1eb949bc793d3106a17d8e65a1af)
1998-01-02fix printer driver rpc to prevent core dumps.Herb Lewis1-65/+73
(This used to be commit 0c82d139e3eb20a00016df30f33835ab5150ecea)
1998-01-01fixes to make_printerdef.c to generate a correct printers.def fileHerb Lewis2-40/+134
changes to ipc.c to use new printers.def file (This used to be commit 52e275c4ccc1b7f0c2ef8d12d28065898a1c89c9)
1997-12-29avoid the ~ operator in netmask operations as apparently it causesAndrew Tridgell1-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)
1997-12-29a dummy change to shmem_sysv.c to try and break CVS out of a problemAndrew Tridgell1-0/+1
with the ntdom branch (This used to be commit 213c3a4ed27cdc689e941b9a6d70e02e8b7dedd4)
1997-12-26fixed another couple of minor type errors (they could cause incorrectAndrew Tridgell1-4/+4
output but not a core dump) (This used to be commit 4dc66214a0cdf16e48cca961914fae37b3762330)
1997-12-26fixed a couple of illegal uses of scanf() in the nmbd wins code. TheyAndrew Tridgell2-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)
1997-12-26use _exit to exit a childAndrew Tridgell1-6/+2
(This used to be commit 992b1cbc143be910d9b8e65afdc82c43d33650a5)
1997-12-24This is actually Jeremy, working as Herb :-).Herb Lewis1-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)
1997-12-24preparing for release of 1.9.18alpha14Samba Release Account1-1/+1
(This used to be commit d3a238e7ac452690bd35f399357b8795100f60a3)
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-20Put it in the right directory :~)Dan Shearer1-0/+181
(This used to be commit 49694879a0f96b75bb2ca5ec120a5867706afc90)
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-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)