kai/samba.git
26 years agoadd error string reporting to clitar
Andrew Tridgell [Fri, 26 Sep 1997 09:06:51 +0000 (09:06 +0000)]
add error string reporting to clitar
(This used to be commit 2c5587a6fe425b1cc57cf28e92e77ba84f08ce33)

26 years agoAdded missing slow share mode offset defines. Somehow
Jeremy Allison [Thu, 25 Sep 1997 17:36:21 +0000 (17:36 +0000)]
Added missing slow share mode offset defines. Somehow
they got lost.
Jeremy (jallison@whistle.com).
(This used to be commit ce9cdc2f6175e4a6195f8875360cd945ae60052c)

26 years agoMakefile: Removed earlier errors.
Jeremy Allison [Thu, 25 Sep 1997 00:25:44 +0000 (00:25 +0000)]
Makefile: Removed earlier errors.
includes.h: Added INADDR_LOOPBACK define.
locking.c: More code to support oplocks.
proto.h: Updated.
server.c: More code to support oplocks. Moved processing of an SMB out of
process() into a separate function so it is easier to call from an oplock
break.
smb.h: Added oplock fields.
Jeremy (jallison@whistle.com)
(This used to be commit f46dbaf08eb8e06a7545d2c19dce9e2dda9dcc78)

26 years agoCheckin to sync up oplock development code so that NT
Jeremy Allison [Tue, 23 Sep 1997 19:19:06 +0000 (19:19 +0000)]
Checkin to sync up oplock development code so that NT
domain development code won't diverge.

Makefile: Fixed make proto (again). Added GLIBC2 fixes for Linux.
includes.h: Added GLIBC2 fixes for Linux.
proto.h: Much tidier.
quotas.c: OSF/1 quota fix.
reply.c: Fix from Ray Frush <frush@engr.colostate.edu> for zero NT timestamps.
server.c util.c: First oplock checkin - nowhere near finished so bracketed
with #ifdef USE_OPLOCKS. Done to make sync with NT domain code easier.
Jeremy (jallison@whistle.com)
(This used to be commit 7dce7d84473beb5663b14a8ab32781970819c19d)

26 years agoadded code from Philip A Prindeville <philipp@enteka.com> which expands
Luke Leighton [Tue, 23 Sep 1997 16:09:12 +0000 (16:09 +0000)]
added code from Philip A Prindeville <philipp@enteka.com> which expands
the interfaces option to this:

"interfaces = le0 le1" or "interfaces = all".

it uses SIOCGIFxxxx ioctl calls.
(This used to be commit 39071415ba6f8a00e2909e443261d0059fe27e82)

26 years agosmbclient.1: Added documentation of the username%password environment code.
Jeremy Allison [Fri, 19 Sep 1997 17:40:11 +0000 (17:40 +0000)]
smbclient.1: Added documentation of the username%password environment code.
smb.conf.5: Added 'username level' docs.
Jeremy (jallison@whistle.com)
(This used to be commit b588615b201fda404c09637b344e9823443ce396)

26 years agoMakefile: Changed proto: target to not include c files not used currently.
Jeremy Allison [Fri, 19 Sep 1997 17:12:08 +0000 (17:12 +0000)]
Makefile: Changed proto: target to not include c files not used currently.
          Caused proto.h to be from a sorted list of C files.
arcfour.h: Added prototypes.
client.c: Added username%password in environment patch from John Blair <jdblair@frodo.tucc.uab.edu>
loadparm.c: Added username manipulation code from Peter McCool [SMTP:peter@qimr.edu.au]
username.c: Added username manipulation code from Peter McCool [SMTP:peter@qimr.edu.au]
mkproto.awk: Added arc4_key type.
proto.h: Updated & sorted.
Jeremy (jallison@whistle.com)
(This used to be commit 97ed4fea67095dfb83227e7b5fffc236ff277e02)

26 years agoAnother South American consultant.
Jeremy Allison [Fri, 19 Sep 1997 00:36:01 +0000 (00:36 +0000)]
Another South American consultant.
(This used to be commit eeb0e883536954adb090269a520a913b1676d59c)

26 years agoAdded arcfour code needed for SMB password changing.
Jeremy Allison [Thu, 18 Sep 1997 19:56:57 +0000 (19:56 +0000)]
Added arcfour code needed for SMB password changing.
Jeremy (jallison@whistle.com)
(This used to be commit 8bc3d13b3d66fc533d5bc6abf3fc9d5c67d0f286)

26 years agoadded timestamp to "Denied connection" message.
Luke Leighton [Thu, 18 Sep 1997 12:47:55 +0000 (12:47 +0000)]
added timestamp to "Denied connection" message.
(This used to be commit f28b14a86c22c3bad187ca57f03e13da795d4136)

26 years agoadded some debug stuff
Andrew Tridgell [Thu, 18 Sep 1997 07:05:43 +0000 (07:05 +0000)]
added some debug stuff
(This used to be commit 95184fd1ecdf5eea9c42d748db848210b7e863d3)

26 years agoJohn asked the other day about using the tar feature in smbclient to
Andrew Tridgell [Thu, 18 Sep 1997 06:52:49 +0000 (06:52 +0000)]
John asked the other day about using the tar feature in smbclient to
handle file paths longer than 100 characters (the limit of the normal
tar format).

This patch adds support for producing GNU tar files (which have no
real limit on the path length) in smbclient.

Note that I have only added support for producing GNU tar files, I
haven't added support for accepting them when restoring. I thought I'd
leave that up to John :-)
(This used to be commit d5daf85162e844c9e953cc4dfbb3f1d800747130)

26 years agoJHT ===> More hacks!
John Terpstra [Wed, 17 Sep 1997 14:54:35 +0000 (14:54 +0000)]
JHT ===> More hacks!
(This used to be commit 0b859fdfac07322f021dbb74791914e22f6b9884)

26 years agoJHT ===> Changed behaviour of logon script processing so that all macros
John Terpstra [Wed, 17 Sep 1997 13:53:59 +0000 (13:53 +0000)]
JHT ===> Changed behaviour of logon script processing so that all macros
         can be used in the logon script parameter definition in the smb.conf
         Globals section. This fixes a problem reported by Jacco de Leeuw
         where OS/2 does not see the %u variable. Jacco suggested using %U
         but we really do want the user for the netlogon share session.
         If this does not do the trick - well we eat our hat! Yeh!
(This used to be commit a7716b2e70606e447094509116455ea53fe8bf64)

26 years agoAdded documentation for the 'delete veto files' parameter.
Jeremy Allison [Wed, 17 Sep 1997 01:33:33 +0000 (01:33 +0000)]
Added documentation for the 'delete veto files' parameter.
Jeremy (jallison@whistle.com)
(This used to be commit c6e736283ec7558f8d5108c141e346cf0cc5742a)

26 years agoAdded 'delete veto files' paremeter. Ugly - but the only
Jeremy Allison [Wed, 17 Sep 1997 01:29:53 +0000 (01:29 +0000)]
Added 'delete veto files' paremeter. Ugly - but the only
way to allow Samba client users to delete directories
containing Mac metafile information (.AppleDouble directories).

Needed for clean integration with netatalk.

Jeremy (jallison@whistle.com)
(This used to be commit 29c6c037dc62e44784e9d127d1e7ef3dd1506733)

26 years agoFixing assumtions that malloced memory is zero filled - making
Jeremy Allison [Tue, 16 Sep 1997 17:40:17 +0000 (17:40 +0000)]
Fixing assumtions that malloced memory is zero filled - making
sure it is.
Jeremy (jallison@whistle.com)
(This used to be commit 59ee0d0c7ea166a3bf58ceb4c939217d6ff74498)

26 years agochange the encryption instructions to reflect the fact that the code
Andrew Tridgell [Tue, 16 Sep 1997 08:31:01 +0000 (08:31 +0000)]
change the encryption instructions to reflect the fact that the code
is now built in
(This used to be commit 82cfa6bb7cd5e5c7ad327787fb4cc72204118335)

26 years agoadd a cast
Andrew Tridgell [Tue, 16 Sep 1997 08:26:33 +0000 (08:26 +0000)]
add a cast
(This used to be commit e712c6ed61abeae5ec2acf99f109ad81e7a19978)

26 years ago- change generate_challenge() to use md4 instead of des
Andrew Tridgell [Tue, 16 Sep 1997 04:41:16 +0000 (04:41 +0000)]
- change generate_challenge() to use md4 instead of des

- move routines about a bit between smbencrypt.c and smbdes.c. Ensure
that there is no entry point for normal DES operation

- add the following comment:

   This code is NOT a complete DES implementation. It implements only
   the minimum necessary for SMB authentication, as used by all SMB
   products (including every copy of Microsoft Windows95 ever sold)

   In particular, it can only do a unchained forward DES pass. This
   means it is not possible to use this code for encryption/decryption
   of data, instead it is only useful as a "hash" algorithm.

   There is no entry point into this code that allows normal DES operation.

   I believe this means that this code does not come under ITAR
   regulations but this is NOT a legal opinion. If you are concerned
   about the applicability of ITAR regulations to this code then you
   should confirm it for yourself (and maybe let me know if you come
   up with a different answer to the one above)
(This used to be commit 35b92e725f351c9a9f2846a6b55f71c234f187c7)

26 years agobug fix in the new des code.
Andrew Tridgell [Tue, 16 Sep 1997 03:53:54 +0000 (03:53 +0000)]
bug fix in the new des code.

I had one of the sbox[] constants wrong, which interestingly gave a
20% chance of the whole algorithm failing.
(This used to be commit 9a42f88a0963d006e8bf091775a3f55f6c6b4f77)

26 years ago2 more consultants.
Jeremy Allison [Mon, 15 Sep 1997 20:01:35 +0000 (20:01 +0000)]
2 more consultants.
(This used to be commit e9f460ef0da6ca72a0b61d1b15115ffb0cb4bb42)

26 years agounbecome_domain_master and unbecome_logon_master were announcing
Luke Leighton [Mon, 15 Sep 1997 12:13:16 +0000 (12:13 +0000)]
unbecome_domain_master and unbecome_logon_master were announcing
as "dead".  removed this.
(This used to be commit d1f298cd529188c0cddb18e3a1bf8abb093b3c3b)

26 years ago- if the user already exists then ignore the -add command
Andrew Tridgell [Mon, 15 Sep 1997 06:36:55 +0000 (06:36 +0000)]
- if the user already exists then ignore the -add command

- change the way the smbpasswd file is auto-created if it doesn't
exist. It didn't work under IRIX for some unknown reason

The smbpasswd.c code is really a bit of a mess. We should probably
rewrite it sometime.
(This used to be commit 6e3697ad1218264c85c6c1f4b1521960e21e2a67)

26 years ago- change a lot of occurances of errno to use strerror(errno). We can't
Andrew Tridgell [Mon, 15 Sep 1997 05:43:37 +0000 (05:43 +0000)]
- change a lot of occurances of errno to use strerror(errno). We can't
assume all our users are programmers :-)

- automatically create the smbpasswd file if it doesn't exist when
running smbpasswd.
(This used to be commit 1d2361bd2dec35bce029699f54c6a61fa739fa4b)

26 years agorewrote md4.c from scratch. This implementation should be portable and
Andrew Tridgell [Mon, 15 Sep 1997 02:49:38 +0000 (02:49 +0000)]
rewrote md4.c from scratch. This implementation should be portable and
doesn't have any worries about RSA copyright.
(This used to be commit a1569971663f01c245c145b18290d9dba965dc36)

26 years agono longer needed
Andrew Tridgell [Mon, 15 Sep 1997 02:47:59 +0000 (02:47 +0000)]
no longer needed
(This used to be commit b04bc7f75e90a8150f7372d15f4f17fb0bb50ab9)

26 years agoThis commit does 3 main things:
Andrew Tridgell [Sun, 14 Sep 1997 16:37:18 +0000 (16:37 +0000)]
This commit does 3 main things:

1) put the encryption code in by default, with no #ifdef. It is still
disabled by default so you need to add "encrypt passwords = yes" in
smb.conf but at least all binaries will have it.

2) cleanup the kanji code so it compiles with no warnings

3) get rid of lots of uses of ugly non-portable C code. The main
offender being things like "register" but also remove uses of the
"const" keyword as there are compilers out there that don't support it
and even those that do often complain about its usage. Users don't
like warnings :-(

There is still some work to do. We need to replace the md4 code with
our own implementation. The current code (from rfc1186) is PD but is
not very portable. The new RFC (rfc1320) is more portable but adds
copyright restrictions. I'll do a from-scratch MD4 soon.

We also need to test that what I've implemented is portable. It should
be, but I'm too tired right now to test it on anything other than
intel linux.
(This used to be commit db917c62c14315afe6f0745a8097c1bca25cbf07)

26 years agoThis is a written from scratch DES implementation. I couldn't find a
Andrew Tridgell [Sun, 14 Sep 1997 16:19:49 +0000 (16:19 +0000)]
This is a written from scratch DES implementation. I couldn't find a
GPLd implementation so I decided to write one.

This version only does DES ecb encryption and isn't very general, so
it may in fact be exempt from ITAR regulations. ITAR regulations do
not prohibit the distribution of code that can be used for
authentication purposes only. This code has no decrypt function so it
would be useless for a normal encryption application and thus may be
ITAR exempt.

It is also very slow, but we don't need it to be fast. It is a literal
implementation from the standard and treats each bit as one byte to
make the code easy to write.
(This used to be commit c2bc073a878179dd56db97c66dc957d42fe0b81b)

26 years agoAdded fix that means if connecting user sends guest account
Jeremy Allison [Fri, 12 Sep 1997 16:29:36 +0000 (16:29 +0000)]
Added fix that means if connecting user sends guest account
with no password they are seen as guest. Previous patch
broke this.

Jeremy (jallison@whistle.com)
(This used to be commit 9a55c49626f65627b26417795891260bb2afcc27)

26 years agocharcnv.c client.c clitar.c kanji.c kanji.h loadparm.c
Jeremy Allison [Thu, 11 Sep 1997 20:17:32 +0000 (20:17 +0000)]
charcnv.c client.c clitar.c kanji.c kanji.h loadparm.c
mangle.c smb.h util.c:

  Big merge to allow KANJI support to be in the main
binary without explicitly compiling with it.

locking.c: Fix for smbstatus not being able to read files.
namepacket.c: Removed unneccesary debug statement.
trans2.c: Added Luke's proposed fix (ifdefed out until further testing).
nmblookup.c: Fixed bug where query fails and status is done on bogus IP.

Jeremy (jallison@whistle.com)
(This used to be commit 9196255022ae8c51b527412747b324819bea2c13)

26 years agofix a couple of "declaration shadows previous local" warnings.
Andrew Tridgell [Thu, 11 Sep 1997 02:30:00 +0000 (02:30 +0000)]
fix a couple of "declaration shadows previous local" warnings.
(This used to be commit c30f6a74d0e6c256b1d46b28c1f31f1c1f3dd856)

26 years agoprototype updates for new functions
Andrew Tridgell [Thu, 11 Sep 1997 02:19:35 +0000 (02:19 +0000)]
prototype updates for new functions
(This used to be commit dbf662436031759b205f0140223da6a1d08c16df)

26 years agoadd the stdout parameter to lp_dump()
Andrew Tridgell [Thu, 11 Sep 1997 02:19:23 +0000 (02:19 +0000)]
add the stdout parameter to lp_dump()
(This used to be commit 77f5bc87058dfb5c1b14e7cd8c6097a6bcb2c0cc)

26 years agosome minor modifications to loadparm.c to support the necessary
Andrew Tridgell [Thu, 11 Sep 1997 02:19:04 +0000 (02:19 +0000)]
some minor modifications to loadparm.c to support the necessary
functions for wsmbconf. In particular added some more support routines
(like lp_rename_service()) and make the dump routines take a FILE
pointer rather than assuming stdout
(This used to be commit 6d165016068f6c4e9eed8fae83a9f7ca0b34f85a)

26 years agocgi.c is a simple set of CGI manipulation routines
Andrew Tridgell [Thu, 11 Sep 1997 02:17:16 +0000 (02:17 +0000)]
cgi.c is a simple set of CGI manipulation routines

wsmbconf.c is a rudimentary web based smb.conf editor. Its really
there just to demonstrate how such an editor can hook into loadparm.c,
I don't expect anyone to actually use it as is.

wsmbstatus.c is a simple web based smbstatus. Its probably broken.
(This used to be commit ced5205f72ba58d677f3cfa480fddc58ec9faa27)

26 years agoAdded one more consultant.
Jeremy Allison [Wed, 10 Sep 1997 22:36:50 +0000 (22:36 +0000)]
Added one more consultant.
(This used to be commit 594720c7f310cc6b2783d7601954687ba5e1c6df)

26 years agoupdated bit on kill -HUP to make it clear what effect this has, and its
Luke Leighton [Tue, 9 Sep 1997 13:06:55 +0000 (13:06 +0000)]
updated bit on kill -HUP to make it clear what effect this has, and its
limitations.
(This used to be commit 50a990b9d6d9e3de46298c5fbf2a81709760f85e)

26 years agosamba servers forcing local elections if they are not a local master.
Luke Leighton [Sun, 7 Sep 1997 17:26:26 +0000 (17:26 +0000)]
samba servers forcing local elections if they are not a local 
added check for "preferred master" to ensure not forcing an election.
(This used to be commit f8afd4c4c131a75ce685016e84205082aadbdb78)

26 years agoJHT ===> Just setting version to 1.9.18alpha1
John Terpstra [Fri, 5 Sep 1997 22:18:16 +0000 (22:18 +0000)]
JHT ===> Just setting version to 1.9.18alpha1
(This used to be commit e462cf2f1b498ba9eb00d3d2f9c299e7624a62fd)

26 years agoclient.c: Made sure myhostname was initialised before substitutions.
Jeremy Allison [Fri, 5 Sep 1997 21:32:32 +0000 (21:32 +0000)]
client.c: Made sure myhostname was initialised before substitutions.
status.c: Made sure myhostname was initialised before substitutions.
server.c
trans2.c: Moved OS/2 WPS fix.
Jeremy (jallison@whistle.com)
(This used to be commit 8a12b6a4f0feec712f5c4e02e21198c455b060ae)

26 years agoOne more consultant.
Jeremy Allison [Fri, 5 Sep 1997 19:54:51 +0000 (19:54 +0000)]
One more consultant.
(This used to be commit e7dba8a8c795f6aaa87d5e76dea6f36b63dc7dd7)

26 years agoadded debug reporting to file listing / mod_time() checking routine.
Luke Leighton [Fri, 5 Sep 1997 17:16:21 +0000 (17:16 +0000)]
added debug reporting to file listing / mod_time() checking routine.
lp_file_list_changed().
(This used to be commit 727fcfae1b62bb509f0a9f5304dad363ef38345a)

26 years agoThis is really Herb adding the SGI packaging files.
Jeremy Allison [Fri, 5 Sep 1997 02:28:41 +0000 (02:28 +0000)]
This is really Herb adding the SGI packaging files.
(This used to be commit 8fde65239d0a9462fb044670220cd3c63bd887cb)

26 years agoFix from Frank Varnavas <varnavas@ny.ubs.com>.
Jeremy Allison [Thu, 4 Sep 1997 21:23:27 +0000 (21:23 +0000)]
Fix from Frank Varnavas <varnavas@ny.ubs.com>.
We cannot use the same name as the client to
the NT password server, as NT will drop client
connections if the same client name connects
twice. Instead, synthesize a name from our pid.
and the remote machine name.
Jeremy (jallison@whistle.com)
(This used to be commit ebf9487a9a68c4d786449490627ee919622e6dbf)

26 years agoFixed up determination of client type for PROTOCOL_NT1. Uses client
Jeremy Allison [Thu, 4 Sep 1997 20:26:07 +0000 (20:26 +0000)]
Fixed up determination of client type for PROTOCOL_NT1. Uses client
capabilities bits in session_setup_and_X to decide. Made remote_arch
an enum as well as a string, for easier use.
Jeremy (jallison@whistle.com)
(This used to be commit 99080705a2d0adcb25e1eecbe517a2fac2779baa)

26 years agonameannounce.c
Jeremy Allison [Wed, 3 Sep 1997 20:15:40 +0000 (20:15 +0000)]
nameannounce.c
nameresp.c
nameserv.c
nameservreply.c
proto.h : Removed broadcast and recurse parameters in the
queue_netbios_pkt_wins() call - they are not needed as they
should always be 'false' and 'true' respectively.
Also fixed a bug with secure name registration (WINS
server code).
server.c: Finally fixed problem with error 267 being
returned to Win95. It is needed by NT. This is a horrid
fix and I would appreciate a better one :-).

Jeremy (jallison@whistle.com)
(This used to be commit fa1305d1894a28331ba80d9de038ebf31ba902d6)

26 years agoOne more consultant....
Jeremy Allison [Wed, 3 Sep 1997 01:52:35 +0000 (01:52 +0000)]
One more consultant....
(This used to be commit 56e8e890eca736e43f26a72c32547dbfa73e5247)

26 years agoreply.c: Removed unused variables. Caught by gcc -Wall -Werror
Jeremy Allison [Tue, 2 Sep 1997 22:21:38 +0000 (22:21 +0000)]
reply.c: Removed unused variables. Caught by gcc -Wall -Werror
server.c: Fix for old DOS clients not understanding ERRbaddirectory - map to ERRbadpath.
util.c: Fix for systems with no LOG_DAEMON facility.
Jeremy (jallison@whistle.com)
(This used to be commit dadb1ffb4ca5222c0b62d785cd714d65cae328e8)

26 years agouse of recursion_available and recursion_desired flag in netbios responses.
Luke Leighton [Mon, 1 Sep 1997 18:34:00 +0000 (18:34 +0000)]
use of recursion_available and recursion_desired flag in netbios responses.
(This used to be commit 8235db6b4fbeced750c4c30edc84a61a35b39278)

26 years agoadded word count 3 support into reply_tcon_and_X (see cifs6.txt). the
Luke Leighton [Sun, 31 Aug 1997 14:14:22 +0000 (14:14 +0000)]
added word count 3 support into reply_tcon_and_X (see cifs6.txt).  the
only thing i couldn't do was get the chaining word count to point to
the end of the smb reply, for the next and_X (not that there is one).
(This used to be commit 54f11999d2113f2e88144ed63e23dd82b32e14a6)

26 years agofixed a bug in the printjob encoding/decoding. We weren't doing it for
Andrew Tridgell [Sun, 31 Aug 1997 02:18:59 +0000 (02:18 +0000)]
fixed a bug in the printjob encoding/decoding. We weren't doing it for
the print_ functions in reply.c, with the effect that you couldn't
cancel print jobs from smbclient or from older dos clients.

we now use a couple of utility functions printjob_encode() and
printjob_decode() rather than sticking the bitops inline in each
place.

also fixed a bunch of places that used foo%0xFF rather than foo&0xFF

Note that this isn't really me doing the commit, it can't be as I'm
working on my thesis ...
(This used to be commit 3556763be3acbf01c967ee9717943dd44163fb9f)

26 years agoMakefile: New program and support for dynamic codepage loading.
Jeremy Allison [Sat, 30 Aug 1997 01:30:25 +0000 (01:30 +0000)]
Makefile:  New program and support for dynamic codepage loading.
charset.c: Dynamic codepage loading code.
charset.h: Defines for file format.
proto.h:   Updated.
Jeremy (jallison@whistle.com)
(This used to be commit 550e98f2d49a101654b3abde278a7f7edf347ed8)

26 years agoAdding codepage definition files and codepage file compiler/decompiler.
Jeremy Allison [Sat, 30 Aug 1997 01:13:39 +0000 (01:13 +0000)]
Adding codepage definition files and codepage file compiler/decompiler.
Adding install/uninstall scripts for compiled codepage files.
Preparing for dynamic codepage loading.
Jeremy (jallison@whistle.com)
(This used to be commit e3fc9533bd87d0d520e3dac98261e42370907b11)

26 years agoOops. Reversed mangled map change made in error. Testing
Jeremy Allison [Thu, 28 Aug 1997 22:54:41 +0000 (22:54 +0000)]
Oops. Reversed mangled map change made in error. Testing
found this one. Jeremy (jallison@whistle.com)
(This used to be commit adf98469fc3f0969676bd454cfd143f8ef03ce48)

26 years agoincludes.h: Make sure REPLACE_GETPASS are wrapped with #ifdefs.
Jeremy Allison [Thu, 28 Aug 1997 20:59:51 +0000 (20:59 +0000)]
includes.h: Make sure REPLACE_GETPASS are wrapped with #ifdefs.
nmbsync.c: Make sure REPLACE_GETPASS is defined before including includes.h
clientutil.c: Catch null passwords.
Fixes for a nmbd crash bug found by Herb Lewis @ SGI.
Jermey(jallison@whistle.com)
(This used to be commit 45c266baaea8755f1a3c0c4c7a87eb0752848ca2)

26 years agomangle.c: Fixed bug that caused string to run off the end of the mangled map.
Jeremy Allison [Thu, 28 Aug 1997 18:59:52 +0000 (18:59 +0000)]
mangle.c: Fixed bug that caused string to run off the end of the mangled map.
server.c: Changed comparison from dname to name2 - seems correct - don't know why
          I changed it originally. hmmmmm.
trans2.c: Made lanman2 code more similar to scan_directory(). I should
          make the trans2 code call scan_dir as they are so similar.
Jeremy(jallison@whistle.com).
(This used to be commit 3909576849025ed21e5282abc892ae7582ee0275)

26 years agoadded a new type to mkproto.awk so it can handle shmem.c
Andrew Tridgell [Thu, 28 Aug 1997 02:22:44 +0000 (02:22 +0000)]
added a new type to mkproto.awk so it can handle shmem.c

in general if you add a new type that is returned by a non-static
function then just add it to the list of known types in mkproto.awk
(This used to be commit 1d4ce07435f3d6dac41a2616a044bcd441dbaced)

26 years agocharset.c: Added patch for client code page 852 (Eastern European) from
Samba Release Account [Wed, 27 Aug 1997 20:20:58 +0000 (20:20 +0000)]
charset.c: Added patch for client code page 852 (Eastern European) from
           Leos Bitto <bitto@altec.cz>.
clitar.c:
proto.h: Fixed proto mismatch for strslashcmp().
Jermey (jallison@netcom.com)
(This used to be commit c7a4647b7a84641f5fed6b67d45c241fff19c2b3)

26 years agoPut back the smb_shm_ proto's that Luke keeps breaking !
Samba Release Account [Wed, 27 Aug 1997 19:53:03 +0000 (19:53 +0000)]
Put back the smb_shm_ proto's that Luke keeps breaking !
Jeremy (jallison@whistle.com)
(This used to be commit 660a3ef70c36e6675c8cc63b97e9d251428f9b40)

26 years agodoing that irritating compiler clash warning with the protos for standard_sub
Samba Release Account [Wed, 27 Aug 1997 19:27:25 +0000 (19:27 +0000)]
doing that irritating compiler clash warning with the protos for standard_sub
and standard_sub_basic.  again.

lkcl
(This used to be commit b60ef755cf594ee9751660467709ea4f7a669a2c)

26 years agocorrected it's (it is) documentation errors, when "its" should be
Samba Release Account [Tue, 26 Aug 1997 15:36:46 +0000 (15:36 +0000)]
corrected it's (it is) documentation errors, when "its" should be
being used.

lkcl
(This used to be commit 7cd640e5b1a6bbe13834fe23a23ef03117024f0e)

26 years agoadded info about _not_ using \\SAMBA_SERVER\HOMES\profile - must use
Samba Release Account [Tue, 26 Aug 1997 15:35:43 +0000 (15:35 +0000)]
added info about _not_ using \\SAMBA_SERVER\HOMES\profile - must use
\\SAMBA_SERVER\%U\profile for the profile path.  documented default
profile path changing to \\%L\%U\profile, so that w95 and NT can use
the same profile directory: you cannot use \\%L\%U for NT profiles.

lkcl
(This used to be commit 588039b6dfd1397532ef8969fb5f2bb3aafbddde)

26 years agoChanged ftp site and docs info in README (this file contains out-of-date
Samba Release Account [Tue, 26 Aug 1997 14:46:52 +0000 (14:46 +0000)]
Changed ftp site and docs info in README (this file contains out-of-date
FAQ info and should be scrapped.)

Changed "qaility control" in the Roadmap :-)
(This used to be commit 28833abf18c5612f274e2199f2072631df771e40)

26 years agoMore sites for the non-UNIX ports, plus ftp.gwdg.de
Samba Release Account [Tue, 26 Aug 1997 13:31:54 +0000 (13:31 +0000)]
More sites for the non-UNIX ports, plus ftp.gwdg.de
(This used to be commit 09c6438bb66ff61eaebc08d578281f432e81e5d5)

26 years agoAdvice about firewalls (step 1) and tcp wrappers (step 8). Dan
Samba Release Account [Tue, 26 Aug 1997 07:56:00 +0000 (07:56 +0000)]
Advice about firewalls (step 1) and tcp wrappers (step 8). Dan
(This used to be commit e470dd55612558ae6f308c0a871e3c01e7dea4f7)

26 years agoThis file has been moved to MIRRORS.txt
Samba Release Account [Tue, 26 Aug 1997 03:07:19 +0000 (03:07 +0000)]
This file has been moved to MIRRORS.txt
(This used to be commit 462d10370ad08d3f3c9a12a8122db1cb7f640430)

26 years agoAdded new MIRRORS.txt file at Dan's request
Samba Release Account [Tue, 26 Aug 1997 03:03:56 +0000 (03:03 +0000)]
Added new MIRRORS.txt file at Dan's request
This is really an updated version of the original 'MIRRORS' file.
(This used to be commit 29a48b8ed5cf9a0511d6d7f8fa7323e6aa7292bf)

26 years agoSpelling, refs to faqs, version numbersing. Dan.
Samba Release Account [Tue, 26 Aug 1997 01:59:58 +0000 (01:59 +0000)]
Spelling, refs to faqs, version numbersing. Dan.
(This used to be commit effd8b81c4cbb03720d63686e56b80af6828a037)

26 years agopreparing for release of 1.9.17
Samba Release Account [Tue, 26 Aug 1997 01:55:56 +0000 (01:55 +0000)]
preparing for release of 1.9.17
(This used to be commit d84c84641b14ad264c33fc37aa9a1abdf3e04254)

26 years agoUpdated for 1.9.17 release.
Samba Release Account [Tue, 26 Aug 1997 01:51:27 +0000 (01:51 +0000)]
Updated for 1.9.17 release.
Jeremy (jallison@whistle.com)
(This used to be commit f8316c1c159b44f1737ad976a562feb0dd1b0368)

26 years agoAdded draft cversions of the new Samba doco. Dan.
Samba Release Account [Tue, 26 Aug 1997 01:43:28 +0000 (01:43 +0000)]
Added draft cversions of the new Samba doco. Dan.
(This used to be commit b5983092a6e63118564c6d1460b522ea8ef02c3a)

26 years agoFrom Jacco, unchanged. Destined for Samba-Client-FAQ. Dan
Samba Release Account [Tue, 26 Aug 1997 01:32:35 +0000 (01:32 +0000)]
From Jacco, unchanged. Destined for Samba-Client-FAQ. Dan
(This used to be commit c8bf8dfb93f7558a9974d79b7c3949849bff1b08)

26 years agoJHT ===> Documentation header updates only - inserting/mod Updates date.
John Terpstra [Tue, 26 Aug 1997 01:31:45 +0000 (01:31 +0000)]
JHT ===> Documentation header updates only - inserting/mod Updates date.
(This used to be commit 17a13828fd7a3284543eb319566da6c246808e6d)

26 years agoWay out of date. Dan
Samba Release Account [Tue, 26 Aug 1997 01:31:32 +0000 (01:31 +0000)]
Way out of date. Dan
(This used to be commit dc395e3515a4ef90af9e602be2bc0a6ce25627f6)

26 years agosmb.h: Added error code used for OS2 WPS.
Samba Release Account [Tue, 26 Aug 1997 01:28:27 +0000 (01:28 +0000)]
smb.h: Added error code used for OS2 WPS.
trans2.c: Added OS2 WPS fix - but ifdefed out for now. Will turn on
after 1.9.17 release.
Jeremy (jallison@whistle.com)
(This used to be commit 9d5d347686ca1c8a25088b882dcc5065b6d9c564)

26 years agoRemoved samba team email address - replaced with samba bugs.
Samba Release Account [Tue, 26 Aug 1997 01:08:49 +0000 (01:08 +0000)]
Removed samba team email address - replaced with samba bugs.
Jeremy (jallison@whistle.com)
(This used to be commit 320a739161dee082c53b59106df90e760bc41c0e)

26 years agoMinor mods to DOMAIN.txt. In DOMAIN_CONTROL.txt made it clear that a PDC is
Samba Release Account [Tue, 26 Aug 1997 00:50:33 +0000 (00:50 +0000)]
Minor mods to DOMAIN.txt. In DOMAIN_CONTROL.txt made it clear that a PDC is
just one (major:) vendor's idea of domain authentication. Added refs to
pwdump where it talks about the SAM. Dan
(This used to be commit 2681ae0efbdb250854b56e75b2655ef367a5d733)

26 years agoMore mods to DOMAIN.txt, preparing for meta-FAQ itegration. Dan
Samba Release Account [Mon, 25 Aug 1997 23:28:18 +0000 (23:28 +0000)]
More mods to DOMAIN.txt, preparing for meta-FAQ itegration. Dan
(This used to be commit b9581f31412f73ce37e2bdcbf462d3d146cfc320)

26 years agocharset.c : Add mapping for code page 932 (KANJI).
Samba Release Account [Mon, 25 Aug 1997 22:18:31 +0000 (22:18 +0000)]
charset.c : Add mapping for code page 932 (KANJI).
client.c : Fix crash bug. Add code to use BUFFER_SIZE for NetServerEnum calls.
namepacket.c: Fixed cast.
nmbsync.c : Add code to use BUFFER_SIZE for NetServerEnum calls.
smb.h : Set default client code page to 932 for KANJI.
system.c : Remove vendor specific code that crept in :-).
util.c : Added #define to allow Samba to behave as Win95 when doing
         KANJI case insensitivity tests.

Jeremy (jallison@whistle.com)
(This used to be commit 7f7d2faa07b81ad435b2acc9318bc39d813020c6)

26 years ago- clarified dan s's clarifications of the difference between domains and
Samba Release Account [Mon, 25 Aug 1997 12:15:41 +0000 (12:15 +0000)]
- clarified dan s's clarifications of the difference between domains and
  workgroups (domains are a superset of workgroups: workgroups have no
  concept of security at all)

- updated comments about profiles from conversations with john t, and from
  samba digest input.  this includes the need for encrypted passwords when
  supporting NT workstation, and enlisting the assistance of an NT server
  to tell workstations that their profile is on a samba server.

lkcl
(This used to be commit b279f612372fec97ac5b4620a848954d815703f1)

26 years agoChanged DOMAIN.txt to try to explain terms like domain, workgroup,
Samba Release Account [Mon, 25 Aug 1997 08:56:07 +0000 (08:56 +0000)]
Changed DOMAIN.txt to try to explain terms like domain, workgroup,
authentication. NT SAM is only one case of many kinds of distributed
authorisation database. Domain logons, RAP etc should all work perfectly
from NT workstations to Samba servers no matter what username/passwd
database lies underneath (once the protocols have been implemented, of
course.... :-)
(This used to be commit 9dfdd47bb56b2a5418908f8fc4bd9f3e80df858c)

26 years agoRenamed from INSTALL.txt. Preparing for new docs structure.
Samba Release Account [Mon, 25 Aug 1997 07:35:18 +0000 (07:35 +0000)]
Renamed from INSTALL.txt. Preparing for new docs structure.

Dan
(This used to be commit 98729b09094bf20678a849efe02de64696f48bc8)

26 years agoUpdated Manifest and DOMAIN.txt to refer to <your OS>_INSTALL.txt and
Samba Release Account [Mon, 25 Aug 1997 03:21:13 +0000 (03:21 +0000)]
Updated Manifest and DOMAIN.txt to refer to <your OS>_INSTALL.txt and
describe the nascent new documentation project. Renamed INSTALL.txt to
UNIX_INSTALL.txt.

Dan
(This used to be commit fe12c2746771f17a8b317d3e12c47646281617b6)

26 years agofix some more references to samba-bugs@anu.edu.au which should be
Samba Release Account [Fri, 22 Aug 1997 05:03:57 +0000 (05:03 +0000)]
fix some more references to samba-bugs@anu.edu.au which should be
samba-bugs@samba.anu.edu.au

tridge
(This used to be commit 81760c5719b7afe71ee3942aa1e80d8d4e22bdba)

26 years agofix several references to samba-bugs@anu.edu.au which should be samba-bugs@samba...
Samba Release Account [Fri, 22 Aug 1997 04:38:02 +0000 (04:38 +0000)]
fix several references to samba-bugs@anu.edu.au which should be samba-bugs@samba.anu.edu.au
(This used to be commit 19bae63e28bddcb605c95035ae15e1ff5d8f57db)

26 years agoRemoved the obsolete comment from the 'strip dot'
Samba Release Account [Thu, 21 Aug 1997 23:14:34 +0000 (23:14 +0000)]
Removed the obsolete comment from the 'strip dot'
option. It isn't :-).

Jeremy (jallison@whistle.com)
(This used to be commit bbf76eeb40ec22d4787d1f1206a3c559b36fe636)

26 years agoJHT ===> Added comment about internationaliasation and deleted dates.
John Terpstra [Thu, 21 Aug 1997 21:45:25 +0000 (21:45 +0000)]
JHT ===> Added comment about internationaliasation and deleted dates.
(This used to be commit 75a5e2d84cf1b5eef2d5122d8164fd3325fb1a7d)

26 years agoKanji fixes for upper/lower case conversion with sjis characters.
Samba Release Account [Thu, 21 Aug 1997 20:03:45 +0000 (20:03 +0000)]
Kanji fixes for upper/lower case conversion with sjis characters.
Code from Takashi Fujita <fujita@ainix.isac.co.jp>.
Jeremy (jallison@whistle.com)
(This used to be commit 07f7e378c4839d0ca4bb79c8755481f4bf5637de)

26 years agoJHT ===> Just to complete Tim Small's add-ins.
John Terpstra [Thu, 21 Aug 1997 11:28:08 +0000 (11:28 +0000)]
JHT ===> Just to complete Tim Small's add-ins.
(This used to be commit 1f81a0a80bfbe147af0c29ca1093b255185e80a4)

26 years agoJHT ===> Added a patch from Tim Small (UK)
John Terpstra [Thu, 21 Aug 1997 10:51:14 +0000 (10:51 +0000)]
JHT ===> Added a patch from Tim Small (UK)
(This used to be commit a2ba15e2dec92c06eb51284e2a3071ef37850434)

26 years agoJHT ===> The title says it all!
John Terpstra [Thu, 21 Aug 1997 10:28:49 +0000 (10:28 +0000)]
JHT ===> The title says it all!
(This used to be commit 13ecc422b0b175c94dadb36a4586945ae83b563a)

26 years agoJHT ===> More documentation for those who can't find the docs directory.
John Terpstra [Thu, 21 Aug 1997 10:10:20 +0000 (10:10 +0000)]
JHT ===> More documentation for those who can't find the docs directory.
(This used to be commit 9d3729b54847700ad48af1aba9d01ccbb3025ca2)

26 years agoChanges to allow Samba to return the same error code as Windows NT.
Samba Release Account [Wed, 20 Aug 1997 20:32:23 +0000 (20:32 +0000)]
Changes to allow Samba to return the same error code as Windows NT.
Takes care of the cases where a Windows program is parsing a pathname
component by component and expects 2 different errors.
ERRbadpath - if a component in the path doesn't exist.
ERRbaddirectory - if a component in the path exists but is not a directory.
Extra error code added to smb.h to support this.
Code based on suggestions from "Christian Groessler" <chris@fast-ag.de>.

Jeremy (jallison@whistle.com)
(This used to be commit 28b3c6db8a81b41b448a4f3cd98e9cd2c4b5fb2e)

26 years agoFix suggested by "Christian Groessler" <chris@fast-ag.de>
Samba Release Account [Wed, 20 Aug 1997 01:22:05 +0000 (01:22 +0000)]
Fix suggested by "Christian Groessler" <chris@fast-ag.de>
dir.c: Cause dptr_create to return -2 when failing on unix error.
reply.c: Use UNIXERROR in more cases.
server.c: Add ENOTDIR mapping to error table.
trans2.c: Correctly determine UNIX error on dptr_create.
Jeremy (jallison@whistle.com)
(This used to be commit de38a0b34fcd65fa3024300f978aa30eb86d854f)

26 years agoSupport.txt: Added two more consultants.
Samba Release Account [Wed, 20 Aug 1997 01:09:57 +0000 (01:09 +0000)]
Support.txt: Added two more consultants.
smbtar.1: Mentioned it is meant for GNU tar.
Jeremy (jallison@whistle.com)
(This used to be commit 9d7e75bdf568239af53d7162c2b207ea06ed4070)

26 years agoJHT ===> Added instructions for Windows 95 encrypted password change.
John Terpstra [Tue, 19 Aug 1997 23:11:41 +0000 (23:11 +0000)]
JHT ===> Added instructions for Windows 95 encrypted password change.
(This used to be commit 422e55092f01505ba616ff9e03e36592bb66866b)

26 years agoJHT ===> Tidying up for public consumption.
John Terpstra [Tue, 19 Aug 1997 22:15:39 +0000 (22:15 +0000)]
JHT ===> Tidying up for public consumption.
(This used to be commit d6cecaac33ef86d2f44c6fbdcd0b752a12c6c4cd)

26 years agoMakefile: Changed for HPUX10 tidyup.
Samba Release Account [Tue, 19 Aug 1997 19:22:26 +0000 (19:22 +0000)]
Makefile: Changed for HPUX10 tidyup.
includes.h: Changed for HPUX10 tidyup.
ipc.c: Fixed bug where getting local server list from NT browsers would
            fail.
nmbsync.c: Fixed bug where getting local server list from NT browsers would
            fail.
proto.h: Changed for crash bug on SCO with USE_MMAP.
quotas.c: Added OSF quotas (patch from Bret Giddings <bret@essex.ac.uk>).
            Rolled back solaris uid change - I think it was wrong.
reply.c: Changed for crash bug on SCO with USE_MMAP.
server.c: Removed Lukes changes. Changed for crash bug on SCO with USE_MMAP.
smb.h: Changed for crash bug on SCO with USE_MMAP.
smbpasswd.c:Fixed crash bug with Lukes changes.
uid.c: Removed Lukes changes.
util.c: Fixed I18N bug with extended char filenames and widelinks = no.
Jeremy (jallison@whistle.com)
(This used to be commit bf1c79f7fd7f9beec4f9f4e58337cadceeb1cb38)

26 years agoJHT ===> Update only.
John Terpstra [Tue, 19 Aug 1997 13:48:04 +0000 (13:48 +0000)]
JHT ===> Update only.
(This used to be commit 3ede2a2b8caf8b44bf78f9b4307515dbf36b4ecc)