| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
and work on it tonight (I hate my life :-( ).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
current status is "it works". I need to add some syntax error recovery
and a usage message. Basic stuff.
I've also modified Makefile.in. If you want to compile it you'll have to
do a 'make debug2html', as I used smbtorture as a model. We can decide
later if this tool is useful enough to be compiled always.
BTW, a 'make realclean' fails because the bin directory isn't empty.
That's because it doesn't delete optionally compiled files such as
smbtorture and debug2html (and because of the CVS subdirectory, but I
think that's only a problem for developers).
Chris -)-----
|
|
|
|
| |
Chris -)-----
|
|
|
|
|
| |
Added smbd.8.yo.
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
now as "RPC fault" if the UNIHDR structure lengths do not exactly
match up to the length of the data stream.
so, all versions of samba prior to this one have an off-by-one bug
in unicode string lengths.
all versions of NT prior to NT 5 beta 2 could possibly have buffer
problems when receiving badly formatted UNICODE strings.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
|
|
|
|
| |
license at the top of lib/snprintf.c
I've always been slightly uneasy about our half-baked vslprintf()
implementation and the risks on platforms that don't have vsnprintf()
so when I saw this code in another GPLd package I wanted it for Samba.
|
|
|
|
|
|
|
|
|
|
|
| |
* Debug message filtering.
* I need to add all this to Makefile.in
(If it looks at all strange I'll ask for help.)
If you want to compile debug2html, you'll need to do it by hand until I
make the changes to Makefile.in. Sorry.
Chris -)-----
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
Ensured offset was being reported correctly for 64 bit file access,
ensured delete on close bit was being reported correctly.
Jeremy.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to *.rpmsave
|
|
|
|
| |
don't seek unless absolutely necessary on files in do_put()
|
|
|
|
| |
(for example /usr/bin/man because it is setgid).
|
|
|
|
|
|
| |
changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to
try to provide inode numbers. If it is 0 then use the hash of the
filename as before.
|
|
|
|
|
| |
descriptors by catching close attempts on those fds and returning
EBADF.
|
| |
|
|
|
|
| |
do_get() call.
|
|
|
|
| |
long not 128 (fstring) length.
|
|
|
|
|
|
| |
don't have the ALLOW_DELETE_ON_CLOSE share flag enabled. Told you
this was fiddly code :-).
Jeremy.
|
|
|
|
| |
this is 0x4000 01ff on NT4 SP4, and 0x0000 01ff on pre-NT4 SP4.
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
|
|
| |
open_file_shared().
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
one fsp with that of another. Not good :-).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to generate PIC code
|
| |
|
|
|
|
|
|
| |
instead the shared variable area is used.
this fixes problems with /bin/sh under solaris
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
hey, you can see how many connections succeed while the rpctorture
command is running!
|
|
|
|
|
| |
meant that one hex dump would fit within 80 characters in lynx after HTML
conversion.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
change requests. Start of the big docs update .....
Jeremy.
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does
decimal not hexadecimal oops.
|
|
|
|
|
|
|
|
| |
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 -)-----
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|