24 years agofixed a few typos in the instructions and added a longer explaination for
Herb Lewis [Wed, 21 Jan 1998 09:46:04 +0000 (09:46 +0000)]
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 d9be263e598cbb10d2632247a82043aa19840012)

24 years agofix problems with using inf files from HP for DesignJet 750C (C3195A)
Herb Lewis [Wed, 21 Jan 1998 09:17:51 +0000 (09:17 +0000)]
fix problems with using inf files from HP for DesignJet 750C (C3195A)
(This used to be commit 4e258eecf7088d78b285440ca87386987196eaec)

24 years agoFixed bug found by Bernhard Laeser where we are announcing to the wrong
Jeremy Allison [Tue, 20 Jan 1998 04:58:41 +0000 (04:58 +0000)]
Fixed bug found by Bernhard Laeser where we are announcing to the wrong
DMB name.
(This used to be commit 6b3d4620c128fe1f77f579a451eac7f41a83064f)

24 years agoAdded italian consultancy.
Jeremy Allison [Sat, 17 Jan 1998 11:42:51 +0000 (11:42 +0000)]
Added italian consultancy.
(This used to be commit 9e864db97050d35675a2629ad0fb3decbd72de8f)

24 years agocharcnv.c: Added codepage 866 support onto the file system. Patch
Jeremy Allison [Sat, 17 Jan 1998 07:08:21 +0000 (07:08 +0000)]
charcnv.c: Added codepage 866 support onto the file system. Patch
from Max Khon <>.
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).
smbpass.c: Support for the above.
server.c: #ifdef'ed out fix for NT redirector bug.
util.c: Fix NIS bug with server name.
(This used to be commit cd9fad92d0316e5a0007ba3c5668906dc2f011f1)

24 years agoreply.c:
Jeremy Allison [Fri, 16 Jan 1998 08:58:00 +0000 (08:58 +0000)]
server.c: Test fix for NT worstation SMBmv oplock bug.
smbdes.c: Addition of 'forward' parameter in preparation of allowing
password change.
(This used to be commit 0b0b1fb122a52e67a8fdc77d013ad0b3bbb90d19)

24 years agoAdding new codepage file.
Jeremy Allison [Fri, 16 Jan 1998 06:31:01 +0000 (06:31 +0000)]
Adding new codepage file.
(This used to be commit 91155265db1f0916716bf8da10bfda4e11124c55)

24 years agoMakefile: Added new codepage - 866.
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.
(This used to be commit 6040d7a39e5d5ab426905aa79b871df815fb9b62)

24 years agoreply.c: Added timestamp to attack warning.
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.
(This used to be commit ab8d615fe2004c3ca93dd2978ba988ea89d7fd74)

24 years agoREADME describe inst package version number correctly
Herb Lewis [Wed, 14 Jan 1998 07:17:37 +0000 (07:17 +0000)]
README describe inst package version number correctly 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. remove - now handled by sambalp
(This used to be commit 129aab955c069206109461e31f2b0244d8586908)

24 years agofile srv_lsa_hnd.c was initially added on branch BRANCH_NTDOM.
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.
(This used to be commit d6354d60a1f96c0822a6345246d7b1cf52ebd391)

24 years agoleft out a piece of my last fix for inst package version number
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
(This used to be commit 66899c27cd4b475bb7974c4d6de6ecb6764fb6fb)

24 years agofix bug in search string
Herb Lewis [Tue, 13 Jan 1998 05:08:08 +0000 (05:08 +0000)]
fix bug in search string
(This used to be commit 04d2773a8e3b7c7dda33cd89b3042c868a1bb8dd)

24 years agopropogate my cgi changes to the main branch
Andrew Tridgell [Mon, 12 Jan 1998 00:32:27 +0000 (00:32 +0000)]
propogate my cgi changes to the main branch
(This used to be commit 215c97e83ac74757cffb4f64176c80ddb845d65f)

24 years ago*** empty log message ***
Andrew Tridgell [Mon, 12 Jan 1998 00:20:10 +0000 (00:20 +0000)]
*** empty log message ***
(This used to be commit 7b031586ca33a381eb0e27f3557f43c2550df5f8)

24 years ago*** empty log message ***
Andrew Tridgell [Sun, 11 Jan 1998 23:59:11 +0000 (23:59 +0000)]
*** empty log message ***
(This used to be commit 440535a0c755cfb55ced8fe537e2251d6a30714f)

24 years ago*** empty log message ***
Andrew Tridgell [Sun, 11 Jan 1998 23:28:39 +0000 (23:28 +0000)]
*** empty log message ***
(This used to be commit a307b5155594a12ca978190cc9dec52e203e0fd3)

24 years agoFollowing discussions with Cristian Gafton (Red Hat) we have decided to make
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
(This used to be commit 7a1a8042dd005e26e610a16eaaa693f119b874c7)

24 years agoipc.c: Fixed problem where we were not returning 'buffer too small'
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.
(This used to be commit 2a75519b8592948b2f35ecca040bd3f88bf89be5)

24 years agodocs/Support.txt: Removed consultant.
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_incomingdgrams.c: Fixed userdata alignment problems.
source/mem_man/mem_man.h: added smb_ prefix to stop namespace collisions.
(This used to be commit 4c8af3bc9f43b2427609cbeecb7940b1753a9a1c)

24 years agofix bug in version numbering scheme
Herb Lewis [Thu, 8 Jan 1998 16:34:09 +0000 (16:34 +0000)]
fix bug in version numbering scheme
(This used to be commit 2e9f4b5daa74484cbc8c3dc929ab3ae42d663f9f)

24 years agomissing a couple of binary files in the distribution
Herb Lewis [Thu, 8 Jan 1998 10:50:18 +0000 (10:50 +0000)]
missing a couple of binary files in the distribution
(This used to be commit 84e2f7854769190816690f55bfd442e8bedc92fe)

24 years agopreparing for release of 1.9.18
Samba Release Account [Thu, 8 Jan 1998 06:15:48 +0000 (06:15 +0000)]
preparing for release of 1.9.18
(This used to be commit c3f725ad889650147cf5b931ca9f34836daaf942)

24 years agoFinal changes - ready for 1.9.18.
Jeremy Allison [Thu, 8 Jan 1998 05:27:30 +0000 (05:27 +0000)]
Final changes - ready for 1.9.18.
(This used to be commit 5e62a96e504f298b45dae904957029de91b3e3c4)

24 years agoFixed an apparent typo:
Christopher R. Hertel [Thu, 8 Jan 1998 03:04:55 +0000 (03:04 +0000)]
Fixed an apparent typo:
< #endif /NO_FORK_DEBUG */
> #endif /* NO_FORK_DEBUG */
Chris -)-----
(This used to be commit 954fc7e0d01443f4bfc7157f2dcba2187f6700ec)

24 years agoUpdated for 1.9.18 - just need a few more changes & it's done.
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.
(This used to be commit d0ae436de138e84fbbbbd2dc4f5617365d907f4f)

24 years agoEnsure that if we are in share mode security that the smb_uid
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.
(This used to be commit a689ca1ce5c3ffdc753dce329f51a8ede0592f29)

24 years agoincludes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.
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.
(This used to be commit 28aff043c4a3693a0c20e87c7ce11eb4bf285b78)

24 years agoUpdated french contact address.
Jeremy Allison [Wed, 7 Jan 1998 05:34:07 +0000 (05:34 +0000)]
Updated french contact address.
(This used to be commit 800510a852db046bf88a88c966c80d71b474f4ef)

24 years agoAdded manpages.
Volker Lendecke [Tue, 6 Jan 1998 00:13:44 +0000 (00:13 +0000)]
Added manpages.
Removed obsolete options from smbmount help message.
(This used to be commit 2d550d28cd9d3cdb6f72e1f387d9c65dbc1404ad)

24 years agothe real source code for the smbfs utilities. Forgot to do
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.
(This used to be commit 65406a546e15e53fcb0b724d0df3bc56a784edff)

24 years agoAdded 3 commands:
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
(This used to be commit ccbbc4e647ad900b215dae949d5bcd45671c68c8)

24 years agoFixed type that referred to regedit.exe instead of regedt32.exe.
John Terpstra [Mon, 5 Jan 1998 13:02:03 +0000 (13:02 +0000)]
Fixed type that referred to regedit.exe instead of regedt32.exe.
(This used to be commit 6a55305070f7dfd8a615a7f2c6d10c171ff8f0c5)

24 years agofixed type in list of ignored files
Herb Lewis [Sat, 3 Jan 1998 05:26:31 +0000 (05:26 +0000)]
fixed type in list of ignored files
(This used to be commit ae50080b6a09b62fbca0260e07a1bca4cde139ff)

24 years agoadded description of changes I made
Herb Lewis [Sat, 3 Jan 1998 05:22:35 +0000 (05:22 +0000)]
added description of changes I made
(This used to be commit 6b8f8005f2e04665ceefe4ad98587617ff2666d0)

24 years agoadded printout of file list to stderr so you know what files you need to
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
(This used to be commit bdfa5c709986051e78198c68c5a90358fdfa780e)

24 years agoadded commented out sections for supporting automatically providing printer
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.
(This used to be commit e414f4223208dffb464940da90d536add88183db)

24 years agoadded timestrings to become and unbecome domain/local master browser
Herb Lewis [Sat, 3 Jan 1998 03:35:13 +0000 (03:35 +0000)]
added timestrings to become and unbecome domain/local master browser
(This used to be commit 5e7e3d18b51e1eb949bc793d3106a17d8e65a1af)

24 years agofix printer driver rpc to prevent core dumps.
Herb Lewis [Fri, 2 Jan 1998 13:33:20 +0000 (13:33 +0000)]
fix printer driver rpc to prevent core dumps.
(This used to be commit 0c82d139e3eb20a00016df30f33835ab5150ecea)

24 years agofix up perl script so it is a little cleaner and also works with perl 4
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
(This used to be commit 5b724c6551c963454fe4ce27cfc8756e0c76712d)

24 years agofixes to make_printerdef.c to generate a correct printers.def file
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
(This used to be commit 52e275c4ccc1b7f0c2ef8d12d28065898a1c89c9)

24 years agoavoid the ~ operator in netmask operations as apparently it causes
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
(This used to be commit ae8151330deafb7abc5aa604e7c8c0b762e3aa20)

24 years agoa dummy change to shmem_sysv.c to try and break CVS out of a problem
Andrew Tridgell [Mon, 29 Dec 1997 12:34:16 +0000 (12:34 +0000)]
a dummy change to shmem_sysv.c to try and break CVS out of a problem
with the ntdom branch
(This used to be commit 213c3a4ed27cdc689e941b9a6d70e02e8b7dedd4)

24 years agofixed another couple of minor type errors (they could cause incorrect
Andrew Tridgell [Fri, 26 Dec 1997 10:07:05 +0000 (10:07 +0000)]
fixed another couple of minor type errors (they could cause incorrect
output but not a core dump)
(This used to be commit 4dc66214a0cdf16e48cca961914fae37b3762330)

24 years agofixed a couple of illegal uses of scanf() in the nmbd wins code. They
Andrew Tridgell [Fri, 26 Dec 1997 10:01:57 +0000 (10:01 +0000)]
fixed a couple of illegal uses of scanf() in the nmbd wins code. They
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)

24 years agouse _exit to exit a child
Andrew Tridgell [Fri, 26 Dec 1997 09:57:40 +0000 (09:57 +0000)]
use _exit to exit a child
(This used to be commit 992b1cbc143be910d9b8e65afdc82c43d33650a5)

24 years agoThis is actually Jeremy, working as Herb :-).
Herb Lewis [Wed, 24 Dec 1997 15:42:14 +0000 (15:42 +0000)]
This is actually Jeremy, working as Herb :-).
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.
(This used to be commit 64c8111574ff9fa00d5b43b146ae4d6f6bdf0565)

24 years agopreparing for release of 1.9.18alpha14
Samba Release Account [Wed, 24 Dec 1997 10:59:38 +0000 (10:59 +0000)]
preparing for release of 1.9.18alpha14
(This used to be commit d3a238e7ac452690bd35f399357b8795100f60a3)

24 years agoUpdated WHATSNEW.txt for 1.9.18alpha14 release.
Jeremy Allison [Wed, 24 Dec 1997 10:50:43 +0000 (10:50 +0000)]
Updated WHATSNEW.txt for 1.9.18alpha14 release.
Added CVS_ACCESS to tell people how to use cvs
to keep up-to-date.
(This used to be commit 8f721f8c1d758c6f9483145a1b39e9264c8011f4)

24 years agoAdded docs for new signal handling functions.
Jeremy Allison [Wed, 24 Dec 1997 09:33:06 +0000 (09:33 +0000)]
Added docs for new signal handling functions.
(This used to be commit 24fb57e7507338845c2075dbd6d86922b3f028ed)

24 years agoAdded SIGUSR1/SIGUSR2 handling.
Jeremy Allison [Wed, 24 Dec 1997 09:30:56 +0000 (09:30 +0000)]
Added SIGUSR1/SIGUSR2 handling.
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).
(This used to be commit 6a3cb6f4b46129e4d799a24d34cdb9460ed8910f)

24 years agonmbd_elections.c: Added new parameter to dump_workgroups call.
Jeremy Allison [Wed, 24 Dec 1997 08:49:44 +0000 (08:49 +0000)]
nmbd_elections.c: Added new parameter to dump_workgroups call.
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.
(This used to be commit f7591109b968c66012af5e9fe818bba8e6f1cf23)

24 years agoFinally added the code Andrew wanted that will allow a Samba domain
Jeremy Allison [Wed, 24 Dec 1997 07:10:04 +0000 (07:10 +0000)]
Finally added the code Andrew wanted that will allow a Samba domain
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.
(This used to be commit 1a3ab3e84a415a6d0d9b4cafb3f0f6e8cbe3fa69)

24 years agoBugfix from Branko Cibej <>
Jeremy Allison [Wed, 24 Dec 1997 04:32:01 +0000 (04:32 +0000)]
Bugfix from Branko Cibej <>
- client.c had a workaround embedded in it for his
earlier bug in StrnCaseCmp - removed this.
(This used to be commit 7cb4e4b099cef0be3a7440bd5feb8b3d0c3c5f18)

24 years agoBacked out changes that attempted to address a pointer array using -1,0,1.
Christopher R. Hertel [Wed, 24 Dec 1997 02:50:19 +0000 (02:50 +0000)]
Backed out changes that attempted to address a pointer array using -1,0,1.
Jeremy pointed out that there might be problems with this.  Darn shame.
(This used to be commit ce9acc96a6cbc91f0a3f95221c3e8f801cbdb602)

24 years agoFixed nastly little bug where client was sending open_and_X call
Jeremy Allison [Tue, 23 Dec 1997 13:21:36 +0000 (13:21 +0000)]
Fixed nastly little bug where client was sending open_and_X call
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.
(This used to be commit eae921ac632c8297836b85e909903da0602eac0e)

24 years agoFixed security bug when 'force user' and 'user only' are set.
Jeremy Allison [Tue, 23 Dec 1997 11:30:58 +0000 (11:30 +0000)]
Fixed security bug when 'force user' and 'user only' are set.
Reported by Brian McCauley <>.
(This used to be commit 00067800a25d6f5fe11e833a01d5a7a1e76dcc11)

24 years agoFixes to compile under OpenBSD from "Todd T. Fries" <>
Jeremy Allison [Tue, 23 Dec 1997 07:15:59 +0000 (07:15 +0000)]
Fixes to compile under OpenBSD from "Todd T. Fries" <>
(This used to be commit 3c9292505914e2119fa7b1973c9fbbe1742262b2)

24 years agoarchitecture.doc: Re-added since I lost it (sorry Dan :-).
Jeremy Allison [Tue, 23 Dec 1997 06:38:36 +0000 (06:38 +0000)]
architecture.doc: Re-added since I lost it (sorry Dan :-).
nmbd.c nmbd_responserecordsdb.c: Spelling mistake fixes.
(This used to be commit f5dfc8913bcce71f14b59c5ed8415b0f54b58e6c)

24 years agoUpdates for 1.9.18
Dan Shearer [Sun, 21 Dec 1997 00:00:25 +0000 (00:00 +0000)]
Updates for 1.9.18
(This used to be commit 338407732d1473ab3682c6090db297e76d864b94)

24 years agoPut it in the right directory :~)
Dan Shearer [Sat, 20 Dec 1997 23:44:25 +0000 (23:44 +0000)]
Put it in the right directory :~)
(This used to be commit 49694879a0f96b75bb2ca5ec120a5867706afc90)

24 years agoChris' smb.conf parsing doco
Dan Shearer [Sat, 20 Dec 1997 23:40:17 +0000 (23:40 +0000)]
Chris' smb.conf parsing doco
(This used to be commit 3f0ecaceb4adbb1f75c3b84fbd031596c37ec84c)

24 years agoFixed stupid bug in read_smb_len where I was calling itself - now
Jeremy Allison [Sat, 20 Dec 1997 14:52:48 +0000 (14:52 +0000)]
Fixed stupid bug in read_smb_len where I was calling itself - now
calling the correct fn.
(This used to be commit c62aa0a7600269c2bb13b939857716a6ee0f34c1)

24 years agoclient.c:
Jeremy Allison [Sat, 20 Dec 1997 14:36:11 +0000 (14:36 +0000)]
clitar.c: Changed usage of receive_smb to new function client_receive_smb
          except for one use of receive_smb in client.c. This is the
          receive_smb used to discard packets received whilst in a
          keyboard wait state.
util.c: Created new function client_receive_smb that ignores session
        keepalives just as the old receive_smb used to do. Created
        internal function read_smb_length_return_keepalive that is
        used internally by the changed receive_smb call.
        Changed read_smb_len to not use an internal buffer - it is
        never called with a null buffer so such code is redundant.
(This used to be commit 1084fb46821cb96702da35439da4a8df9d255698)

24 years agoloadparm.c: Added fix for veto oplock files bug from Charles Hoch <hoch@hplcgh.hpl...
Jeremy Allison [Sat, 20 Dec 1997 10:52:00 +0000 (10:52 +0000)]
loadparm.c: Added fix for veto oplock files bug from Charles Hoch <>
server.c, util.c: Added fix for oplock break requests blocking due to server being
                  blocked in read call. Bug found by Charles Hoch <>.
(This used to be commit 209f894fdbcfbf7a7952b6228342b86e088a9582)

24 years agoThis may be a waste of time, but I thought if we keep nibbling at this it might
Dan Shearer [Sat, 20 Dec 1997 10:06:07 +0000 (10:06 +0000)]
This may be a waste of time, but I thought if we keep nibbling at this it might
end up being a curent announce for each new release. Then again maybe we should
start from the one Jeremy and I did for 1.9.17. Just doodling really.
(This used to be commit ae9cd0307e9562ca82bb62055df1aeef070c12d1)

24 years agoMinor spelling, wording changes to intro
Dan Shearer [Sat, 20 Dec 1997 09:52:02 +0000 (09:52 +0000)]
Minor spelling, wording changes to intro
(This used to be commit 0cbb60976a59effeda7d554a3962915dcb5f5c79)

24 years agotrans2.c: Forced trans2_findfirst to behave as NT does in error returns.
Jeremy Allison [Sat, 20 Dec 1997 05:25:37 +0000 (05:25 +0000)]
trans2.c: Forced trans2_findfirst to behave as NT does in error returns.
util.c: Applied fix from Branko Cibej <> where
StrnCaseCmp tests one character too many.
(This used to be commit cb771b2667070cff8d6cf86998a11ba2e4977690)

24 years agoAdding the cache module.
Christopher R. Hertel [Fri, 19 Dec 1997 09:32:58 +0000 (09:32 +0000)]
Adding the cache module.
I'll be using the cache module to replace the name cache in mangle.c.  The
new one should be much faster and should require less memory.
Another feature is that the cache size can be limited by the amount of
memory used in addition to the number of entries allowed.  With the
current cache, the default is to allocate 12800 bytes representing 50
entries (256 bytes each).  With the same amount of memory, I should be able
to load over around two hundred entries.
Changes to the AVL trees were minor (missing comments).
Chris -)-----
(This used to be commit 45962779a658b0b78895ae08ad394e870ce6ed10)

24 years agokanji.h: Fixed problems with re-definitions of strchr and others on AIX.
Jeremy Allison [Thu, 18 Dec 1997 11:05:00 +0000 (11:05 +0000)]
kanji.h: Fixed problems with re-definitions of strchr and others on AIX.
nmbd_nameregister.c: Applied fix found by "Eloy A. Paris" <>
(don't re-use lists after you have freed them :-).
(This used to be commit bcfcc39a2752de0fb35b419d005bb1a86fd15fea)

24 years agoMissed terminating {-1,NULL} in an enum parameter list.
Jeremy Allison [Wed, 17 Dec 1997 04:56:55 +0000 (04:56 +0000)]
Missed terminating {-1,NULL} in an enum parameter list.
(This used to be commit 5ea3633445d49da7a71be51e008128b3bbfaef9c)

24 years ago- handle ENOSPC in shmem init.
Andrew Tridgell [Tue, 16 Dec 1997 14:06:09 +0000 (14:06 +0000)]
- handle ENOSPC in shmem init.
- be a little bit more friendly about grabbing semaphores
(This used to be commit 87f88708939a3b72b26716a0d6648c4ea2d14047)

24 years agopreparing for release of 1.9.18alpha13
Samba Release Account [Tue, 16 Dec 1997 12:35:10 +0000 (12:35 +0000)]
preparing for release of 1.9.18alpha13
(This used to be commit 90b8675b88aa01ae912b5c8849ffb406ad976b95)

24 years agoAdded 'missing feature' section for Chris.
Samba Release Account [Tue, 16 Dec 1997 12:26:45 +0000 (12:26 +0000)]
Added 'missing feature' section for Chris.
(This used to be commit a66c7ce2219d136205a7b355144be2c45ab88aba)

24 years agoWHATSNEW.txt - updated for 1.9.18alpha13.
Jeremy Allison [Tue, 16 Dec 1997 12:21:39 +0000 (12:21 +0000)]
WHATSNEW.txt - updated for 1.9.18alpha13.
docs/smb.conf.5: Removed unused NTDOMAIN params. Added new params.
source/loadparm.c: Put #ifdef NTDOMAIN around unused params.
source/nmbd_become_lmb.c: Removed check for workgroup name in lmb name.
(This used to be commit 5136c5ec119968b39e2cf9d7f3e6836d9286a51f)

24 years agoAdded new wins & lm announce options.
Jeremy Allison [Tue, 16 Dec 1997 11:32:24 +0000 (11:32 +0000)]
Added new wins & lm announce options.
(This used to be commit 847506a755fac3f97274a19c8a02a2a22f82ca13)

24 years agoAdded Lanman announce patch from Jacco de Leeuw <>.
Jeremy Allison [Tue, 16 Dec 1997 09:20:34 +0000 (09:20 +0000)]
Added Lanman announce patch from Jacco de Leeuw <>.
Also added code to stop old Samba servers that announce the workgroup
name as master browser name when they are a local master browser.
(This used to be commit 3605da055737e2cc0fbfffe7772721943a5be8bd)

24 years agonmbd_incomingdgrams.c: Fix bug with Syntax 5.1 servers reported by SGI where
Jeremy Allison [Tue, 16 Dec 1997 07:30:25 +0000 (07:30 +0000)]
nmbd_incomingdgrams.c: Fix bug with Syntax 5.1 servers reported by SGI where
they do host announcements to LOCAL_MASTER_BROWSER_NAME<00> rather than
nmbd_incomingrequests.c: Deal with WINS_PROXY_NAME issues - don't reply
with that name if it's the same broadcast net.
nmbd_serverlistdb.c: Stopped writing "Unknown" for local master browsers
we don't know.
nmbd_winsproxy.c: Deal with WINS_PROXY_NAME issues - don't reply
with that name if it's the same broadcast net.
(This used to be commit 5adfff94c9020bd57f84ccbc8fba5b1d8d1615af)

24 years agofix bug in log file specification
Herb Lewis [Tue, 16 Dec 1997 05:15:00 +0000 (05:15 +0000)]
fix bug in log file specification
(This used to be commit 9b77a642bd302b7aea2147d1cbcd61e310ccfd91)

24 years agogive out file handles differently on each new connection because of a
Andrew Tridgell [Sun, 14 Dec 1997 18:45:51 +0000 (18:45 +0000)]
give out file handles differently on each new connection because of a
common bug in MS clients where they try to reuse a file descriptor
from an earlier smb connection. This code increases the chance that
the errant client will get an error rather than causing corruption
(This used to be commit 677d7a5a13728d8207dd2e7092c98d026d2d4f3c)

24 years agoallow name_type 0x20 as well as name_type 0x0 in dns proxying
Andrew Tridgell [Sun, 14 Dec 1997 17:49:41 +0000 (17:49 +0000)]
allow name_type 0x20 as well as name_type 0x0 in dns proxying
(This used to be commit be8a40487c128947cead19a43cf2f983e9543305)

24 years agofix a bug that sometimes prevented smbclient from connecting with
Andrew Tridgell [Sun, 14 Dec 1997 17:48:55 +0000 (17:48 +0000)]
fix a bug that sometimes prevented smbclient from connecting with
protocol < LANMAN1
(This used to be commit 95ad2c284dad9c5042ac113eb7067a10531d34a1)

24 years agoThis is it ! The mega-merge of the JRA_NMBD_REWRITE branch
Jeremy Allison [Sat, 13 Dec 1997 14:16:07 +0000 (14:16 +0000)]
This is it ! The mega-merge of the JRA_NMBD_REWRITE branch
back into the main tree.
For the cvs logs of all the files starting nmbd_*.c, look
in the JRA_NMBD_REWRITE branch. That branch has now been
(This used to be commit d80b0cb645f81d16734929a0b27a91c6650499bb)

24 years agoFixed bug reported by Gert-Jan Vons <>
Jeremy Allison [Fri, 12 Dec 1997 09:10:01 +0000 (09:10 +0000)]
Fixed bug reported by Gert-Jan Vons <>
with doing a dir /s into a unix directory ending in a ':'.
(This used to be commit 273978b7d72955efcc0e0d9e87438b45f51c163d)

24 years agofixed over char 127 problems with isupper/islower.
Jeremy Allison [Thu, 11 Dec 1997 12:25:01 +0000 (12:25 +0000)]
fixed over char 127 problems with isupper/islower.
(This used to be commit 4ac95226fff8e48a0024e2beb78df662fcfeda62)

24 years agoWhile working on a general-purpose caching module (out soon), I thought of
Christopher R. Hertel [Thu, 11 Dec 1997 11:44:18 +0000 (11:44 +0000)]
While working on a general-purpose caching module (out soon), I thought of
a better way to handle the node pointer array used in ubi_BinTree.  The
change simplified the code a bigbunch.  It also forced updates to all of
the binary tree modules.  CRH
(This used to be commit db9898559f1493ade4478196b72663759bb18995)

24 years agokanji.c: Patch from Anders Blomdell <>
Jeremy Allison [Thu, 11 Dec 1997 11:07:09 +0000 (11:07 +0000)]
kanji.c: Patch from Anders Blomdell <>
for problem with kanji sj_strXXX functions.
(This used to be commit bf48151e6ddfa72303be7eac9e156046d4fb5b5e)

25 years agofix typo in directory name
Herb Lewis [Thu, 4 Dec 1997 19:17:02 +0000 (19:17 +0000)]
fix typo in directory name
(This used to be commit 2e73fc0449beabc9658b3fe869e577a868af3c0d)

25 years agoAdded one more USA consultant.
Jeremy Allison [Thu, 4 Dec 1997 18:39:08 +0000 (18:39 +0000)]
Added one more USA consultant.
(This used to be commit 83c2414baf236b68f5c2461d1ecde845ec280b3f)

25 years agocatch signals in the async dns daemon and allow it to auto-restart if
Andrew Tridgell [Thu, 4 Dec 1997 10:58:40 +0000 (10:58 +0000)]
catch signals in the async dns daemon and allow it to auto-restart if
(This used to be commit fa599067f074647a5bad2ffd0fce12ae0a4e43d2)

25 years agoallow for zero size reads in asyncdns. These can happen after a signal
Andrew Tridgell [Thu, 4 Dec 1997 08:10:49 +0000 (08:10 +0000)]
allow for zero size reads in asyncdns. These can happen after a signal
(This used to be commit 8bac91a6e7a3601b093cb64e9cb3bcc1663fb4d4)

25 years agogot rid of the WRAP_MALLOC code - mem_man does it better
Andrew Tridgell [Thu, 4 Dec 1997 07:49:37 +0000 (07:49 +0000)]
got rid of the WRAP_MALLOC code - mem_man does it better
(This used to be commit d9bb3a4eba9c630370fea0fa297b176fd2afb532)

25 years agoadded optonal MEM_MAN code
Andrew Tridgell [Thu, 4 Dec 1997 07:48:06 +0000 (07:48 +0000)]
added optonal MEM_MAN code
(This used to be commit b524c8da5141e3e030e14b3a0167fa5c7ae91396)

25 years agodon't use free and alloc as structure elements
Andrew Tridgell [Thu, 4 Dec 1997 07:41:48 +0000 (07:41 +0000)]
don't use free and alloc as structure elements
(This used to be commit f7066355b00a169423b4f64f58567e19b52abc1b)

25 years agoMakefile.lib does nothing, so remove it
Andrew Tridgell [Wed, 3 Dec 1997 14:17:38 +0000 (14:17 +0000)]
Makefile.lib does nothing, so remove it
(This used to be commit 4800a02a92d9451d3bd51e7b9e366e4e60a3789e)

25 years agoslight cleanup to the linked list handling
Andrew Tridgell [Wed, 3 Dec 1997 05:54:51 +0000 (05:54 +0000)]
slight cleanup to the linked list handling
(This used to be commit 97b62b347648411d034ab91845ae607eca4dfad6)

25 years agoput the default PRINTCAP_NAME def in includes.h not local.h so that
Andrew Tridgell [Wed, 3 Dec 1997 05:22:24 +0000 (05:22 +0000)]
put the default PRINTCAP_NAME def in includes.h not local.h so that
it can see the SYSV definitions
(This used to be commit e439115366804982af6faba75714dbe2626edead)

25 years agoapplied a patch from Norm Jacobs to allow "printcap name = lpstat"
Andrew Tridgell [Wed, 3 Dec 1997 05:08:07 +0000 (05:08 +0000)]
applied a patch from Norm Jacobs to allow "printcap name = lpstat"
to use lpstat to obtain the printer list on systemV systems.

I've now made this the default on all SYSV systems.

Jeremy, you were a little worried about the security of this patch. I
believe it's OK as the user has no control over the options given to
popen() and the pipe is only open for reading.
(This used to be commit 6a83de0ae954bb18d3f15382f2b0b3259fedff09)

25 years agochange the "username map" option to allow the user to stop the
Andrew Tridgell [Wed, 3 Dec 1997 04:20:39 +0000 (04:20 +0000)]
change the "username map" option to allow the user to stop the
processing part way through the file if a match is found. If a line
starts with ! and a match is made by that line then processing
stops. This allows better wildcard handling.

(patch from Anselm.Kruis@Physik.Uni-Muenchen.DE)
(This used to be commit af57bc05fe0f248aaef329358c583abcffe1657c)

25 years agoallow local_machine and remote_machine (%L and %m macros) to contain
Andrew Tridgell [Wed, 3 Dec 1997 03:57:29 +0000 (03:57 +0000)]
allow local_machine and remote_machine (%L and %m macros) to contain
(This used to be commit 93f0619e049d1598db0c3022aeccf33910b0550f)