summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Added get_create_time() function to time.c.Jeremy Allison1998-01-244-7/+30
| | | | | | | | This gets the minimum timestamp associated with a file. reply.c and trans2.c then return this as the create time. Designed to fix problems with VC++ and others. Jeremy. (This used to be commit e3d5f6196d6eff707c78941696a368216e2a7410)
* Changed code that truncates salt after 2 characters so that it becomesJeremy Allison1998-01-231-0/+3
| | | | | | | | HPUX specific. This fixes a bug with FreeBSD md5 crypt implementation that needs all of the password characters. It seems better to make this an HPUX specific thing. Jeremy. (This used to be commit 91a2b746d3fac261d4be3bd7afa3d5bb601b3d27)
* Fixed warnings with gcc (assignments inside if statements).Jeremy Allison1998-01-231-4/+4
| | | | | Jeremy. (This used to be commit 1a9e25d3bc610a1d49241e2fe39530813d983882)
* changes to correctly use some HP printer inf filesHerb Lewis1998-01-231-39/+146
| | | | (This used to be commit ab894c3e1de582864ad9c0f6ae797b73b4c2ba41)
* nmbd.c, server.c: Added #ifndef MEM_MAN around code that sets the SIGUSR1Jeremy Allison1998-01-232-0/+9
| | | | | | | and SIGUSR2 signals. This allows the MEM_MAN code to be compiled in and the memory debug feature to be used with SIGUSR1. Jeremy. (This used to be commit 43ef7e3cb5bb971ff6ddf8230b08995e55b7c6e1)
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-2299-150/+150
| | | | | | | | This is merely updating the Copyright statements from 1997 to 1998. It's a once a year thing :-). NO OTHER CHANGES WERE MADE. Jeremy. (This used to be commit b9c16977231efb274e08856f7f3f4408dad6d96c)
* printing.c: Bug fix for lpng reporting.Jeremy Allison1998-01-224-58/+110
| | | | | | | server.c: Large fix for oplock deadlock bug. util.c: Fix for oplock deadlock bug. Jeremy. (This used to be commit 4cae830ab3a942b2f2868173a492d02f6332651d)
* *** empty log message ***Volker Lendecke1998-01-222-55/+53
| | | | (This used to be commit 1e1b0c80f84657f89ffcd4132887cd9f8a26885a)
* Fixed send_mailslot code where src_type was always being set to zero.Jeremy Allison1998-01-211-1/+1
| | | | | | Fix found by Bernhard Laeser <nlaesb@ascom.ch>. Jeremy. (This used to be commit 303b5a79c83246e1895f9478e187610addfd2862)
* fix problems with using inf files from HP for DesignJet 750C (C3195A)Herb Lewis1998-01-211-1/+4
| | | | (This used to be commit 4e258eecf7088d78b285440ca87386987196eaec)
* Fixed bug found by Bernhard Laeser where we are announcing to the wrongJeremy Allison1998-01-201-1/+1
| | | | | | DMB name. Jeremy. (This used to be commit 6b3d4620c128fe1f77f579a451eac7f41a83064f)
* charcnv.c: Added codepage 866 support onto the file system. PatchJeremy Allison1998-01-178-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)
* reply.c:Jeremy Allison1998-01-164-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)
* Adding new codepage file.Jeremy Allison1998-01-161-0/+168
| | | | | Jeremy. (This used to be commit 91155265db1f0916716bf8da10bfda4e11124c55)
* Makefile: Added new codepage - 866.Jeremy Allison1998-01-165-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)
* reply.c: Added timestamp to attack warning.Jeremy Allison1998-01-152-1/+3
| | | | | | | server.c: Fixed security=share problem where the vuid was still being looked at. Jeremy. (This used to be commit ab8d615fe2004c3ca93dd2978ba988ea89d7fd74)
* propogate my cgi changes to the main branchAndrew Tridgell1998-01-123-2/+3
| | | | (This used to be commit 215c97e83ac74757cffb4f64176c80ddb845d65f)
* *** empty log message ***Andrew Tridgell1998-01-124-11/+34
| | | | (This used to be commit 7b031586ca33a381eb0e27f3557f43c2550df5f8)
* *** empty log message ***Andrew Tridgell1998-01-111-0/+5
| | | | (This used to be commit 440535a0c755cfb55ced8fe537e2251d6a30714f)
* *** empty log message ***Andrew Tridgell1998-01-111-3/+3
| | | | (This used to be commit a307b5155594a12ca978190cc9dec52e203e0fd3)
* Following discussions with Cristian Gafton (Red Hat) we have decided to makeJohn Terpstra1998-01-101-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)
* ipc.c: Fixed problem where we were not returning 'buffer too small'Jeremy Allison1998-01-101-2/+2
| | | | | | when NT sends up a mdrcnt of zero. Jeremy. (This used to be commit 2a75519b8592948b2f35ecca040bd3f88bf89be5)
* docs/Support.txt: Removed consultant.Jeremy Allison1998-01-094-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)
* 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)