summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed handling of %.0f in replacement snprintf.cAndrew Tridgell1998-10-281-12/+28
|
* Not finished yet - added so I can check it out at homeJeremy Allison1998-10-281-0/+243
| | | | | and work on it tonight (I hate my life :-( ). Jeremy.
* Fixed a small bug in debug2html. It wasn't properly checking EOF. TheChristopher R. Hertel1998-10-272-2/+28
| | | | | | | | | | | | | | | | 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 -)-----
* Added info about parsing debug messages.Christopher R. Hertel1998-10-271-28/+210
| | | | Chris -)-----
* Fixed a few doc bugs in make_smbcodepage.1.yo samba.7.yoJeremy Allison1998-10-273-5/+410
| | | | | Added smbd.8.yo. Jeremy.
* debug string with no %s parameter. oopsLuke Leighton1998-10-271-1/+2
|
* amazing. the improvements to NT continue, evidence for which shows upLuke Leighton1998-10-276-17/+19
| | | | | | | | | | | 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.
* YODL conversion of make_smbcodepage.1Jeremy Allison1998-10-271-0/+131
| | | | Jeremy.
* add ifdef for "long double"Andrew Tridgell1998-10-271-12/+18
|
* added a vsnprintf() implementation from cvslock. See the notes on theAndrew Tridgell1998-10-264-47/+803
| | | | | | | | 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.
* Here is the simple debug parser and the debug2html converter. Still to do:Christopher R. Hertel1998-10-263-0/+635
| | | | | | | | | | | * 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 -)-----
* First part of YODL converted documentation.Jeremy Allison1998-10-261-0/+116
| | | | Jeremy.
* Added new German consultant.Jeremy Allison1998-10-261-1/+22
| | | | Jeremy.
* Fixed a couple of issues with the SMB_QUERY_FILE_ALL_INFO query.Jeremy Allison1998-10-261-2/+5
| | | | | | Ensured offset was being reported correctly for 64 bit file access, ensured delete on close bit was being reported correctly. Jeremy.
* report ourselves as HTTP/1.0 not HTTP/1.1Andrew Tridgell1998-10-261-3/+3
|
* added a couple more error codes to cli_error()Andrew Tridgell1998-10-261-0/+6
|
* A little more tweaking and sqeaking. Now, will it work? Argh!John Terpstra1998-10-252-42/+114
|
* Welcome to Pacific HiTech TurboLinux support.John Terpstra1998-10-2513-0/+1002
|
* Packaging mods - make sure we always keep our config files and NEVER mv them ↵John Terpstra1998-10-251-8/+11
| | | | to *.rpmsave
* fix for John.Andrew Tridgell1998-10-241-8/+8
| | | | don't seek unless absolutely necessary on files in do_put()
* handle the case of an intermediate binary not loading smbwrapper.soAndrew Tridgell1998-10-241-2/+1
| | | | (for example /usr/bin/man because it is setgid).
* volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell1998-10-249-35/+85
| | | | | | 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.
* make sure that apps can't close one of the internal smbw fileAndrew Tridgell1998-10-244-2/+32
| | | | | descriptors by catching close attempts on those fds and returning EBADF.
* Fix for -fpic rules (.c.po and .c.po32) when using --enable-maintainer-mode.Tim Potter1998-10-241-4/+4
|
* Unlink zero length files that did NOT exist at the point of origin on a ↵John Terpstra1998-10-241-1/+4
| | | | do_get() call.
* added domain and local group structures. names may have to be 256 charsLuke Leighton1998-10-232-16/+60
| | | | long not 128 (fstring) length.
* Handle the case where multiple smbd have the file open, some of whomJeremy Allison1998-10-232-17/+76
| | | | | | don't have the ALLOW_DELETE_ON_CLOSE share flag enabled. Told you this was fiddly code :-). Jeremy.
* set netlogon negotiation flags to 0x1ff, not to what the client requests.Luke Leighton1998-10-233-19/+24
| | | | this is 0x4000 01ff on NT4 SP4, and 0x0000 01ff on pre-NT4 SP4.
* possible bug in change oem password code: replaced E_P16 and E_md4hashLuke Leighton1998-10-231-9/+1
| | | | | 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().
* Updated paths.John Terpstra1998-10-231-5/+1
|
* Make the new code conditional on lp_share_modes() just like the code in ↵Jeremy Allison1998-10-231-36/+39
| | | | | | open_file_shared(). Jeremy.
* Fixed debug reporting in the changed code.Jeremy Allison1998-10-231-1/+6
| | | | Jeremy.
* Fixed bug in previous commit where I was overwriting share_mode fromJeremy Allison1998-10-231-3/+4
| | | | | one fsp with that of another. Not good :-). Jeremy.
* Reasonably large change to give us *exactly* correct NT delete on close ↵Jeremy Allison1998-10-2310-41/+225
| | | | | | | | | | | | | | 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.
* don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell1998-10-235-376/+401
| | | | to generate PIC code
* don't use SMBW_PWD_ENV any moreAndrew Tridgell1998-10-231-3/+0
|
* fixed problems with PWD - we no longer use the PWD env variableAndrew Tridgell1998-10-233-11/+19
| | | | | | instead the shared variable area is used. this fixes problems with /bin/sh under solaris
* make the shared variable stuff slightly more sophisticatedAndrew Tridgell1998-10-231-12/+26
|
* include/smb.h: Added #defines for lots of things - makes our code a *lot* ↵Jeremy Allison1998-10-239-72/+146
| | | | | | | | | | | | | 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.
* torture debug.Luke Leighton1998-10-222-1/+14
|
* enumeration tests (files, sessions, shares, connections).Luke Leighton1998-10-221-0/+32
| | | | | hey, you can see how many connections succeed while the rpctorture command is running!
* Okay, this is really silly but removing one space from one debug statementChristopher R. Hertel1998-10-221-1/+1
| | | | | meant that one hex dump would fit within 80 characters in lynx after HTML conversion.
* rpctorture commandLuke Leighton1998-10-225-8/+544
|
* Removed previously #ifdef 0 'ed code.Jeremy Allison1998-10-221-37/+0
| | | | Jeremy.
* Tidied up Support.txt to be up to date with latest consultantJeremy Allison1998-10-221-52/+76
| | | | | | change requests. Start of the big docs update ..... Jeremy.
* server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1998-10-224-4/+11
| | | | | | | | (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.
* bug fix in lsa_trans_names.Luke Leighton1998-10-225-7/+14
| | | | | well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does decimal not hexadecimal oops.
* Minor change.Christopher R. Hertel1998-10-221-1/+1
| | | | | | | | 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 -)-----
* extern fstring global_myworkgroup should be a pstringLuke Leighton1998-10-221-2/+2
|
* libsmb/smbdes.c: #ifdef'ed out code prior to removal.Jeremy Allison1998-10-227-38/+138
| | | | | | | | | | | | | | | | | | 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.