summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6473: Fix for bug #2644 - test for special files to be ignored was reversed.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7c173dec2efcbe3fe42ffb9a2e85f3fbc8710ec4)
2007-10-10r6417: Strange old IRIX systems return -1 for telldir() whenJeremy Allison1-4/+0
end of directory reached. Don't check for that and bail when reading directory entries as it's a valid value. Excellent work from Cale Fairchild <cale@brocku.ca> tracked this down. Jeremy. (This used to be commit a60fe9aba16eac4f195a2359d8b7672d8c8aa240)
2007-10-10r6408: Fix compile error lurking where PATH_MAX is not defined. Bugzilla #2560.Tim Potter1-1/+1
(This used to be commit 5921fcadd5bdf8e600132db6d5cc6393f3d26f58)
2007-10-10r6385: Convert checking of egid and secondary egid list intoJeremy Allison2-32/+40
iterator functions so it can be used easily in a for loop. Drops duplicated code from posix_acls.c Jeremy. (This used to be commit 81f30bf5985f5c6dc8399c4695dfa6f14140fde1)
2007-10-10r6378: Other systems may not return 1 for checking WRITE permission.Jeremy Allison1-0/+13
Canaonicalise any +ve return to 1. Jeremy. (This used to be commit e594222d0ba7713088420f6c6603a74c1d5def8e)
2007-10-10r6365: Wow, how much worse does this get. From info provided byJeremy Allison1-0/+26
Eric Stewart <eric@lib.usf.edu> I realised we weren't checking against the current effective groupid (set by force group) as well as the group list. Fix this. Jeremy. (This used to be commit 0c4058c0732b1faa87ca64b8f95ad2fe3106a69f)
2007-10-10r6346: Add a counter for the number of SMB operations per connection/file.Jeremy Allison1-2/+6
You will need to do a make clean after SVN updating this. Next will come a smbcontrol message to dump this info. This should be interesting to profile client activity. Jeremy. (This used to be commit 743174da86ac724fc9ee3d4b7bd9a2a97a234bd8)
2007-10-10r6344: Fix bug #2601 - it seems that DOS_OPEN_EXEC does mean readonly. NeededJeremy Allison1-1/+1
for Win9x and OS/2 clients. More Samba4 tests against W2k3 will be needed to confirm this but in the meantime get it up and running. Jeremy. (This used to be commit 77c0ade9fa1e6a31739823be0faa50799bac2775)
2007-10-10r6316: Remove over-cautious asserts. Damn wish I'd made the releaseJeremy Allison1-4/+9
with this.... Jeremy. (This used to be commit 11c464268df2a0a5155e93d4a7d053d2920fcff0)
2007-10-10r6307: Ensure info requested bitmask is printed in log when querying ↵Jeremy Allison1-1/+2
security descriptors. Jeremy. (This used to be commit 4db288e3143c1ce691ae586a7353da00fec85879)
2007-10-10r6302: OS/2 fix from Marcel Müller <mueller@maazl.de>. Don't check for ↵Jeremy Allison1-1/+2
mangled names if mangled names is off. Jeremy. (This used to be commit b2330c38881baceaafe1ef6b7ce00d1b5cd8d5c7)
2007-10-10r6297: Fix bug in our trans2 secondary processing. We need to pass in theJeremy Allison1-4/+4
trans2 call info from the primary trans2 packet as it isn't present in secondary transs packets. We only need to do this for functions that satisfy more than one case in the switch statement. Found by Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 62edc3d5dc68fbfe6cd77c588791453e29274dd9)
2007-10-10r6279: Convert the RAP enum functions to the pdb_search API. Who is using thisVolker Lendecke1-45/+56
nowadays? This looks rather broken, but survives basic tests with 'net'. Volker (This used to be commit 7ae1b94e3eda574729272238cd08e83a33278a7e)
2007-10-10r6269: With help from Marcel Müller <mueller@maazl.de> in tracking down the ↵Jeremy Allison2-4/+10
bug, fix trans2 and nttrans secondary packet processing. We were being too strict checking the incoming packet (by 1 byte). Jeremy. (This used to be commit 3eea1ff4b7428325c7f304bcac61d6297209a4b8)
2007-10-10r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke2-9/+3
initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
2007-10-10r6261: Tidyup message str printf. Ensure tvs struct is zeroed.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 6c9f227ef400f32def85268f411691b569d29889)
2007-10-10r6258: Fix found by OS/2 set_ea call. When setting specific info remember to ↵Jeremy Allison1-5/+20
terminate once we've done that and not "break" into the generic file metadata set code. Jeremy. (This used to be commit f1e12be9ed0ca0077bac8e5f32051758e1d84ad7)
2007-10-10r6252: Re-order position of become_root() to allow directory to beJeremy Allison1-3/+4
read first. Jeremy. (This used to be commit 9fa32282ebe78c3ecd433e8ece600881774560b7)
2007-10-10r6249: Get the comparison the right way around...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1d542eee571b80259568d49bd5dc2eb14fd80d01)
2007-10-10r6242: after talking to jeremy, we can actually consolidateGerald Carter2-9/+11
the 2 BOOL flags in dfs_redirect() down to one since they both are used in essentially the same context (from what we can tell). Tested Win98SE, WinXP sp 1 & 2, Win2k3 sp1, and WIn2k Sp4. All dfs operations still seem to work. (This used to be commit 59ffacf59c98f2f8277d76ec22712e438fd40618)
2007-10-10r6240: Fix for bug #2581. Add size limit (in kb) to stat cache.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 836b73d0018c3137b7a924b6345e69ae5d23431d)
2007-10-10r6237: fix my breakage of WinXP sp2 msdfs support.Gerald Carter2-6/+17
We did need the special case for RESOLVE_DFSPATH in the findfirst() code. Jeremy, please verify I haven't broken the allow_wcard code you added to resolve_dfs_path() (This used to be commit 29983398e2f7f1dc609d4d981e20f594918243bb)
2007-10-10r6234: Fix for possible root squash nfs bugs from psz@maths.usyd.edu.auJeremy Allison2-1/+9
Jeremy. (This used to be commit dbf021a2e04e74dd7f072c927a34043fd8c3ae30)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis16-70/+55
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
2007-10-10r6204: Fix double-free of talloc context.Jeremy Allison1-1/+0
Jeremy. (This used to be commit d5c56d25741e148ccae7c91f9b0157498d7ff148)
2007-10-10r6203: Fix attribute return on creating a directory with nttrans_create.Jeremy Allison3-46/+61
Fix strange allocation semantics of openX. Jeremy. (This used to be commit da5a8b539d39d2765de22c3e55e9f284992ff966)
2007-10-10r6200: Returned access should contain share mode as well as open mode.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3aa784c07723430b429adc9abab9cc7c1325cb35)
2007-10-10r6199: Only do the strange DOS error for openX, not trans2open.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 65970dfc5b8f174fe29201789d6ddcf8802ad48c)
2007-10-10r6174: Fixup T2 open call - we were returning 2 bytes short.Jeremy Allison3-25/+35
Jeremy. (This used to be commit 0c7de7615bf0edbb36a3afee445db13a71e26d2e)
2007-10-10r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global ↵Jeremy Allison8-202/+165
nastyness. Jeremy. (This used to be commit d3379fe61bb934082b51a37adac232a96bafcf46)
2007-10-10r6169: Fix bug #2563. Infinite loop on non-existant file with findnext.Jeremy Allison1-3/+2
Jeremy (This used to be commit 065ab9182dc39557b8c26d3d110abe9963ad9568)
2007-10-10r6163: Well I never, all this time the t2open code was incorrectly dectingJeremy Allison1-1/+5
oplock requests and no one noticed. Hmmm. Don't think this is a commonly used codepath :-). Jeremy. (This used to be commit 75a0c11de4b7baf693e5c62e690e4bb26554f8e2)
2007-10-10r6160: Ensure allocation size is correctly returned for OpenX. Only set ↵Jeremy Allison2-34/+51
allocation on create/truncate for nttrans. Jeremy. (This used to be commit fb05ac4c03eec21f3f18668610022ebfa6d6bf4a)
2007-10-10r6152: Correctly check OpenX open modes.Jeremy Allison1-13/+35
Jeremy. (This used to be commit 326124a7b366feaca6162f7defae89618b005adc)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman3-8/+18
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r6146: Added OS/2 EA support in trans2_open and trans2_mkdir. Fixed in ↵Jeremy Allison2-29/+126
nttrans_create. Jeremy. (This used to be commit 989fcb4c084c63f1e3b114af68ef5bc0a2fbc09e)
2007-10-10r6141: Fix OS/2 EA's for NTcreate. OpenX and mkdir to follow.Jeremy Allison2-57/+150
Jeremy. (This used to be commit 106f91ff65acd23a7dda4d0ec89ae41ecb28153e)
2007-10-10r6138: Refactor length reading out of EA code so we can read lengthJeremy Allison1-15/+22
external to buffer. Needed to add EA code to create calls. Jeremy. (This used to be commit 7c4262d6ba48695c2622ea2eba8da6ac889ce543)
2007-10-10r6124: Fix for bug #2242 from Tom Lackemann <cessnatomny@yahoo.com> - don'tJeremy Allison1-7/+20
set SD on an NTtransact create unless we created the file. Jeremy. (This used to be commit b42eaf424e34544fae3f0fc473694e61dda2a11c)
2007-10-10r6122: Added "hack" fix for broken SMB_INFO_VOLUME level - used by OS/2Jeremy Allison1-1/+7
I believe. Reported as fixed by Marcel Müller <mueller@maazl.de>. Jeremy. (This used to be commit 14eab937a54dd9f02f289d7e2f47c78c834714a3)
2007-10-10r6106: Fix bug #2551. It turns out that the incoming flags2 flag ↵Jeremy Allison1-4/+11
FLAGS2_LONG_PATH_COMPONENTS determines if a reply is uppercased on a SMBsearch request, not the protocol level. This could clear up quite a few hacks going forward I think. Jeremy. (This used to be commit 8c64cd368fdd2c5a4b361904855c135ade3f449e)
2007-10-10r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk ↵Jeremy Allison1-0/+2
<guenter.kukkukk@kukkukk.com> Jeremy. (This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)
2007-10-10r6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select ↵Jeremy Allison2-1/+2
LANMAN2 protocol, ensure the EA size is always correctly set on a query for a file with no EA's. Jeremy. (This used to be commit d6ad1f8df05e16152d9c95df56e612fde288d3b4)
2007-10-10r6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LISTJeremy Allison1-10/+2
info level. Jeremy. (This used to be commit e15c36e9497b5e92c0f743a522cd0adb96d22295)
2007-10-10r6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as ↵Jeremy Allison1-1/+4
this SMB is DOS codepage only. Jeremy. (This used to be commit 56cc756b9d14db23b2640c347f729fa90dad9b6a)
2007-10-10r6060: It's not quite accurate to say not having write access causes a groupJeremy Allison1-8/+9
entry never to match - it matches but if doesn't grant access is recorded so the "other" entry isn't subsequently checked. Fix the algorithm. Jeremy. (This used to be commit e3c7d08bb68f51bc05768467feb0af896a059e91)
2007-10-10r6057: Don't put the assert in the wrong place :-).Jeremy Allison1-4/+3
Jeremy. (This used to be commit 6609b209f513f0859040686a88ee6c7106c06008)
2007-10-10r6055: Fix algorithm. If any of the primary or supplementary group ids matchJeremy Allison1-2/+18
a "allow" entry of GROUP or GROUP_OBJ, then access is allowed. It doesn't terminate on the first match. Added debug to show where the match occured (or didn't). Jeremy. (This used to be commit 81fb3372867fa66a092841222e02bd1c104b2d19)
2007-10-10r6053: Fixup dfs path with the new wildcard parser code split out.Jeremy Allison4-30/+25
Jeremy. (This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)
2007-10-10r6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel ↵Jeremy Allison2-50/+109
"read-only" issue. Jeremy. (This used to be commit 80e788143a6c3d973d3b8e57d91ca5c4a83605b2)