samba.git
24 years agoFix for -fpic rules (.c.po and .c.po32) when using --enable-maintainer-mode.
Tim Potter [Sat, 24 Oct 1998 06:23:02 +0000 (06:23 +0000)]
Fix for -fpic rules (.c.po and .c.po32) when using --enable-maintainer-mode.

24 years agoUnlink zero length files that did NOT exist at the point of origin on a do_get()...
John Terpstra [Sat, 24 Oct 1998 02:49:09 +0000 (02:49 +0000)]
Unlink zero length files that did NOT exist at the point of origin on a do_get() call.

24 years agoadded domain and local group structures. names may have to be 256 chars
Luke Leighton [Fri, 23 Oct 1998 21:45:16 +0000 (21:45 +0000)]
added domain and local group structures.  names may have to be 256 chars
long not 128 (fstring) length.

24 years agoHandle the case where multiple smbd have the file open, some of whom
Jeremy Allison [Fri, 23 Oct 1998 17:25:14 +0000 (17:25 +0000)]
Handle the case where multiple smbd have the file open, some of whom
don't have the ALLOW_DELETE_ON_CLOSE share flag enabled. Told you
this was fiddly code :-).
Jeremy.

24 years agoset netlogon negotiation flags to 0x1ff, not to what the client requests.
Luke Leighton [Fri, 23 Oct 1998 17:22:21 +0000 (17:22 +0000)]
set netlogon negotiation flags to 0x1ff, not to what the client requests.
this is 0x4000 01ff on NT4 SP4, and 0x0000 01ff on pre-NT4 SP4.

24 years agopossible bug in change oem password code: replaced E_P16 and E_md4hash
Luke Leighton [Fri, 23 Oct 1998 15:21:37 +0000 (15:21 +0000)]
possible bug in change oem password code: replaced E_P16 and E_md4hash
with a call to nt_lm_owf_gen.  if this still doesn't get the NT hash
generated correctly then there may instead be a bug in mod_smbpwd_entry().

24 years agoUpdated paths.
John Terpstra [Fri, 23 Oct 1998 14:21:55 +0000 (14:21 +0000)]
Updated paths.

24 years agoMake the new code conditional on lp_share_modes() just like the code in open_file_sha...
Jeremy Allison [Fri, 23 Oct 1998 03:52:28 +0000 (03:52 +0000)]
Make the new code conditional on lp_share_modes() just like the code in open_file_shared().
Jeremy.

24 years agoFixed debug reporting in the changed code.
Jeremy Allison [Fri, 23 Oct 1998 03:44:57 +0000 (03:44 +0000)]
Fixed debug reporting in the changed code.
Jeremy.

24 years agoFixed bug in previous commit where I was overwriting share_mode from
Jeremy Allison [Fri, 23 Oct 1998 03:41:11 +0000 (03:41 +0000)]
Fixed bug in previous commit where I was overwriting share_mode from
one fsp with that of another. Not good :-).
Jeremy.

24 years agoReasonably large change to give us *exactly* correct NT delete on close semantics.
Jeremy Allison [Fri, 23 Oct 1998 03:34:50 +0000 (03:34 +0000)]
Reasonably large change to give us *exactly* correct NT delete on close semantics.
This was trickier than it looks :-). Check out the new DELETE_ON_CLOSE
flag in the share modes and the new code that iterates through all open
files on the same device and inode in files.c and trans2.c

Also changed the code that modifies share mode entries to take
generic function pointers rather than doing a specific thing so
this sort of change should be easier in the future.

Jeremy.

24 years agodon't enable smbsh/smbwrapper on systems where we can't work out how
Andrew Tridgell [Fri, 23 Oct 1998 01:51:31 +0000 (01:51 +0000)]
don't enable smbsh/smbwrapper on systems where we can't work out how
to generate PIC code

24 years agodon't use SMBW_PWD_ENV any more
Andrew Tridgell [Fri, 23 Oct 1998 01:29:38 +0000 (01:29 +0000)]
don't use SMBW_PWD_ENV any more

24 years agofixed problems with PWD - we no longer use the PWD env variable
Andrew Tridgell [Fri, 23 Oct 1998 01:27:23 +0000 (01:27 +0000)]
fixed problems with PWD - we no longer use the PWD env variable
instead the shared variable area is used.

this fixes problems with /bin/sh under solaris

24 years agomake the shared variable stuff slightly more sophisticated
Andrew Tridgell [Fri, 23 Oct 1998 01:26:46 +0000 (01:26 +0000)]
make the shared variable stuff slightly more sophisticated

24 years agoinclude/smb.h: Added #defines for lots of things - makes our code a *lot* easier...
Jeremy Allison [Fri, 23 Oct 1998 00:58:28 +0000 (00:58 +0000)]
include/smb.h: Added #defines for lots of things - makes our code a *lot* easier to read.
lib/util.c: Fixed Luke's set_first_token() function - should return void.
smbd/close.c: Move delete_on_close into file_fd_struct structure.
smbd/ipc.c: Changed local_machine back to fstring.
smbd/nttrans.c: Use defines for mapping share modes.
smbd/open.c: Move delete_on_close into file_fd_struct structure, added code for ALLOW_SHARE_DELETE.
smbd/reply.c: Use defines for mapping share modes.
smbd/trans2.c: Move delete_on_close into file_fd_struct structure.
Jeremy.

24 years agotorture debug.
Luke Leighton [Thu, 22 Oct 1998 23:05:55 +0000 (23:05 +0000)]
torture debug.

24 years agoenumeration tests (files, sessions, shares, connections).
Luke Leighton [Thu, 22 Oct 1998 22:54:00 +0000 (22:54 +0000)]
enumeration tests (files, sessions, shares, connections).
hey, you can see how many connections succeed while the rpctorture
command is running!

24 years agoOkay, this is really silly but removing one space from one debug statement
Christopher R. Hertel [Thu, 22 Oct 1998 22:51:45 +0000 (22:51 +0000)]
Okay, this is really silly but removing one space from one debug statement
meant that one hex dump would fit within 80 characters in lynx after HTML
conversion.

24 years agorpctorture command
Luke Leighton [Thu, 22 Oct 1998 22:19:08 +0000 (22:19 +0000)]
rpctorture command

24 years agoRemoved previously #ifdef 0 'ed code.
Jeremy Allison [Thu, 22 Oct 1998 19:15:24 +0000 (19:15 +0000)]
Removed previously #ifdef 0 'ed code.
Jeremy.

24 years agoTidied up Support.txt to be up to date with latest consultant
Jeremy Allison [Thu, 22 Oct 1998 19:09:50 +0000 (19:09 +0000)]
Tidied up Support.txt to be up to date with latest consultant
change requests. Start of the big docs update .....

Jeremy.

24 years agoserver/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstring
Jeremy Allison [Thu, 22 Oct 1998 18:51:16 +0000 (18:51 +0000)]
server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstring
                              (as it is everywhere else).
smbwrapper/smbsh.c: For IRIX n32 binaries, set _RLDN32_LIST not _RLD32_LIST.
                    Exec users preferred shell is SHELL environment variable is set.
tests/fcntl_lock.c: Added sys/types.h for systems that need this.
Jeremy.

24 years agobug fix in lsa_trans_names.
Luke Leighton [Thu, 22 Oct 1998 18:15:23 +0000 (18:15 +0000)]
bug fix in lsa_trans_names.

well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does
decimal not hexadecimal oops.

24 years agoMinor change.
Christopher R. Hertel [Thu, 22 Oct 1998 18:07:39 +0000 (18:07 +0000)]
Minor change.

The debug_browse_data() function does a hex dump of a browser packet.  The
last line is often not a full 16 bytes, which would miss-align the hex
output.  I've added the padding needed to align the hex output.

Chris -)-----

24 years agoextern fstring global_myworkgroup should be a pstring
Luke Leighton [Thu, 22 Oct 1998 17:26:44 +0000 (17:26 +0000)]
extern fstring global_myworkgroup should be a pstring

24 years agolibsmb/smbdes.c: #ifdef'ed out code prior to removal.
Jeremy Allison [Thu, 22 Oct 1998 16:55:03 +0000 (16:55 +0000)]
libsmb/smbdes.c: #ifdef'ed out code prior to removal.
rpc_client/cli_pipe.c: Inlined code removed from smbdes.c
rpc_server/srv_samr.c: Fixed unused variable warning.
rpc_server/srv_util.c: Inlined code removed from smbdes.c

Luke - the above changes are the first part of the changes
you and I discussed as being neccessary at the CIFS conference.
*PLEASE REVIEW THESE CHANGES* - make sure I haven't broken
any of the authenticated DCE/RPC code.

smbd/nttrans.c: Fixed to allow NT5.0beta2 to use Samba shares
                with NT SMB support.
smbd/open.c: Fixed mkdir when called from nttrans calls.
smbd/server.c: Set correct size for strcpy of global_myworkgroup.

Jeremy.

24 years agoAnother cosmetic change.
Christopher R. Hertel [Thu, 22 Oct 1998 00:30:41 +0000 (00:30 +0000)]
Another cosmetic change.

When dumping the wins.dat, this module will also write the database
contents to the log file (don't do this if you have a large wins.dat!).
The output was in a sort of tabular format, except that the asctime()
function was used and it always terminates its output with a newline.

I did a bit of fussing, removed the '\n' character, and did my best to
line up the other columns.  If the output format of asctime() is
different on different systems, then the columns won't line up, but
the output will still look better than it did before.

Chris -)-----

24 years agodomain aliases added a bit better: does local aliases if you query
Luke Leighton [Wed, 21 Oct 1998 22:36:26 +0000 (22:36 +0000)]
domain aliases added a bit better: does local aliases if you query
for sid S-1-5-20 and does (nothing at the moment) if you query for
your own sid.

24 years agothe next dialog: user-groups. it's not very sensible what appears, but hey:
Luke Leighton [Wed, 21 Oct 1998 21:11:16 +0000 (21:11 +0000)]
the next dialog: user-groups.  it's not very sensible what appears, but hey:
it appears!

24 years agoI received a bug report from Massimo Campostrini in Pisa. There are a pair
Christopher R. Hertel [Wed, 21 Oct 1998 19:00:44 +0000 (19:00 +0000)]
I received a bug report from Massimo Campostrini in Pisa.  There are a pair
of "front-end" functions with the same bug each.

Fixed.

24 years agoadded "start index" skipping into querydispinfo.
Luke Leighton [Wed, 21 Oct 1998 18:06:46 +0000 (18:06 +0000)]
added "start index" skipping into querydispinfo.

24 years agoChanged the debug calls to use the newer debug macros. This allowed me to
Christopher R. Hertel [Wed, 21 Oct 1998 17:26:54 +0000 (17:26 +0000)]
Changed the debug calls to use the newer debug macros.  This allowed me to
break up some very long lines in both the code and the output.  The change
is mostly cosmetic, but should improve log file readability.

24 years agoFixed mainly signed/unsigned issues found by SGI cc in -fullwarn mode.
Jeremy Allison [Wed, 21 Oct 1998 16:58:34 +0000 (16:58 +0000)]
Fixed mainly signed/unsigned issues found by SGI cc in -fullwarn mode.
smbd/chgpasswd.c: Fixed (my) stupid bug where I was returning stack based variables. Doh !
smbd/trans2.c: Allows SETFILEINFO as well as QFILEINFO on directory handles.
Jeremy.

24 years agooops!
Luke Leighton [Wed, 21 Oct 1998 16:54:23 +0000 (16:54 +0000)]
oops!

24 years agosigned / unsigned issues
Luke Leighton [Wed, 21 Oct 1998 16:28:44 +0000 (16:28 +0000)]
signed / unsigned issues

24 years agofixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).
Luke Leighton [Wed, 21 Oct 1998 01:35:01 +0000 (01:35 +0000)]
fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).

put unicode strings after SAMLOGON query regardless of whether it's
an NT mailslot or a non-NT mailslot, after having observed this behaviour
out of NT machines.

24 years agoat the interop Isaac (at least I _think_ it was Isaac) said that if a
Andrew Tridgell [Wed, 21 Oct 1998 00:31:14 +0000 (00:31 +0000)]
at the interop Isaac (at least I _think_ it was Isaac) said that if a
MS client doesn't respond to a oplock break request then we might try
resending the request.

This morning Sues Win95 machine had this problem (thus forcing me to
do something about it!). When starting winword her box refused to
answer an oplock break request. I have added code to resend the oplock
break request up to 3 times at 10 second intervals before killing the
socket.

of course, as soon as I did this her box started to behave again so I
haven't been able to tell if this fix actually works, but it can't be
worse than dropping the socket immediately.

24 years agosigned / unsigned warnings (found by herb).
Luke Leighton [Tue, 20 Oct 1998 22:37:44 +0000 (22:37 +0000)]
signed / unsigned warnings (found by herb).
how do i switch on these warnings in gcc?????

24 years agodce/rpc. bug-fix in ipc.c (introduced today :)
Luke Leighton [Tue, 20 Oct 1998 22:25:52 +0000 (22:25 +0000)]
dce/rpc.  bug-fix in ipc.c (introduced today :)

24 years agoFixed bug found by John Blair where trim_string wasn't
Jeremy Allison [Tue, 20 Oct 1998 20:08:35 +0000 (20:08 +0000)]
Fixed bug found by John Blair where trim_string wasn't
correctly trimming trailing multibyte code page strings.
Jeremy.

24 years agosome quite important bug-fixes i missed because i transferred the wrong
Luke Leighton [Tue, 20 Oct 1998 18:27:49 +0000 (18:27 +0000)]
some quite important bug-fixes i missed because i transferred the wrong
smb.tgz file from my portable.

particularly the call to mem_data followed by a realloc of that data in
cli_pipe.c's rpc_read() function.

smbd responses now use p->rdata_i which is a faked-up pointer into
p->rdata's response data.  rdata can be very long; rdata_i is limited
to point to no more than max_tsize - 0x18 in length.  this will make
it an almost trivial task to add the encrypted rpc headers after
rdata_i, and mem_buf_copy will cope admirably with rhdr chained to
rdata_i chained to auth_verifier etc etc...

24 years agocalls to prs_grow() on array structures so that data construction doesn't
Luke Leighton [Tue, 20 Oct 1998 16:24:57 +0000 (16:24 +0000)]
calls to prs_grow() on array structures so that data construction doesn't
over-run buffers

24 years agooops, I ot the return type of putenv() wrong
Andrew Tridgell [Tue, 20 Oct 1998 06:52:39 +0000 (06:52 +0000)]
oops, I ot the return type of putenv() wrong

24 years agouse putenv() more portably
Andrew Tridgell [Tue, 20 Oct 1998 06:51:21 +0000 (06:51 +0000)]
use putenv() more portably

24 years agofixed a connection bug in torture test
Andrew Tridgell [Tue, 20 Oct 1998 06:46:25 +0000 (06:46 +0000)]
fixed a connection bug in torture test

24 years agoremoved setenv(), replaced with smbw_setenv()
Andrew Tridgell [Tue, 20 Oct 1998 06:45:18 +0000 (06:45 +0000)]
removed setenv(), replaced with smbw_setenv()

24 years agonew prorotypes
Andrew Tridgell [Tue, 20 Oct 1998 06:43:59 +0000 (06:43 +0000)]
new prorotypes

24 years agofixes for solaris
Andrew Tridgell [Tue, 20 Oct 1998 06:43:36 +0000 (06:43 +0000)]
fixes for solaris

24 years agosmbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector
Jeremy Allison [Tue, 20 Oct 1998 03:17:43 +0000 (03:17 +0000)]
smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector
                              has some *horrible* bugs !
smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings.
Jeremy.

24 years agoadd -Bshareable for *bsd*
Andrew Tridgell [Tue, 20 Oct 1998 03:10:58 +0000 (03:10 +0000)]
add -Bshareable for *bsd*

24 years agoremoved my badly-done attempt at handling compilers that don't handle
Andrew Tridgell [Tue, 20 Oct 1998 03:10:29 +0000 (03:10 +0000)]
removed my badly-done attempt at handling compilers that don't handle
-c and -o at the same time.

my shell script code wasn't portable

24 years agooops
Luke Leighton [Mon, 19 Oct 1998 20:10:33 +0000 (20:10 +0000)]
oops

24 years agooutput password change messages instead of debug message.
Luke Leighton [Mon, 19 Oct 1998 17:50:19 +0000 (17:50 +0000)]
output password change messages instead of debug message.

24 years ago- dce/rpc code
Luke Leighton [Mon, 19 Oct 1998 17:32:10 +0000 (17:32 +0000)]
- dce/rpc code

- removed debug info in struni2 and unistr2 (security risk)

- rpc_pipe function was getting pointer to data then calling realloc *dur*

- password check function, the start of "credential checking",
  user, wks, domain, pass as the credentials (not just user,pass which
  is incorrect in a domain context)

- cli_write needs to return ssize_t not size_t, because total can be -1
  if the write fails.

- fixed signed / unsigned warnings (how come i don't get those any more
  when i compile with gcc???)

- nt password change added in smbd.  yes, jeremy, i verified that the
  SMBtrans2 version still works.

24 years agoadded command line options to smbsh
Andrew Tridgell [Mon, 19 Oct 1998 02:49:48 +0000 (02:49 +0000)]
added command line options to smbsh

24 years agoimproved session reestablishment
Andrew Tridgell [Mon, 19 Oct 1998 02:48:57 +0000 (02:48 +0000)]
improved session reestablishment

24 years agoprototype new functions
Andrew Tridgell [Mon, 19 Oct 1998 01:05:49 +0000 (01:05 +0000)]
prototype new functions

24 years agoreturn the resolved IP on a cli_connect() call so it can be cached
Andrew Tridgell [Mon, 19 Oct 1998 01:05:11 +0000 (01:05 +0000)]
return the resolved IP on a cli_connect() call so it can be cached

24 years agoremoved an incorrect comment
Andrew Tridgell [Mon, 19 Oct 1998 01:03:52 +0000 (01:03 +0000)]
removed an incorrect comment

24 years ago- don't use env variables for passwords and usernames (yeah!)
Andrew Tridgell [Mon, 19 Oct 1998 01:03:00 +0000 (01:03 +0000)]
- don't use env variables for passwords and usernames (yeah!)
- added a shared variable area based on a unlinked open file, and
  implement a general get/set interface to it
- cache hostname lookups and master ip lookups in shared variable area

24 years ago- added smbrapper/shared.o
Andrew Tridgell [Mon, 19 Oct 1998 01:00:33 +0000 (01:00 +0000)]
- added smbrapper/shared.o
- added suport for C compilers that don't handle -c and -o at once

24 years agoFixed sys_lseek and seek_file calls so all returns
Jeremy Allison [Sun, 18 Oct 1998 22:06:35 +0000 (22:06 +0000)]
Fixed sys_lseek and seek_file calls so all returns
are *checked* :-).
Jeremy.

24 years agoredid proto.h
Andrew Tridgell [Sun, 18 Oct 1998 19:45:05 +0000 (19:45 +0000)]
redid proto.h

24 years agocheck for lp_nt_pipe_support() in open calls
Andrew Tridgell [Sun, 18 Oct 1998 19:30:26 +0000 (19:30 +0000)]
check for lp_nt_pipe_support() in open calls

24 years agoadd an option to enable/disable nt pipes
Andrew Tridgell [Sun, 18 Oct 1998 19:29:19 +0000 (19:29 +0000)]
add an option to enable/disable nt pipes

24 years agoSmall tidyups for gcc in 'preen' mode....
Jeremy Allison [Sat, 17 Oct 1998 17:41:13 +0000 (17:41 +0000)]
Small tidyups for gcc in 'preen' mode....
Jeremy.

24 years agoAdded man page for nmblookup(1)
Eloy Paris [Sat, 17 Oct 1998 03:01:07 +0000 (03:01 +0000)]
Added man page for nmblookup(1)

24 years agooops.
Luke Leighton [Fri, 16 Oct 1998 23:42:09 +0000 (23:42 +0000)]
oops.

24 years agodce/rpc
Luke Leighton [Fri, 16 Oct 1998 23:40:59 +0000 (23:40 +0000)]
dce/rpc

24 years agoadded maxfid test
Andrew Tridgell [Fri, 16 Oct 1998 23:08:10 +0000 (23:08 +0000)]
added maxfid test

24 years agochanged some debug levels
Andrew Tridgell [Fri, 16 Oct 1998 23:05:19 +0000 (23:05 +0000)]
changed some debug levels

24 years agostrtoul removed, strtol used instead
Luke Leighton [Fri, 16 Oct 1998 22:01:57 +0000 (22:01 +0000)]
strtoul removed, strtol used instead

24 years agostrtoul replace with strtol
Luke Leighton [Fri, 16 Oct 1998 21:46:07 +0000 (21:46 +0000)]
strtoul replace with strtol

24 years ago!pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops.
Luke Leighton [Fri, 16 Oct 1998 21:41:42 +0000 (21:41 +0000)]
!pass -> pass != NULL is wrong: !pass -> pass == NULL is correct.  oops.

24 years agomade pass_check_smb() available for dce/rpc use.
Luke Leighton [Fri, 16 Oct 1998 21:36:19 +0000 (21:36 +0000)]
made pass_check_smb() available for dce/rpc use.

24 years agocli_nt_session_open() encrypt arg removed
Luke Leighton [Fri, 16 Oct 1998 20:18:46 +0000 (20:18 +0000)]
cli_nt_session_open() encrypt arg removed

24 years agosetup_groups() - code clarification. no functional change.
Luke Leighton [Fri, 16 Oct 1998 20:13:26 +0000 (20:13 +0000)]
setup_groups() - code clarification.  no functional change.

24 years agooops.
Luke Leighton [Fri, 16 Oct 1998 20:08:56 +0000 (20:08 +0000)]
oops.

24 years agorpc client mods (ntlmssp flags)
Luke Leighton [Fri, 16 Oct 1998 20:07:02 +0000 (20:07 +0000)]
rpc client mods (ntlmssp flags)

24 years agoonly do the MAC extensions if we are a NTFS filesystem
Andrew Tridgell [Fri, 16 Oct 1998 17:40:58 +0000 (17:40 +0000)]
only do the MAC extensions if we are a NTFS filesystem

24 years ago- use large buffers for netshareenum
Andrew Tridgell [Fri, 16 Oct 1998 17:40:01 +0000 (17:40 +0000)]
- use large buffers for netshareenum
- handle errmoredata a bit better
- fix dev type from tconx for smbw

24 years agouse the username GUEST if no other username is available
Andrew Tridgell [Fri, 16 Oct 1998 17:05:19 +0000 (17:05 +0000)]
use the username GUEST if no other username is available

24 years agoRe-added code to tell the user how many open files they
Jeremy Allison [Fri, 16 Oct 1998 06:16:10 +0000 (06:16 +0000)]
Re-added code to tell the user how many open files they
have. Needed for server diagnosis purposes...
Jeremy.

24 years agorpcclient ntlogin test
Luke Leighton [Fri, 16 Oct 1998 00:59:22 +0000 (00:59 +0000)]
rpcclient ntlogin test

24 years agotrans2.h: Added Thursby MAC extension.
Jeremy Allison [Fri, 16 Oct 1998 00:54:16 +0000 (00:54 +0000)]
trans2.h: Added Thursby MAC extension.
smbd/trans2.c: Added Thursby MAX extension.
libsmb/clientgen.c: Fixed smbtorture lock code.
Jeremy.

24 years agotrust password
Luke Leighton [Fri, 16 Oct 1998 00:07:25 +0000 (00:07 +0000)]
trust password

24 years agorpcclient interactive login (with trust account changing if you are root)
Luke Leighton [Thu, 15 Oct 1998 23:51:07 +0000 (23:51 +0000)]
rpcclient interactive login (with trust account changing if you are root)
cli_session_setup handles null sessions correctly

24 years agogetpwnam() failing is a serious error (corrupt smbpasswd database)
Luke Leighton [Thu, 15 Oct 1998 21:28:04 +0000 (21:28 +0000)]
getpwnam() failing is a serious error (corrupt smbpasswd database)

24 years agoFixed crypt problems on IRIX with prototype.
Jeremy Allison [Thu, 15 Oct 1998 19:30:12 +0000 (19:30 +0000)]
Fixed crypt problems on IRIX with prototype.
Jeremy.

24 years agobug-fixing against:
Luke Leighton [Thu, 15 Oct 1998 05:47:29 +0000 (05:47 +0000)]
bug-fixing against:

AS/U:
      it returns dce/rpc "first" and "last" bits _clear_ in a bind/ack
      response, when they should be set in a (small) packet.  they also,
      in the bind/ack do not set a secondary address string at all, so
      we can't check against that...

Win95:
      client-side dce/rpc code is a bit odd.  it does a "WaitNamedPipeState"
      and has slightly different pipe-naming (\PIPE\LANMAN is joined by
      \PIPE\SRVSVC, \PIPE\WINREG etc whereas nt just has \PIPE\LANMAN
      and \PIPE\).

Win95-USRMGR.EXE:
      added LsaOpenPolicy (renamed existing to LsaOpenPolicy2).
      added SamrConnect (renamed existing to SamrConnect2).

24 years agosecond implementation of crc32, used with permission of francesco ferrara
Luke Leighton [Thu, 15 Oct 1998 05:35:57 +0000 (05:35 +0000)]
second implementation of crc32, used with permission of francesco ferrara
<francesco@aerre.it>.  thanks!
http://www.aerre.it/francesco

24 years agoconfig: Fix crypt prototype on RedHat Linux.
Jeremy Allison [Thu, 15 Oct 1998 00:55:17 +0000 (00:55 +0000)]
config: Fix crypt prototype on RedHat Linux.
include/includes.h: Fix crypt prototype on RedHat Linux.
smbd/fileio.c: Fix mmap bug found by WinCE client.
smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman
smbd/password.c: Fix encrypted null passwords.
Jeremy.

24 years agoset recursion desired for bcast name query
Andrew Tridgell [Wed, 14 Oct 1998 16:45:24 +0000 (16:45 +0000)]
set recursion desired for bcast name query

24 years agoremoved lkcl
Luke Leighton [Wed, 14 Oct 1998 16:42:45 +0000 (16:42 +0000)]
removed lkcl

24 years ago16 changed to 8 by mistake in samoemhash.
Luke Leighton [Wed, 14 Oct 1998 16:12:45 +0000 (16:12 +0000)]
16 changed to 8 by mistake in samoemhash.

24 years agotridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
Luke Leighton [Wed, 14 Oct 1998 07:16:00 +0000 (07:16 +0000)]
tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
that didn't have _STAT_VER_LINUX_OLD defined.  maybe you want to sort
this out properly...

24 years agomore warnings...
Luke Leighton [Wed, 14 Oct 1998 07:08:43 +0000 (07:08 +0000)]
more warnings...

24 years agounused variable in pipe_smb_write_X
Luke Leighton [Wed, 14 Oct 1998 07:02:12 +0000 (07:02 +0000)]
unused variable in pipe_smb_write_X

24 years agowarnings spotted by ./configure.developer options
Luke Leighton [Wed, 14 Oct 1998 07:00:00 +0000 (07:00 +0000)]
warnings spotted by ./configure.developer options