summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-02-20nmbd_packets.c: nmbd_subnetdb.c: Patch from Andrey Alekseyev ↵Jeremy Allison7-40/+157
<fetch@muffin.arcadia.spb.ru> to fix the fact that retransmit_or_expire_response_records() wasn't looking at the WINS subnet. server.c: Patch from jkf@soton.ac.uk to add %p (NIS server path) substitution. smbpass.c: Fix to stop parsing failing on non-valid lines. trans2.c: Fix for volume serial number code. util.c: Patch from jkf@soton.ac.uk to add %p (NIS server path) substitution. Fix for warnings under RH5. gcc 2.8. Jeremy. (This used to be commit e58ab3bbe6e939ba678ad5482e58e0191c8dcbcb)
1998-02-14Fix to make us compile cleanly with gcc 2.8.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 0a535680077a9e436362fd7f1711f62b35317fa4)
1998-02-14Sometime after 1.9.17p5 smbclient stopped being able to doJeremy Allison1-2/+4
NetBIOS name lookups by broadcast and instead only does DNS. With the belief that this was not what was intended (I think it happened in the clientutil.c cleanup) I have added that capability back to smbclient by adding the #define USENMB into clientutil.c, and adding the required namequery.o into the object lists for smbclient and smbmount (as they now need it to link). If this was done intentionally let me know and I'll back this out. Jeremy. (This used to be commit 1da47e79d3055468b03f496982af0fb836d91f8c)
1998-02-13Fix for crash bug with amanda - from "Michael C. Povel" <Michael.Povel@hub.de>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 735adfa01b7b2e540bb5476a77d6b689ca70852a)
1998-02-13Ding-dong the witch is dead, the witch is dead......Jeremy Allison7-45/+29
This is the checkin that fixes the infamous Visual C++ 'file has changed' bug. I feel *SO* good about that :-). charset.c: Added (void) to fix Herb's fussy compiler. loadparm.c: Removed "win95 bug compatibility" (didn't like it much anyway :-). Added "dos filetime resolution" instead. reply.c: Added the 2 second timestamp resolution fix that the song above is about. time.c: Removed unneeded get_access_time() function. trans2.c : Removed unneeded "win95 bug compatibility" code. Jeremy. (This used to be commit 10d628e4aeaecc573de27e251fec7b91844cba40)
1998-02-12make the initial logfile names consistent. This should mean that smbdAndrew Tridgell2-1/+3
starts with log.smb and nmbd starts with log.nmb. It also gets rid of the "log." when using the log.%m construct as %m expands to smb before a client connects. (This used to be commit b7712a0a6d0afeef6239d5af61cba677eebb247b)
1998-02-12Added fix for doing pq command (from "James J. Szinger" ↵Jeremy Allison1-2/+2
<james.szinger@yale.edu>). Jeremy. (This used to be commit 7123405d6351cf6457adb1199dab3c6416bf9865)
1998-02-11Makefile: Added AIX 3.2.5.Jeremy Allison10-13/+77
loadparm.c: Added "win95 bug compatibility" parameter. local.h: Replaced MAX_OPEN_FILES back to 100 from 10 (oops). reply.c: Fixed ulogoff check against uid - changed to vuid. server.c: Changed file struct save of uid - changed to vuid. smb.h: Changed id in struct current_user to vuid. Changed file struct uid to vuid. time.c: Added "win95 bug compatibility" atime -> mtime return. trans2.c: Added "win95 bug compatibility" fixes. uid.c: Changed id in struct current_user to vuid - added checks to set/reset it. util.c: Added code to expand environment variables. version.h : still at 1.9.18 (head branch doesn't matter too much at present). Jeremy. (This used to be commit adc903bcf59ad1664babd7f1d43675d3a75bfbc9)
1998-02-07A small raft of changes, I will sync up with 1.9.18 also.Jeremy Allison13-49/+115
chgpasswd.c: Fixed typo in debug message. includes.h: Fix include for aix. kanji.c: Added cap_to_sj as inverse of sj_to_cap. loadparm.c: local.h: password.c: Added code for "networkstation user login" parameter. - patch from Rob Nielsen <ran@adc.com>. printing.c: Added further aix printing fixes. reply.c: Changed access time fetch to a function. trans2.c: Changed access time fetch to a function. time.c: Changed access time fetch to a function. server.c: Made NT redirector workaround final. util.c: Added debug for write_socket failing. Jeremy. (This used to be commit a031404623c22d62f8de035be2239f609af08112)
1998-01-31server.c: Added fix where, if all the file entries are beingJeremy Allison1-1/+57
used, smbd tries to break an oplock to make room for another file entry. This works well with Windows 95 that seems to keep batch oplocks around for an arbitrarily long time. Also changed rlimit code to ask for MAX_OPEN_FILES + 10 (if allowed) as many systems use file descriptors for directory handles also. Jeremy. (This used to be commit 1544d5a0f889d42696656fb18d2da1c1f8626b2b)
1998-01-30fix bug when using lpstat as printcap file - remove space at start ofHerb Lewis1-1/+1
printer names generated (This used to be commit 8f48a0571a4dda282bd3438e54a029400b7ca448)
1998-01-29Makefile: Fix for OSF1 typo.Jeremy Allison9-10/+62
asyncdns.c: Fixes that went into 1.9.18p2 - allow unclocking of sigterm. chgpasswd.c: char -> unsigned char fixes. includes.h: AIX fix to get prototype for inet_ntoa. local.h: Tune size of shared memory based on MAX_OPEN_FILES. nmbd_mynames.c: Fix for nmbd repeated refresh bug. nmbd_responserecordsdb.c: Fix for nmbd repeated refresh bug. nmbd_winsserver.c: Fix for multi-homed registration optimisation. smb.h: Moved default shared memory size to local.h Jeremy. (This used to be commit fa5466805685d461564054d7d9947948fc56ae93)
1998-01-28Fix from Charles Hoch (hoch@hpl.hp.com). Whne there is no dataJeremy Allison1-2/+4
to send, setting the data alignment to a 4 byte boundary causes a few extra bytes to be sent. This seems to cause the NT redirector to *sometimes* fail. Jeremy. (This used to be commit f6ee3263dac960772024bf9009ad0ddce6d8f289)
1998-01-25always align both the parameter and data bytes on a 4 byte boundary inAndrew Tridgell1-8/+20
trans2 responses. I'm not at all convinced this was causing problems, because observations of Win95 show that it produces totally non-aligned paramater bytes and 2 byte aligned data bytes. We were previously always producing 2 byte aligned data and parameter bytes so we already had "better" alignment than Win95. lets hope no clients rely on servers producing unaligned data or parameters! (This used to be commit 68ad11a7352824fea46ecbe67a3827a7ba3bcbab)
1998-01-24Added log message so we can tell when free_service is called.Jeremy Allison1-0/+3
Just in case of problems. Jeremy. (This used to be commit ee307df9ad1f03d7f8e515549902abd96dae72fc)
1998-01-24Fix for memory leak in loadparm.c - donated by Branko Cibej ↵Jeremy Allison1-1/+8
<branko.cibej@hermes.si> I checked this out and it looks ok - the bzero() in init_service() was overwriting the pointers pservice->szService and pservice->copymap that should have been freed in copy_service() the line later. This fix frees pservice->szService and pservice->copymap inside free_service() and sets them to zero so they won't be freed again. Jeremy. (This used to be commit 0bcb00e2bad999df859fdff59ce720d34de9b1ad)
1998-01-24Added get_create_time() function to time.c.Jeremy Allison4-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)
1998-01-23Changed code that truncates salt after 2 characters so that it becomesJeremy Allison1-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)
1998-01-23Fixed warnings with gcc (assignments inside if statements).Jeremy Allison1-4/+4
Jeremy. (This used to be commit 1a9e25d3bc610a1d49241e2fe39530813d983882)
1998-01-23changes to correctly use some HP printer inf filesHerb Lewis1-39/+146
(This used to be commit ab894c3e1de582864ad9c0f6ae797b73b4c2ba41)
1998-01-23nmbd.c, server.c: Added #ifndef MEM_MAN around code that sets the SIGUSR1Jeremy Allison2-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)
1998-01-22This is *not* a big change (although it looks like one).Jeremy Allison99-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)
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)