cvs2svn Import User [Thu, 19 Feb 1998 04:46:17 +0000 (04:46 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-1-9-18p3'.
Samba Release Account [Thu, 19 Feb 1998 04:46:16 +0000 (04:46 +0000)]
preparing for release of 1.9.18p3
Samba Release Account [Thu, 19 Feb 1998 04:35:21 +0000 (04:35 +0000)]
Updated date to 18th for second try at p3 release (now John
has the rpm packaging stuff in place). I will now re-tag
the tree.
Jeremy.
John Terpstra [Thu, 19 Feb 1998 00:02:26 +0000 (00:02 +0000)]
*** empty log message ***
Samba Release Account [Wed, 18 Feb 1998 10:55:24 +0000 (10:55 +0000)]
preparing for release of 1.9.18p3
Jeremy Allison [Wed, 18 Feb 1998 10:47:20 +0000 (10:47 +0000)]
Changed basename -> base_name to get around -Wshadow warning on RedHat 5.x.
Jeremy.
Jeremy Allison [Wed, 18 Feb 1998 10:12:58 +0000 (10:12 +0000)]
Preparing for 1.9.18p3.
Jeremy.
Jeremy Allison [Wed, 18 Feb 1998 09:42:39 +0000 (09:42 +0000)]
Fix to implement %p substitution from jkf@soton.ac.uk.
It also makes automount code tidier.
Jeremy.
Jeremy Allison [Sat, 14 Feb 1998 14:29:07 +0000 (14:29 +0000)]
Fix to make us compile cleanly with gcc 2.8.
Jeremy.
Jeremy Allison [Sat, 14 Feb 1998 07:13:58 +0000 (07:13 +0000)]
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.
Jeremy Allison [Fri, 13 Feb 1998 12:42:05 +0000 (12:42 +0000)]
Fix for crash bug with amanda - from "Michael C. Povel" <Michael.Povel@hub.de>.
Jeremy.
Jeremy Allison [Fri, 13 Feb 1998 07:32:42 +0000 (07:32 +0000)]
Removed "win95 bug compatibility" - added "dos filetime resolution".
Jeremy.
Jeremy Allison [Fri, 13 Feb 1998 07:21:05 +0000 (07:21 +0000)]
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.
Andrew Tridgell [Thu, 12 Feb 1998 15:06:23 +0000 (15:06 +0000)]
apply logfile name fixes to 1.9.18 as well
Jeremy Allison [Thu, 12 Feb 1998 12:05:21 +0000 (12:05 +0000)]
client.c: Fixed pq command (patch from
"James J. Szinger" <james.szinger@yale.edu>
Jeremy.
Jeremy Allison [Thu, 12 Feb 1998 08:05:23 +0000 (08:05 +0000)]
Updating to sync with main branch.
Jeremy.
Jeremy Allison [Thu, 12 Feb 1998 06:49:56 +0000 (06:49 +0000)]
Sync up with head branch.
chgpasswd.c: Fixed typo in error message.
includes.h: AIX update.
kanji.c: Fix from ado@elsie.nci.nih.gov (Arthur David Olson) to reverse cap->sj correctly.
loadparm.c: Added "networkstation user login" and "win95 bug compatibility" parameters.
local.h: networkstationuserlogon fix.
password.c: Fix for DCE from Brett Wooldridge <brettw@austin.ibm.com>, networkstationuserlogon fix.
printing.c: Support for LPQ_PAUSED on aix.
reply.c: Fix for ulogoff closing too many files.
Added get_access_time().
server.c: Fix for ulogoff closing too many files.
Added get_access_time().
Fix for NT redirector bug.
Fix to close oplocked file when run out of open file handles.
Ask for 10 more fd's than before.
smb.h: Fix for ulogoff closing too many files.
time.c: Added get_access_time().
trans2.c: Added "win95 bug compatibility" fix.
uid.c: Fix for ulogoff closing too many files.
util.c: Extra debug message. Added capability to parse environment variables from Branko Cibej <branko.cibej@hermes.si>.
Jeremy.
Herb Lewis [Wed, 11 Feb 1998 11:39:52 +0000 (11:39 +0000)]
removed old unused test
John Terpstra [Tue, 3 Feb 1998 23:44:27 +0000 (23:44 +0000)]
Added Consultant - Newcastle - UK
Jeremy Allison [Fri, 30 Jan 1998 06:29:13 +0000 (06:29 +0000)]
Added Swiss consultant.
Jeremy Allison [Fri, 30 Jan 1998 05:31:07 +0000 (05:31 +0000)]
chgpasswd.c: Fixed char -> unsigned char issues.
nmbd_mynames.c: Stop sending more than one refresh message to a WINS server that
is not replying.
nmbd_responserecordsdb.c: Utility funtion to help the above.
nmbd_winsserver.c: Fix for multi-homed name registration that is already
present.
Jeremy.
Herb Lewis [Fri, 30 Jan 1998 05:22:33 +0000 (05:22 +0000)]
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
Jeremy Allison [Thu, 29 Jan 1998 07:41:18 +0000 (07:41 +0000)]
Makefile: Fix typo in OSF1 line.
includes.h: Added include to get inet_ntoa definition in AIX section.
Jeremy
Jeremy Allison [Wed, 28 Jan 1998 13:15:53 +0000 (13:15 +0000)]
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.
Herb Lewis [Wed, 28 Jan 1998 11:46:03 +0000 (11:46 +0000)]
get rid of reference to removed file
Jeremy Allison [Wed, 28 Jan 1998 08:38:58 +0000 (08:38 +0000)]
Noted removed option (shared file entries) and updated shared memory option
(shared mem size).
Jeremy.
Jeremy Allison [Wed, 28 Jan 1998 08:29:14 +0000 (08:29 +0000)]
Make shared memory size 1024* MAX_OPEN_FILES.
Tuning needed for ClearCase.
Jeremy.
Samba Release Account [Tue, 27 Jan 1998 07:48:34 +0000 (07:48 +0000)]
preparing for release of 1.9.18p2
Jeremy Allison [Tue, 27 Jan 1998 06:58:12 +0000 (06:58 +0000)]
WHATSNEW.txt: Added more bugfix lines.
Jeremy.
Jeremy Allison [Tue, 27 Jan 1998 06:55:38 +0000 (06:55 +0000)]
asyncdns.c: Fixed shutdown bug where nmbd would hang.
nmbd_winsserver.c: Allow spaces in WINS names.
Jeremy.
Volker Lendecke [Mon, 26 Jan 1998 04:50:16 +0000 (04:50 +0000)]
*** empty log message ***
John Terpstra [Mon, 26 Jan 1998 00:46:23 +0000 (00:46 +0000)]
Updating all files in preparation for release of 1.9.18p2.
These changes bring Package production facilities for Red Hat Linux
4.2 and 5.0 into line.
All changes recently made to the Red Hat Linux smb.conf file now reflected
in the master smb.conf.default file.
Support change of a phone number only.
WHATSNEW updated to reflect change to smb.conf.default file.
Andrew Tridgell [Sun, 25 Jan 1998 15:44:34 +0000 (15:44 +0000)]
added to 1.9.18 as well
------
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!
Jeremy Allison [Sat, 24 Jan 1998 13:15:29 +0000 (13:15 +0000)]
Updated Manifest for 1.9.18.
Updated Roadmap for 1.9.18.
Updated WHATSNEW.txt for 1.9.18p2.
Kept Support.txt up do date.
Jeremy.
Jeremy Allison [Sat, 24 Jan 1998 12:43:53 +0000 (12:43 +0000)]
Added memory leak fix from Branko Cibej <branko.cibej@hermes.si>, plus
an extre debug message - both in free_service().
Jeremy.
Jeremy Allison [Sat, 24 Jan 1998 09:28:00 +0000 (09:28 +0000)]
Added the minimum time from a stat structure for create
time.
Jeremy.
Jeremy Allison [Fri, 23 Jan 1998 13:52:45 +0000 (13:52 +0000)]
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.
Jeremy Allison [Fri, 23 Jan 1998 08:30:30 +0000 (08:30 +0000)]
All: Copyright updates - THIS WILL BE ROLLED BACK to 1997 if Andrew requests !
charcnv.c: Russian language updates.
chgpasswd.c: Fixed change password from NT.
ipc.c: Warning fixes, fixed change password from NT.
nmbd.c: Allowed compile with MEM_MAN and SIGUSR1.
nmbd_browsesync.c: Fix for source nbt type.
nmbd_packets.c: Fix for source nbt type.
print_svid.c: lp output processing fix.
printing.c: lprng fix.
reply.c, server.c, util.c : oplock deadlock bugfix.
smbdes.c: Fixed change password from NT.
smbpass.c: Fixed change password from NT.
make_printerdef.c: Fixed warning messages from gcc with assignment in if.
This is the merge of what is in the main branch
to the 1.9.18 branch to get ready for 1.9.18p2.
Note that if Andrew requests we will roll back
the (C) changes.
Jeremy.
Herb Lewis [Fri, 23 Jan 1998 07:52:02 +0000 (07:52 +0000)]
updated to work correctly with some HP printer inf files
Herb Lewis [Fri, 23 Jan 1998 07:39:42 +0000 (07:39 +0000)]
minor fixes to documentation
Jeremy Allison [Thu, 22 Jan 1998 07:34:46 +0000 (07:34 +0000)]
Added Romanian consultant.
Jeremy
Volker Lendecke [Thu, 22 Jan 1998 03:33:42 +0000 (03:33 +0000)]
*** empty log message ***
Herb Lewis [Wed, 21 Jan 1998 09:48:28 +0000 (09:48 +0000)]
fixed a few typos in the instructions and added a longer explaination for
how the printers.def entry is constructed.
Herb Lewis [Wed, 21 Jan 1998 09:20:20 +0000 (09:20 +0000)]
fix bug with using inf files from HP for DesignJet 750C (C3195A)
Jeremy Allison [Sat, 17 Jan 1998 11:45:05 +0000 (11:45 +0000)]
Added Italian consulting firm.
Jeremy.
Jeremy Allison [Fri, 16 Jan 1998 06:39:49 +0000 (06:39 +0000)]
Makefile:
charset.c:
includes.h:
make_smbcodepage.c:
codepage_def.866: Added new codepage 866.
clientutil.c: Fixed compile bug in rarely #defined code.
pcap.c: Fixed lpstat output bug.
print_svid.c: Fix warnings.
Jeremy.
cvs2svn Import User [Fri, 16 Jan 1998 06:31:02 +0000 (06:31 +0000)]
This commit was manufactured by cvs2svn to create branch
'BRANCH_1_9_18'.
Jeremy Allison [Fri, 16 Jan 1998 06:31:01 +0000 (06:31 +0000)]
Adding new codepage file.
Jeremy.
Jeremy Allison [Fri, 16 Jan 1998 06:29:38 +0000 (06:29 +0000)]
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.
Jeremy Allison [Thu, 15 Jan 1998 05:27:35 +0000 (05:27 +0000)]
server.c: Added fix to stop security=share from using vuid.
Jeremy
Jeremy Allison [Thu, 15 Jan 1998 04:57:54 +0000 (04:57 +0000)]
reply.c: Added timestamp to attack warning.
server.c: Fixed security=share problem where the vuid was still being
looked at.
Jeremy.
Herb Lewis [Wed, 14 Jan 1998 07:22:54 +0000 (07:22 +0000)]
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
Herb Lewis [Wed, 14 Jan 1998 07:17:37 +0000 (07:17 +0000)]
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
Luke Leighton [Wed, 14 Jan 1998 06:15:10 +0000 (06:15 +0000)]
file srv_lsa_hnd.c was initially added on branch BRANCH_NTDOM.
Herb Lewis [Wed, 14 Jan 1998 02:47:36 +0000 (02:47 +0000)]
left out a piece of my last fix for inst package version number
Herb Lewis [Wed, 14 Jan 1998 02:46:01 +0000 (02:46 +0000)]
left out a piece of my last fix for inst package version number
Samba Release Account [Tue, 13 Jan 1998 05:47:32 +0000 (05:47 +0000)]
preparing for release of 1.9.18p1
Jeremy Allison [Tue, 13 Jan 1998 05:45:26 +0000 (05:45 +0000)]
Updated for 1.9.18p1 release.
Jeremy.
Jeremy Allison [Tue, 13 Jan 1998 05:39:25 +0000 (05:39 +0000)]
Added timestring() to overflow attack so people can see when it happens.
Jeremy.
Herb Lewis [Tue, 13 Jan 1998 05:08:54 +0000 (05:08 +0000)]
fix bug in search string
Herb Lewis [Tue, 13 Jan 1998 05:08:08 +0000 (05:08 +0000)]
fix bug in search string
Samba Release Account [Mon, 12 Jan 1998 08:06:34 +0000 (08:06 +0000)]
Updated bugfix notes for 1.9.18p1.
Jeremy.
Andrew Tridgell [Mon, 12 Jan 1998 00:33:21 +0000 (00:33 +0000)]
these are johns PAM changes from the main branch - they need to be in
1.9.18 as well
Andrew Tridgell [Mon, 12 Jan 1998 00:32:27 +0000 (00:32 +0000)]
propogate my cgi changes to the main branch
Andrew Tridgell [Mon, 12 Jan 1998 00:27:52 +0000 (00:27 +0000)]
(applying fix to 1.9.18)
this is a proper fix for the find_free_file/oplock bug. Files[]
elements are now marked reserved while the open is taking place and
find_free_file() does not allow a reserved file to be opened
The reservation is removed if the open fails or in close_file()
Andrew Tridgell [Mon, 12 Jan 1998 00:20:10 +0000 (00:20 +0000)]
*** empty log message ***
Andrew Tridgell [Mon, 12 Jan 1998 00:01:18 +0000 (00:01 +0000)]
(applying fix to 1.9.18 as well)
I've now found the real oplock bug (the nasty one that I'm sure has
been pestering us for a long time)
The problem is that find_free_file() doesn't reserve the file. This
means that during a recursive oplock break in an open you can get two
files opened with the same fnum (yikes!). The 2nd open wipes out the
oplock info in the Files[] structure (among other things) which
totally screws the oplock breaks.
This fix that I am applying now is a "quick fix". It will fail if the
Files[] table is full and maybe under other conditions. It isn't
really a fix at all, but it will "fix" the problem under most
conditions and will also speed things up a little so I'm applying it
anyway.
I'll see if I can do a proper fix soon.
Andrew Tridgell [Sun, 11 Jan 1998 23:59:11 +0000 (23:59 +0000)]
*** empty log message ***
Andrew Tridgell [Sun, 11 Jan 1998 23:30:32 +0000 (23:30 +0000)]
(fixed in 1.9.18 as well)
fixed an oplock bug. inbuf and outbuf must not be declared static as
otherwise they can become corrupt during a recursive oplock
break. logs from PR#3005 show that we are indeed getting recursive
oplock breaks (yuck!)
I'm not totally sure that this is the only oplock bug left as I don't
quite see how it fully explains the logs. We'll know when he tries the
patch.
Andrew Tridgell [Sun, 11 Jan 1998 23:28:39 +0000 (23:28 +0000)]
*** empty log message ***
Andrew Tridgell [Sun, 11 Jan 1998 15:19:50 +0000 (15:19 +0000)]
fix up the CGI headers when run as a cgi script
John Terpstra [Sat, 10 Jan 1998 11:42:29 +0000 (11:42 +0000)]
Following discussions with Cristian Gafton (Red Hat) we have decided to make
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
Jeremy Allison [Sat, 10 Jan 1998 08:11:42 +0000 (08:11 +0000)]
ipc.c: Fixed problem where we were not returning 'buffer too small'
when NT sends up a mdrcnt of zero.
Jeremy.
Jeremy Allison [Sat, 10 Jan 1998 08:11:15 +0000 (08:11 +0000)]
ipc.c: Fixed problem where we were not returning 'buffer too small'
when NT sends up a mdrcnt of zero.
Jeremy.
Jeremy Allison [Fri, 9 Jan 1998 05:33:27 +0000 (05:33 +0000)]
docs/Support.txt: Removed consultant.
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.
Jeremy Allison [Fri, 9 Jan 1998 05:30:39 +0000 (05:30 +0000)]
docs/Support.txt : Remove consultant who doesn't want to be there.
source/nmbd_become_lmb.c: Fixed problem with userdata alignment.
source/nmbd_browsesync.c: Fixed problem with userdata alignment.
source/nmbd_incomingdgrams.c: Fixed problem with userdata alignment.
source/mem_man/mem_man.c:
source/mem_man/mem_man.h: Added smb_ as prefix to stop namespace collisions.
Jeremy.
Herb Lewis [Fri, 9 Jan 1998 04:12:35 +0000 (04:12 +0000)]
add packaging file fixes from main branch
Herb Lewis [Thu, 8 Jan 1998 16:34:09 +0000 (16:34 +0000)]
fix bug in version numbering scheme
Herb Lewis [Thu, 8 Jan 1998 10:50:18 +0000 (10:50 +0000)]
missing a couple of binary files in the distribution
cvs2svn Import User [Thu, 8 Jan 1998 06:15:49 +0000 (06:15 +0000)]
This commit was manufactured by cvs2svn to create branch
'BRANCH_1_9_18'.
Samba Release Account [Thu, 8 Jan 1998 06:15:48 +0000 (06:15 +0000)]
preparing for release of 1.9.18
Jeremy Allison [Thu, 8 Jan 1998 05:27:30 +0000 (05:27 +0000)]
Final changes - ready for 1.9.18.
Jeremy.
Christopher R. Hertel [Thu, 8 Jan 1998 03:04:55 +0000 (03:04 +0000)]
Fixed an apparent typo:
2551c2551
< #endif /NO_FORK_DEBUG */
---
> #endif /* NO_FORK_DEBUG */
Chris -)-----
Jeremy Allison [Wed, 7 Jan 1998 13:36:06 +0000 (13:36 +0000)]
Updated for 1.9.18 - just need a few more changes & it's done.
Jeremy.
Jeremy Allison [Wed, 7 Jan 1998 08:29:15 +0000 (08:29 +0000)]
Ensure that if we are in share mode security that the smb_uid
field is invalid.
Jeremy.
Jeremy Allison [Wed, 7 Jan 1998 06:21:56 +0000 (06:21 +0000)]
includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.
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.
Jeremy Allison [Wed, 7 Jan 1998 05:34:07 +0000 (05:34 +0000)]
Updated french contact address.
Volker Lendecke [Tue, 6 Jan 1998 00:13:44 +0000 (00:13 +0000)]
Added manpages.
Removed obsolete options from smbmount help message.
Volker
Volker Lendecke [Mon, 5 Jan 1998 22:56:29 +0000 (22:56 +0000)]
the real source code for the smbfs utilities. Forgot to do
cvs add first.
Volker
Volker Lendecke [Mon, 5 Jan 1998 22:54:32 +0000 (22:54 +0000)]
Added 3 commands:
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
John Terpstra [Mon, 5 Jan 1998 13:02:03 +0000 (13:02 +0000)]
Fixed type that referred to regedit.exe instead of regedt32.exe.
Herb Lewis [Sat, 3 Jan 1998 05:26:31 +0000 (05:26 +0000)]
fixed type in list of ignored files
Herb Lewis [Sat, 3 Jan 1998 05:22:35 +0000 (05:22 +0000)]
added description of changes I made
Herb Lewis [Sat, 3 Jan 1998 05:12:10 +0000 (05:12 +0000)]
added printout of file list to stderr so you know what files you need to
copy to your printer$ share
Herb Lewis [Sat, 3 Jan 1998 03:55:52 +0000 (03:55 +0000)]
added commented out sections for supporting automatically providing printer
drivers to Win95 clients.
Herb Lewis [Sat, 3 Jan 1998 03:35:13 +0000 (03:35 +0000)]
added timestrings to become and unbecome domain/local master browser
messages.
Herb Lewis [Fri, 2 Jan 1998 13:33:20 +0000 (13:33 +0000)]
fix printer driver rpc to prevent core dumps.
Herb Lewis [Fri, 2 Jan 1998 04:26:39 +0000 (04:26 +0000)]
fix up perl script so it is a little cleaner and also works with perl 4
Herb Lewis [Thu, 1 Jan 1998 13:55:28 +0000 (13:55 +0000)]
fixes to make_printerdef.c to generate a correct printers.def file
changes to ipc.c to use new printers.def file
Andrew Tridgell [Mon, 29 Dec 1997 18:46:20 +0000 (18:46 +0000)]
avoid the ~ operator in netmask operations as apparently it causes
problems on some systems (eg. freeBSD 2.2.2). I'm surprised by this
but the change looks harmless. Patch from fred@datalync.com