summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Another cosmetic change.Christopher R. Hertel1998-10-221-2/+8
| | | | | | | | | | | | | | 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 -)-----
* domain aliases added a bit better: does local aliases if you queryLuke Leighton1998-10-2115-104/+166
| | | | | for sid S-1-5-20 and does (nothing at the moment) if you query for your own sid.
* the next dialog: user-groups. it's not very sensible what appears, but hey:Luke Leighton1998-10-2110-26/+593
| | | | it appears!
* I received a bug report from Massimo Campostrini in Pisa. There are a pairChristopher R. Hertel1998-10-212-10/+53
| | | | | | of "front-end" functions with the same bug each. Fixed.
* added "start index" skipping into querydispinfo.Luke Leighton1998-10-211-5/+15
|
* Changed the debug calls to use the newer debug macros. This allowed me toChristopher R. Hertel1998-10-211-59/+151
| | | | | break up some very long lines in both the code and the output. The change is mostly cosmetic, but should improve log file readability.
* Fixed mainly signed/unsigned issues found by SGI cc in -fullwarn mode.Jeremy Allison1998-10-2111-34/+58
| | | | | | 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.
* oops!Luke Leighton1998-10-212-11/+11
|
* signed / unsigned issuesLuke Leighton1998-10-214-4/+4
|
* fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).Luke Leighton1998-10-216-16/+26
| | | | | | 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.
* at the interop Isaac (at least I _think_ it was Isaac) said that if aAndrew Tridgell1998-10-212-1/+18
| | | | | | | | | | | | | | | 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.
* signed / unsigned warnings (found by herb).Luke Leighton1998-10-204-16/+16
| | | | how do i switch on these warnings in gcc?????
* dce/rpc. bug-fix in ipc.c (introduced today :)Luke Leighton1998-10-203-29/+89
|
* Fixed bug found by John Blair where trim_string wasn'tJeremy Allison1998-10-203-193/+304
| | | | | correctly trimming trailing multibyte code page strings. Jeremy.
* some quite important bug-fixes i missed because i transferred the wrongLuke Leighton1998-10-208-49/+47
| | | | | | | | | | | | | | 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...
* calls to prs_grow() on array structures so that data construction doesn'tLuke Leighton1998-10-201-3/+18
| | | | over-run buffers
* oops, I ot the return type of putenv() wrongAndrew Tridgell1998-10-201-2/+3
|
* use putenv() more portablyAndrew Tridgell1998-10-201-1/+7
|
* fixed a connection bug in torture testAndrew Tridgell1998-10-201-11/+66
|
* removed setenv(), replaced with smbw_setenv()Andrew Tridgell1998-10-206-26/+29
|
* new prorotypesAndrew Tridgell1998-10-201-0/+1
|
* fixes for solarisAndrew Tridgell1998-10-201-2/+4
|