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

1165 Commits

Author SHA1 Message Date
John Terpstra
914b162617 Adding example config info for the ISC DHCP Server, An MS Knowledge Base article contributed by an anonymous person, and adding Caldera Inc. printing config notes to Printing.txt. 0001-01-01 00:00:00 +00:00
Jeremy Allison
60f6302b19 Makefile, password.c, includes.h: Added KRB4 patches from Johan Hedin <johanh@fusion.kth.se>
nmbd_packets.c: Patch for aliased interfaces from Daniel Haun <dhaun@ecf2.puc.edu>.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
140fba461b -N option still prompted for password in smbclient -L usage 0001-01-01 00:00:00 +00:00
Jeremy Allison
b813fb22c4 Fix for NT redirector bug where deltree fails if the resume key
indexes are changed between directory scans. This fix does what
NT4.x SP3 does in that it stops using resume keys and returns
zero instead. We now use the filename in findnext to continue
the search in the correct place (as NT does).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1feb54e1ba Code to work around a bug in FTP OnNet software NBT implementation.
They do a broadcast name release for WORKGROUP<0> and WORKGROUP<1e>
names and *don't set the group bit*.

Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
eb71c5edcb Fixed bug reported by Janne.Harju@nmp.nokia.com. When used in broadcast
only mode nmbd was not reporting WORKGROUP<0> and WORKGROUP<1e> names
to a unicast node status query (although it was registering these names
on the network). Also tidied up code in nmbd_mynames.c so that all
known IP addresses are registered in the unicast subnet in this case
rather than just the first, as was previously done.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0f4080d3f0 Fixed bug where second response message was being printed with the
wrong IP address. This confused a lot of people (including me :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
776ccf5c06 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e58ab3bbe6 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0a53568007 Fix to make us compile cleanly with gcc 2.8.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1da47e79d3 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
735adfa01b Fix for crash bug with amanda - from "Michael C. Povel" <Michael.Povel@hub.de>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7ca827b6ea Updated - removed "win95 bug compatibility" and added "dos filetime resolution".
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
10d628e4ae 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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b7712a0a6d 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7123405d63 Added fix for doing pq command (from "James J. Szinger" <james.szinger@yale.edu>).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
71c70cf090 ENCRYPTION.txt: Fixed typo.
Support.txt: Added consultant.
smb.conf.5: Updated with new parameters.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
88247f23c6 removed old unused test 0001-01-01 00:00:00 +00:00
Andrew Tridgell
a083cef78b fixed typo 0001-01-01 00:00:00 +00:00
Jeremy Allison
adc903bcf5 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
a031404623 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.
0001-01-01 00:00:00 +00:00
John Terpstra
3e438c8e7a Added Newcast - UK Consultant to Support.txt 0001-01-01 00:00:00 +00:00
John Terpstra
9afe9d8897 Removed Brett Worth from Support.txt as per Bug#3833 0001-01-01 00:00:00 +00:00
Jeremy Allison
1544d5a0f8 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.
0001-01-01 00:00:00 +00:00
Herb Lewis
8f48a0571a fix bug when using lpstat as printcap file - remove space at start of
printer names generated
0001-01-01 00:00:00 +00:00
Jeremy Allison
fa54668056 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
f6ee3263da 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.
0001-01-01 00:00:00 +00:00
Herb Lewis
afafae133f get rid of reference to removed file 0001-01-01 00:00:00 +00:00
Volker Lendecke
be395f4bce *** empty log message *** 0001-01-01 00:00:00 +00:00
Andrew Tridgell
68ad11a735 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!
0001-01-01 00:00:00 +00:00
Jeremy Allison
ee307df9ad Added log message so we can tell when free_service is called.
Just in case of problems.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0bcb00e2ba 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e3d5f6196d 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
91a2b746d3 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1a9e25d3bc Fixed warnings with gcc (assignments inside if statements).
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
ab894c3e1d changes to correctly use some HP printer inf files 0001-01-01 00:00:00 +00:00
Herb Lewis
175e85279d sync with changes to 1.9.18 tree 0001-01-01 00:00:00 +00:00
Jeremy Allison
76e467238f Changed phone numbers for BitWizard.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
43ef7e3cb5 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b9c1697723 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
4cae830ab3 printing.c: Bug fix for lpng reporting.
server.c: Large fix for oplock deadlock bug.
util.c: Fix for oplock deadlock bug.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
722dc838c7 Added Romanian consultant.
Jeremy.
0001-01-01 00:00:00 +00:00
Volker Lendecke
1e1b0c80f8 *** empty log message *** 0001-01-01 00:00:00 +00:00
Jeremy Allison
303b5a79c8 Fixed send_mailslot code where src_type was always being set to zero.
Fix found by Bernhard Laeser <nlaesb@ascom.ch>.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
d9be263e59 fixed a few typos in the instructions and added a longer explaination for
how the printers.def entry is constructed.
0001-01-01 00:00:00 +00:00
Herb Lewis
4e258eecf7 fix problems with using inf files from HP for DesignJet 750C (C3195A) 0001-01-01 00:00:00 +00:00
Jeremy Allison
6b3d4620c1 Fixed bug found by Bernhard Laeser where we are announcing to the wrong
DMB name.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9e864db970 Added italian consultancy.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
cd9fad92d0 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0b0b1fb122 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.
0001-01-01 00:00:00 +00:00