1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

1158 Commits

Author SHA1 Message Date
Jeremy Allison
834ef56244 nmbd_incomingdgrams.c: Fix for typo.
nmbd_sendannounce.c: Remote announcement was announcing to the wrong name !
nmblookup.c: Fix for substitutions not seeing hostname.
testparm.c: Fix for substitutions not seeing hostname.
wsmbstatus.c: Fix for substitutions not seeing hostname.
util.c: Change read_udp_socket to use sockaddr_in rather than dubiously
messing around with an opaque data type (sockaddr).
Jeremy.
(This used to be commit 776ccf5c06)
1998-02-24 17:59:34 +00:00
Jeremy Allison
c16d4aec00 nmbd_packets.c: nmbd_subnetdb.c: Patch from Andrey Alekseyev <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 e58ab3bbe6)
1998-02-20 19:48:01 +00:00
Jeremy Allison
c57e8d404d Fix to make us compile cleanly with gcc 2.8.
Jeremy.
(This used to be commit 0a53568007)
1998-02-14 14:32:36 +00:00
Jeremy Allison
990c84354a Sometime after 1.9.17p5 smbclient stopped being able to do
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 1da47e79d3)
1998-02-14 07:11:46 +00:00
Jeremy Allison
a093e73d94 Fix for crash bug with amanda - from "Michael C. Povel" <Michael.Povel@hub.de>.
Jeremy.
(This used to be commit 735adfa01b)
1998-02-13 12:40:23 +00:00
Jeremy Allison
7123107480 Updated - removed "win95 bug compatibility" and added "dos filetime resolution".
Jeremy.
(This used to be commit 7ca827b6ea)
1998-02-13 07:13:52 +00:00
Jeremy Allison
2beada804a Ding-dong the witch is dead, the witch is dead......
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 10d628e4ae)
1998-02-13 07:11:58 +00:00
Andrew Tridgell
c04291ae99 make the initial logfile names consistent. This should mean that smbd
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 b7712a0a6d)
1998-02-12 14:57:55 +00:00
Jeremy Allison
6d488ae796 Added fix for doing pq command (from "James J. Szinger" <james.szinger@yale.edu>).
Jeremy.
(This used to be commit 7123405d63)
1998-02-12 11:59:55 +00:00
Jeremy Allison
892788c1f8 ENCRYPTION.txt: Fixed typo.
Support.txt: Added consultant.
smb.conf.5: Updated with new parameters.
Jeremy.
(This used to be commit 71c70cf090)
1998-02-12 07:17:07 +00:00
Herb Lewis
3e36ba5ffa removed old unused test
(This used to be commit 88247f23c6)
1998-02-11 11:38:09 +00:00
Andrew Tridgell
749b9da5ba fixed typo
(This used to be commit a083cef78b)
1998-02-11 11:25:04 +00:00
Jeremy Allison
99e11e171e Makefile: Added AIX 3.2.5.
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 adc903bcf5)
1998-02-11 11:07:14 +00:00
Jeremy Allison
5546e28e69 A small raft of changes, I will sync up with 1.9.18 also.
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 a031404623)
1998-02-07 12:15:20 +00:00
John Terpstra
eefff40c67 Added Newcast - UK Consultant to Support.txt
(This used to be commit 3e438c8e7a)
1998-02-03 23:43:37 +00:00
John Terpstra
73647f7bdf Removed Brett Worth from Support.txt as per Bug#3833
(This used to be commit 9afe9d8897)
1998-02-03 23:37:13 +00:00
Jeremy Allison
2bce7ae59d server.c: Added fix where, if all the file entries are being
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 1544d5a0f8)
1998-01-31 14:31:08 +00:00
Herb Lewis
06859b2bc9 fix bug when using lpstat as printcap file - remove space at start of
printer names generated
(This used to be commit 8f48a0571a)
1998-01-30 05:22:45 +00:00
Jeremy Allison
89652787c3 Makefile: Fix for OSF1 typo.
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 fa54668056)
1998-01-29 08:25:46 +00:00
Jeremy Allison
e525e29487 Fix from Charles Hoch (hoch@hpl.hp.com). Whne there is no data
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 f6ee3263da)
1998-01-28 13:11:58 +00:00
Herb Lewis
b5eb6899b4 get rid of reference to removed file
(This used to be commit afafae133f)
1998-01-28 11:45:57 +00:00
Volker Lendecke
168fac65ee *** empty log message ***
(This used to be commit be395f4bce)
1998-01-26 04:53:07 +00:00
Andrew Tridgell
db5e1e646c always align both the parameter and data bytes on a 4 byte boundary in
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 68ad11a735)
1998-01-25 15:36:11 +00:00
Jeremy Allison
40dfc7e6de Added log message so we can tell when free_service is called.
Just in case of problems.
Jeremy.
(This used to be commit ee307df9ad)
1998-01-24 12:34:16 +00:00
Jeremy Allison
0c376c3ee7 Fix for memory leak in loadparm.c - donated by Branko Cibej <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 0bcb00e2ba)
1998-01-24 12:26:17 +00:00
Jeremy Allison
4f650dab6f Added get_create_time() function to time.c.
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 e3d5f6196d)
1998-01-24 08:49:21 +00:00
Jeremy Allison
a215c98602 Changed code that truncates salt after 2 characters so that it becomes
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 91a2b746d3)
1998-01-23 13:52:17 +00:00
Jeremy Allison
46c795da5d Fixed warnings with gcc (assignments inside if statements).
Jeremy.
(This used to be commit 1a9e25d3bc)
1998-01-23 08:35:15 +00:00
Herb Lewis
458a678fd2 changes to correctly use some HP printer inf files
(This used to be commit ab894c3e1d)
1998-01-23 07:59:29 +00:00
Herb Lewis
74ef4793a7 sync with changes to 1.9.18 tree
(This used to be commit 175e85279d)
1998-01-23 07:58:45 +00:00
Jeremy Allison
dc91f3290a Changed phone numbers for BitWizard.
Jeremy.
(This used to be commit 76e467238f)
1998-01-23 05:58:59 +00:00
Jeremy Allison
66c668a6d3 nmbd.c, server.c: Added #ifndef MEM_MAN around code that sets the SIGUSR1
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 43ef7e3cb5)
1998-01-23 05:22:19 +00:00
Jeremy Allison
55f400bd84 This is *not* a big change (although it looks like one).
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 b9c1697723)
1998-01-22 13:27:43 +00:00
Jeremy Allison
118213c059 printing.c: Bug fix for lpng reporting.
server.c: Large fix for oplock deadlock bug.
util.c: Fix for oplock deadlock bug.
Jeremy.
(This used to be commit 4cae830ab3)
1998-01-22 09:25:05 +00:00
Jeremy Allison
a7a312a32d Added Romanian consultant.
Jeremy.
(This used to be commit 722dc838c7)
1998-01-22 07:33:35 +00:00
Volker Lendecke
0b2e57592c *** empty log message ***
(This used to be commit 1e1b0c80f8)
1998-01-22 03:47:48 +00:00
Jeremy Allison
2d1ff641f0 Fixed send_mailslot code where src_type was always being set to zero.
Fix found by Bernhard Laeser <nlaesb@ascom.ch>.
Jeremy.
(This used to be commit 303b5a79c8)
1998-01-21 12:15:07 +00:00
Herb Lewis
82ac976f35 fixed a few typos in the instructions and added a longer explaination for
how the printers.def entry is constructed.
(This used to be commit d9be263e59)
1998-01-21 09:46:04 +00:00
Herb Lewis
12d50e30ec fix problems with using inf files from HP for DesignJet 750C (C3195A)
(This used to be commit 4e258eecf7)
1998-01-21 09:17:51 +00:00
Jeremy Allison
c247cc7187 Fixed bug found by Bernhard Laeser where we are announcing to the wrong
DMB name.
Jeremy.
(This used to be commit 6b3d4620c1)
1998-01-20 04:58:41 +00:00
Jeremy Allison
4b16f162d2 Added italian consultancy.
Jeremy.
(This used to be commit 9e864db970)
1998-01-17 11:42:51 +00:00
Jeremy Allison
1ea8ceac45 charcnv.c: Added codepage 866 support onto the file system. Patch
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 cd9fad92d0)
1998-01-17 07:08:21 +00:00
Jeremy Allison
4f9674d1c8 reply.c:
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 0b0b1fb122)
1998-01-16 08:58:00 +00:00
Jeremy Allison
4abd141672 Adding new codepage file.
Jeremy.
(This used to be commit 91155265db)
1998-01-16 06:31:01 +00:00
Jeremy Allison
fec28f2def Makefile: Added new codepage - 866.
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 6040d7a39e)
1998-01-16 06:29:38 +00:00
Jeremy Allison
7ab9d270fe reply.c: Added timestamp to attack warning.
server.c: Fixed security=share problem where the vuid was still being
looked at.
Jeremy.
(This used to be commit ab8d615fe2)
1998-01-15 04:57:54 +00:00
Herb Lewis
5dd1eb4e32 README describe inst package version number correctly
idb.pl		fix some permission problems with shell scripts
sambalp		new script supplied by Alan Stebbens that can run setuid to
		properly print banner page for known users.
smb.conf 	use new sambalp by default.
psfixes.pl	remove - now handled by sambalp
(This used to be commit 129aab955c)
1998-01-14 07:17:37 +00:00
Luke Leighton
195c36a5d9 file srv_lsa_hnd.c was initially added on branch BRANCH_NTDOM.
(This used to be commit d6354d60a1)
1998-01-14 06:15:10 +00:00
Herb Lewis
28ba0fb270 left out a piece of my last fix for inst package version number
(This used to be commit 66899c27cd)
1998-01-14 02:47:36 +00:00
Herb Lewis
08e00050f1 fix bug in search string
(This used to be commit 04d2773a8e)
1998-01-13 05:08:08 +00:00