summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22561: Fix a memleak in lanman.c: Nobody would free the session_list.Volker Lendecke2-3/+7
Volker (This used to be commit 5d428400f77399b7fc30fb2a0fb10f0c74b96458)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison9-12/+12
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22533: Use lib functions where we have themVolker Lendecke1-2/+3
(This used to be commit dc18ab2f3407234dc545d5133660f9f04e8e5b55)
2007-10-10r22502: Fix bug #4536 - delete symlinks to a directory correctly.Jeremy Allison1-1/+17
Jeremy. (This used to be commit dcc6517d9d349c65b045160e8a1358af088ae97a)
2007-10-10r22495: Create wrapper to hide the details of obtaining a set of socketsJames Peach2-167/+203
to listen on. (This used to be commit 29a16b2acb8da604776d48c6a1e6163c9e868d12)
2007-10-10r22493: Fix horrible memory corruption bug with CIFS POSIX open/mkidr.Jeremy Allison1-0/+2
Found by SteveF + valgrind :-). Jerry - essential for rc3. Jeremy. (This used to be commit b01c1c4618fe0ff9fd9bac7ed780a4676ea1ba7a)
2007-10-10r22492: Add objectid code.Jeremy Allison1-10/+23
Jeremy. (This used to be commit d3df922038032b65f52e1e0ac1f2dd53a6933fb7)
2007-10-10r22491: Fix the build (3.0.25 and 3.0 are different here).Jeremy Allison1-1/+1
Jeremy. (This used to be commit c34c291194f34a4b68c1b149dd513b79295a7f1c)
2007-10-10r22490: Fix a couple of bugs found whist investigating CSC Vista issues.Jeremy Allison1-4/+92
Ensure we correctly NULL out allocation size fields. Allow QFILEINFO on pipes (Vista bug ?). Jerry - don't automatically merge for 3.0.25. Jeremy. (This used to be commit a27577815201101de4ca5c8375b7f768b6127fb2)
2007-10-10r22481: Move check for non-mappable SIDs to after sid_to_uid,Jeremy Allison1-11/+10
sid_to_gid mapping, add LocalSystem to non-mappable list. Jeremy. (This used to be commit 805f01464f3feb30725dbce1f90d4296380dd796)
2007-10-10r22458: Fix a commentVolker Lendecke1-1/+1
(This used to be commit f5ccec42287cfdf128bbfcf562a47a852bd0e3fe)
2007-10-10r22418: Support running under launchd. We abstract the method of obtainingJames Peach2-55/+162
sockets to listen on a little, because in the launchd case these are provided for us. We also add an idle timeout so that a daemon can exit after a period of inactivity. (This used to be commit fc8589a3371d396197fae508e563f814899c2beb)
2007-10-10r22417: Refactor the various daemon run-mode options to make the semanticsJames Peach1-40/+49
of the various flags explicit. (This used to be commit 19c929c6330a50f278ac322ac5fcb83d03734ea2)
2007-10-10r22411: Fix the build:Michael Adam1-3/+5
Prototype of create_aio_ex_read, set_message and definition of UNIXERROR have changed in r22389 and r22391? to require an additional "inbuf" argument. Some places in smbd/aio.c had not been adapted. This patch fixes the build. Michael (This used to be commit 9de1af6dc835fa12a75bae00935cd605f61217a3)
2007-10-10r22395: allow profiling level to be set on startupHerb Lewis1-0/+10
(This used to be commit f8f51e8648224af6645dbd0c2f2bffc678b83dac)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison15-209/+307
to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy. (This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
2007-10-10r22389: Start preparing for multiple encryption contexts in theJeremy Allison4-15/+28
server. Allow server to reflect back to calling client the encryption context that was sent. Jeremy. (This used to be commit b49e90335d1e589916b5ab4992e3c4a2d221ca7e)
2007-10-10r22352: Wow - working gss SMB sealing !Jeremy Allison1-0/+3
Jeremy. (This used to be commit abcb2a4b0709ef84c50c1d9a85191dc3866cd138)
2007-10-10r22351: Making progress in tests...Jeremy Allison1-0/+7
Jeremy. (This used to be commit f1726e04eb1d63387cf955c907fe077b2201a3ae)
2007-10-10r22350: Add some helpful debug messages.Jeremy Allison1-1/+7
Jeremy. (This used to be commit bf2e6bd82dc0d35313677c6cb04357da1e74ce4f)
2007-10-10r22327: Finish the gss-spnego part of the seal code. NowJeremy Allison1-14/+16
for testing.... Jeremy. (This used to be commit 1c1f5360b67792f14b50835a2c5a4d4ac68aca8f)
2007-10-10r22291: Fix off-by-one in tconX parsing.Jeremy Allison1-2/+11
Jeremy. (This used to be commit bc6ac4feac8c62cda2b6151eb648d3d5979e8a95)
2007-10-10r22266: Fix bug #4512 - we were returning a volume label greater thanJeremy Allison2-5/+7
32 unicode chars. Windows XP doesn't like that :-). Jeremy (This used to be commit e59b5276b56d6963ddd0598bbd1b15426d2d13e8)
2007-10-10r22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICEStefan Metzmacher1-1/+4
metze (This used to be commit 402704b62972c223f3e70bcd6221dc7c3a64f4b9)
2007-10-10r22213: We can't use become_root() here, as it does DEBUG()Volker Lendecke1-0/+7
itself. become_root_uid_only did not :-) Revert 21868, we need to find a better way. Volker (This used to be commit 629f966714c7a8d96b06027d514b86cde81b69b9)
2007-10-10r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>Gerald Carter1-1/+1
to fix compile bug ni quotas.c (typo calling unbecome_root()). (This used to be commit 22d550d62b5834e2c5155550756d3462a1bd6561)
2007-10-10r22145: Fix bug #4494 - reported by Kevin Jamieson <bugzilla@kevinjamieson.com>.Jeremy Allison2-3/+5
If returning a mapped UNIX error from sendfile, don't call chain_reply. Jeremy. (This used to be commit 38404c990db1436241c3a774c51196bc058d7576)
2007-10-10r22132: I hate inefficiency. Don't call conv_str_size()Jeremy Allison1-1/+1
on every pread/sendfile call, initialize these variables in an allocated struct at connection time and just refer to them directly. Jeremy. (This used to be commit 85df3fca681a44c882f596ef042ad9956c3a63c0)
2007-10-10r22129: Fix the nttrans create extended response for pipesJeremy Allison1-5/+44
and files (tested with Win32 code). Bug #4404 should now be dead :-). Jeremy. (This used to be commit 40a86a56662eca2668b8a9515b9f924f54d80cc0)
2007-10-10r22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIREDJeremy Allison1-1/+24
set. Only the NTTrans create left to fix for csc. Jeremy. (This used to be commit 7856db9fce9906c5a7d19fbe69dfcfd4b644c134)
2007-10-10r22124: Wow - NTCreateX sets the word count to 42, but returns 50 onJeremy Allison1-1/+7
the wire. Strange.... But now we're returning Windows compatible extended info. Next to fix the pipe returns and NTTrans Creates. Jeremy. (This used to be commit 57e46f2f80db153fc7ce0eb09f24afa78aa27349)
2007-10-10r22123: Try and fix the csc (#4404) bug by supporting the extendedJeremy Allison1-7/+18
response to NTCreateX - need to fix this also for pipe open and NTTransCreate as well so this isn't finished. Jeremy. (This used to be commit be742f248178ae606dfa3a90c6148a18b42128e3)
2007-10-10r22122: Start to fix csc issue with Vista. Make smbd supportJeremy Allison1-1/+22
the extended 7 word response for tconX rather than the 3 word one we supported previously. Jeremy. (This used to be commit 137953226a2d691259e7e84d6ae0dc24755e5a3a)
2007-10-10r22096: become_root_uid_only() is unneeded - it's only used inJeremy Allison1-15/+15
messages.c. Refactor to use become_root() instead and make it local to messages.c Jeremy. (This used to be commit f3ffb3f98472b69b476b702dfe5c0575b32da018)
2007-10-10r22095: BUG 4484: Add more checks to set %a for Vista clients (based on ↵Gerald Carter1-0/+5
absence of native OS and Lanman strings in the session setup request) (This used to be commit e5c9fc937d40046030c0d3bcfced505410a14caf)
2007-10-10r22065: First logic change I've found :-(. We were being tooJeremy Allison1-9/+24
restrictive about strings being NULL. If an info level doesn't use a subformat the subformat string may be missing (null). Add debug statements to help track this. Jeremy (This used to be commit 70875f92a22985539dc41e26a084218a45e1a13f)
2007-10-10r22064: Fix the DFS code to work better with Vista clients. AllowJeremy Allison2-34/+39
"host msdfs = true" to be set in the [global] section and allow Vista to see shares with "msdfs root = yes" and "msdfs root = no" off the same server. Down to an error message really :-). Jeremy. (This used to be commit 1a0f69bb21fd03a18514dfc93c84568708144e28)
2007-10-10r22060: Fix for AIX quotas from Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.Jeremy Allison1-0/+30
Jeremy. (This used to be commit 8d95cdf8c0a46abc6b5cbcec3fd8bf246d49ee4b)
2007-10-10r22059: Over-allocate and NULL out 100 bytes for lanman.c.Volker Lendecke1-4/+8
Volker (This used to be commit 0eea6b84cec7e2a3fc1f784d5a9b162f71cc8a02)
2007-10-10r22050: Fix a couple of off-by-one errors in the rapJeremy Allison1-3/+15
call patch. Jerry, this works now for displaying shares on Win9x (and hopefully everything else as well :-). Jeremy. (This used to be commit 728a4cc71376f9cfff2578d21a47602f8b7c6531)
2007-10-10r22045: As Volker noticed, skip_string's last argument isJeremy Allison1-94/+98
redundent. Remove it. Jeremy. (This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
2007-10-10r22044: Remove the only skip_string(...,2) callerVolker Lendecke1-1/+1
(This used to be commit 08ea2b83b26968990fce191cdafe26d3183518a6)
2007-10-10r22043: Comparing lanman.c with -r22013 is now MUCH easier, thanks! This ↵Volker Lendecke1-3/+0
looks much easier to review! Damn close to what I had in my tree, just the fn names were slightly different. This removes one unnecessary dupe. Next thing is to get rid of the parameter "n" of skip_string, there is only one (!) caller that does not pass in 1.... Volker (This used to be commit 2878c1e93a8d71288fa3144cff57bce66c592e22)
2007-10-10r22042: Try and clean up my own mess using the API VolkerJeremy Allison1-71/+76
suggested. I now use : BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) Volker, please criticize and comment. Thanks, Jeremy. (This used to be commit d47af7c9263f519e7307859b6a696d854c5dfca3)
2007-10-10r22020: Make it more clear that both the vuser struct and it's contents areAndrew Bartlett2-41/+27
talloc_free()'ed at the end of a session. Rework the passwd cache code to use talloc_unlink and talloc_reference, to more carefully manage the cache. Andrew Bartlett (This used to be commit e3e0ec25e67308de314aa61852905ee42aa2c8fe)
2007-10-10r22017: After changing 2000 lines of this I think this is needed :-).Jeremy Allison1-0/+1
Jeremy. (This used to be commit 99092e8841edea468fa1e59a8c725f3467b58966)
2007-10-10r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,Jeremy Allison1-277/+601
but I've no option. Jeremy. (This used to be commit c3a565081d70b209a4f9e6e8f1859bf7194a5f74)
2007-10-10r22013: Move to SSPI framing (sig first in NTLM).Jeremy Allison1-3/+3
Jeremy (This used to be commit 22eaed76f01ea9d0184dcaf57adca23abc6330b9)
2007-10-10r22010: Now I'm looking at mangling again, make sureJeremy Allison1-16/+31
that we mangle any illegal names before doing any wildcard matches. That way lies least suprises. Don't merge this for 3.0.25, too dangerous. Thanks. Jeremy. (This used to be commit 8e15ef476cada7a900ff17c7ba70c729d56718bd)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher5-9/+9
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)