summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-10-29Fixed bug (that I introduced when doing the "delete on close" workJeremy Allison1-7/+9
that caused NetBench to fail as the wrong error code was being returned from a getatr call. Change was not to set the unix_ERR_class global when you are not returning an error. This is a big of Samba internal folklore that is *important*. Jeremy. (This used to be commit a1923d465be4c63a40d55abb800cc9b16a4b87d0)
1998-10-29modify dependency tracking code so that it:Alexandre Oliva1-10/+29
1) inserts the pathname of the object file in the dependency file (currently, gcc will only generate the basename) 2) the directory tree within .deps mirrors the source tree, so that we use shorter filenames problem 1 was reported to me by Tom Angert <angert@bellsouth.net> (This used to be commit 274a2cff30f7325d1bc1647075a6c4f887e42e4f)
1998-10-29Tidied up option processing in smbclient - usage message now actuallyJeremy Allison1-123/+132
reflects the real options. Removed '-S' option - couldn't see what this was doing (seemed to have something to do with nt_domain_logon ?). Luke please check if you needed this code (code is only #ifdef'ed out and can be re-instated). Did this to make writing of yodl smbclient man page possible :-). Jeremy. (This used to be commit 97a14db75634b09dd272e9f59bc39c2b1eb52544)
1998-10-29some versions of Irix pass the HAVE__ACL test but don't have acl.hHerb Lewis1-1/+1
test for both before including ACL support. (This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
1998-10-28This should have gone with the last batch.Christopher R. Hertel1-4/+3
Again, to compile debug2html, you need to do a 'make debug2html'. Chris -)----- (This used to be commit bd0c5ee8e796bc624bf51fbca1c894ca6190b4ea)
1998-10-28I've moved the debugparse module files into the ubiqx directory because IChristopher R. Hertel3-15/+445
know that 'make proto' will ignore them there. The debugparse.h header file is included in includes.h, and includes.h is included in debugparse.c, so all of the pieces "see" each other. I've compiled and tested this, and it does seem to work. It's the same compromise model I used when adding the ubiqx modules into the system, which is why I put it all into the same directory. Chris -)----- (This used to be commit b6888faacdba035e1b608a404a71d93791de2d52)
1998-10-28Still moving things around. debugparse.h will be removed from the includeChristopher R. Hertel3-85/+2
directory in the next batch. Chris -)----- (This used to be commit 81f64d89924523279a2dcbe53d5355f3dd56b5ff)
1998-10-28Just moving things around a bit.Christopher R. Hertel1-328/+0
Chris -)----- (This used to be commit a1aa808d5b85d150ec21d09e301aa0211658e021)
1998-10-28Added clear-out-structure fix for make_unistr2.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 2bce2cf6d83d9889d8b116f9d2ee254b7ceb4828)
1998-10-28Fixes to allow this to pass SGI compiler in -fullwarn mode (with oneJeremy Allison1-9/+9
annoying exception I'm still looking at :-). Jeremy. (This used to be commit 9cade656e2db743cb6ee67bbb8b0f50e8e4c39f9)
1998-10-28Quick fixes to fix the broken tree. Needed for my morning compiles.Jeremy Allison5-6/+18
Chris - feel free to fix these things differently if these fixes don't work for you. Jeremy. (This used to be commit 1f225abfbe6b021b589711c2e4c599a63050c5b2)
1998-10-28Fix from thwartedefforts@wonky.org (slightly modified) toJeremy Allison1-1/+1
fix username overwriting problem in security=share. Jeremy. (This used to be commit 17621964344336c6303386c3c9e8a3e23b9e46e1)
1998-10-28fixed problem with snprintf.c and mkprotoAndrew Tridgell2-4/+13
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)
1998-10-28use abort() instead of exit() in smb_panic()Andrew Tridgell1-1/+1
the reason we don't return() here is that smb_panic() is used not just for segv but also for detected errors (such as buffer overflows) (This used to be commit 7a50ca81a5842f7139e67c0ff9de79518599f445)
1998-10-28fixed handling of %.0f in replacement snprintf.cAndrew Tridgell1-12/+28
(This used to be commit 177b7b6b190c78ab59e19187d3221d23bb280911)
1998-10-27Fixed a small bug in debug2html. It wasn't properly checking EOF. TheChristopher R. Hertel2-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 -)----- (This used to be commit e86fd87a3806f4c161a8f887bbdd4d400ae56ac2)
1998-10-27Added info about parsing debug messages.Christopher R. Hertel1-28/+210
Chris -)----- (This used to be commit 26fcdfd082e84df675ad06c7ba8c0cdbf07eed98)
1998-10-27debug string with no %s parameter. oopsLuke Leighton1-1/+2
(This used to be commit 22721b027139ffb7ff2625741b68701ba15fbb98)
1998-10-27amazing. the improvements to NT continue, evidence for which shows upLuke Leighton6-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. (This used to be commit 161eb6f511e161b63c1fa90a08c562fcf208344a)
1998-10-27add ifdef for "long double"Andrew Tridgell1-12/+18
(This used to be commit ae1888529b00f1a98d2b76fec7f19684efca90c7)
1998-10-26added a vsnprintf() implementation from cvslock. See the notes on theAndrew Tridgell4-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. (This used to be commit e2cb50af45be6683d02ab48a6648816ee3d52ab1)
1998-10-26Here is the simple debug parser and the debug2html converter. Still to do:Christopher R. Hertel3-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 -)----- (This used to be commit fae161b9051c3ea8aa129bdb3df11d215007723d)
1998-10-26Fixed a couple of issues with the SMB_QUERY_FILE_ALL_INFO query.Jeremy Allison1-2/+5
Ensured offset was being reported correctly for 64 bit file access, ensured delete on close bit was being reported correctly. Jeremy. (This used to be commit 4332bc06c6604a3e14007eda4f40e6183a1f8526)
1998-10-26report ourselves as HTTP/1.0 not HTTP/1.1Andrew Tridgell1-3/+3
(This used to be commit b2210614e810c8e84c9a14a8e32e05f95d92479b)
1998-10-26added a couple more error codes to cli_error()Andrew Tridgell1-0/+6
(This used to be commit b2a7f85d597d4d2a71fd38d76aac0464d53df626)
1998-10-24fix for John.Andrew Tridgell1-8/+8
don't seek unless absolutely necessary on files in do_put() (This used to be commit 9d33d405cdbd9ae61fb68b6f5ce5f56f86cc54bb)
1998-10-24handle the case of an intermediate binary not loading smbwrapper.soAndrew Tridgell1-2/+1
(for example /usr/bin/man because it is setgid). (This used to be commit 85f639ab2ba72dda5a00cf11c8ee705f5a51ec54)
1998-10-24volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell9-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. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
1998-10-24make sure that apps can't close one of the internal smbw fileAndrew Tridgell4-2/+32
descriptors by catching close attempts on those fds and returning EBADF. (This used to be commit 9d863fb1681a5b03696552e1d93fe339b4bae455)
1998-10-24Fix for -fpic rules (.c.po and .c.po32) when using --enable-maintainer-mode.Tim Potter1-4/+4
(This used to be commit 552175fdcb78c79833464648b5ccdc91b935e69c)
1998-10-24Unlink zero length files that did NOT exist at the point of origin on a ↵John Terpstra1-1/+4
do_get() call. (This used to be commit 98ba0b3a0a5074cf2b7adba407c5fd46f63c3f27)
1998-10-23added domain and local group structures. names may have to be 256 charsLuke Leighton2-16/+60
long not 128 (fstring) length. (This used to be commit 1e96e14e790e733bbd182a828b0db8727fead2a2)
1998-10-23Handle the case where multiple smbd have the file open, some of whomJeremy Allison2-17/+76
don't have the ALLOW_DELETE_ON_CLOSE share flag enabled. Told you this was fiddly code :-). Jeremy. (This used to be commit 222d686a6cdbc2947e7201636ae80ef4c650a65d)
1998-10-23set netlogon negotiation flags to 0x1ff, not to what the client requests.Luke Leighton3-19/+24
this is 0x4000 01ff on NT4 SP4, and 0x0000 01ff on pre-NT4 SP4. (This used to be commit 59cf9c00d91f9706d58c3d3000842eccb9d272fc)
1998-10-23possible bug in change oem password code: replaced E_P16 and E_md4hashLuke Leighton1-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(). (This used to be commit 1c8c644210870fef7ea3eddf411b01a98f991fcc)
1998-10-23Make the new code conditional on lp_share_modes() just like the code in ↵Jeremy Allison1-36/+39
open_file_shared(). Jeremy. (This used to be commit 8de02620ea8f45f6a700617911947467e7be46e1)
1998-10-23Fixed debug reporting in the changed code.Jeremy Allison1-1/+6
Jeremy. (This used to be commit d815e2d7a65c95ae71372b4fc8fe82f0202386dc)
1998-10-23Fixed bug in previous commit where I was overwriting share_mode fromJeremy Allison1-3/+4
one fsp with that of another. Not good :-). Jeremy. (This used to be commit 269bca2b3bbf5cae9fdf05d0405bfd80272da5d1)
1998-10-23Reasonably large change to give us *exactly* correct NT delete on close ↵Jeremy Allison10-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. (This used to be commit 5e6a7cd99d29d1cf068fc517272559c1cf47ea3a)
1998-10-23don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell5-376/+401
to generate PIC code (This used to be commit a66c56d70e7e663f3a19cbfcc2e704653d8fc9b2)
1998-10-23don't use SMBW_PWD_ENV any moreAndrew Tridgell1-3/+0
(This used to be commit 252fe1e7014b2bf79a3abfa52fb77db9129074c7)
1998-10-23fixed problems with PWD - we no longer use the PWD env variableAndrew Tridgell3-11/+19
instead the shared variable area is used. this fixes problems with /bin/sh under solaris (This used to be commit 4eb7b5c6a81447755dfa1be27479027333ed6f26)
1998-10-23make the shared variable stuff slightly more sophisticatedAndrew Tridgell1-12/+26
(This used to be commit 636182f18346af457f905cd784e68ae5d4f75d0e)
1998-10-23include/smb.h: Added #defines for lots of things - makes our code a *lot* ↵Jeremy Allison9-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. (This used to be commit 8e1ce307bd6a9056b4a95fe6f52ff42dc6e03a08)
1998-10-22torture debug.Luke Leighton2-1/+14
(This used to be commit 97609596647dea39c061bdf972411a86f7294521)
1998-10-22enumeration tests (files, sessions, shares, connections).Luke Leighton1-0/+32
hey, you can see how many connections succeed while the rpctorture command is running! (This used to be commit c1bf8f109932a3387fa7b8b4265a3eda52d3e0a3)
1998-10-22Okay, this is really silly but removing one space from one debug statementChristopher R. Hertel1-1/+1
meant that one hex dump would fit within 80 characters in lynx after HTML conversion. (This used to be commit c391f076f29cff917fd51d58598e1ad11048e824)
1998-10-22rpctorture commandLuke Leighton5-8/+544
(This used to be commit b4ae65e2d0582274d67d02ea190f6d3d83b48594)
1998-10-22Removed previously #ifdef 0 'ed code.Jeremy Allison1-37/+0
Jeremy. (This used to be commit 7feaa13d02f84760d6857115ed253570f41911bb)
1998-10-22server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison4-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. (This used to be commit 50413d0d819d4f13e760ca8439c5bdde0898d63e)