summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-06-06fixed the string alignment of the QUERY_EA_SIZE trans2 findfirst levelAndrew Tridgell1-2/+1
(This used to be commit ff5e37ed293b61c2585c66e7366fae478754cca1)
2003-06-06fixed the layout of the FULL_DIRECTORY_INFO trans2 findfirst levelAndrew Tridgell1-5/+5
found by samba4 smbtorture SEARCH test (This used to be commit 5a5f59cf5eec39394b8aec4aab7f2c347d617255)
2003-06-06removed the 'valgrind fix' that (although it may well remove aAndrew Tridgell1-8/+0
valgrind warning) causes us to return a completely wrong 8.3 filename in directory searches! come on guys, this close to a release you need to TEST CODE BEFORE COMMITTING (This used to be commit 381cea68b81aeb42b088677d2a8bfd410a7da329)
2003-06-06Added EA operations to VFS layer.Jeremy Allison2-1/+81
Jeremy. (This used to be commit 024de9213e414659296cb518a6753e510c64f614)
2003-06-04fixed the termination of several trans2 stringsAndrew Tridgell1-3/+3
(This used to be commit 8f23ad3054febe47b667172d680d2d19ad141416)
2003-06-04shouldn't null terminate trans2 qfileinfo all_info/nameAndrew Tridgell1-1/+1
(This used to be commit f7cd16ab58753be25bc9c7b487289361e3882da3)
2003-06-01added the COMPRESSION_INFO trans2 QFILEINFO level and fixed theAndrew Tridgell1-3/+9
IS_NAME_VALID QPATHINFO level (This used to be commit 1634346e2a6e73af80d4e68d50c6398fb24869a5)
2003-06-01fixed the ALL_INFO and ALL_INFORMATION trans2 QFILEINFO levels. TheAndrew Tridgell1-35/+2
structure we were using was completely wrong after the first few parameters. found by samba4 testsuite. Lots of other stuff also fails, but is harder to fix. (This used to be commit 6f34bd423ebb805e1e5a3b61bb5b2ca8530ce69d)
2003-05-31Got us happy running under valgrind again :-).Jeremy Allison3-0/+10
Jeremy. (This used to be commit b6ab9d73610861d225d72845d4df7cf970155e39)
2003-05-31Fixes to stop valgrind complaining about uninitialised memory when it'sJeremy Allison2-0/+16
copying clobbered buffer areas and doing hashes on them and sending them onto the wire. Jeremy. (This used to be commit 7dfcf714ae2e81fece489640e2341f132c9f567d)
2003-05-30Ensure 'blank' entries show up in both default and normal entries toJeremy Allison1-13/+7
allow them to be changed. Works well with W2K and above. Jeremy. (This used to be commit 685e4e518236079f201650f26152f6f9ad3c61ab)
2003-05-29Change get_nt_acl() to include security_info wanted. Only return this.Jeremy Allison4-235/+256
This gets us closer to W2k+ in what we return for file ACLs. Fix horribly broken make_sec_desc() that screwed up the size when given a SD with no owner or group (how did it get this bad... ?). Jeremy. (This used to be commit 183c9ed4052ab14e269ed1234ca557053f77e77a)
2003-05-28Fix bug brought up by Ken Cross that empty ACE's cause existing ACE's toJeremy Allison1-107/+14
be applied to new ACE set calls. This is incorrect. Don't think this has a bugzilla id. Jeremy. (This used to be commit cb70d8c9e87801c314d1b926d4e43ee451c04135)
2003-05-28It seems only NT4 does the VC == 0 session drop code.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 30bbf4c8c4cbed0f7980237ea9b78baa785dec3d)
2003-05-27Correct (?) handling for VC = 0. Trying to fix XP logoff leaving resourcesJeremy Allison1-1/+18
around. Jeremy. (This used to be commit bf0916e1da442606311c74ac73ccec2e9710d663)
2003-05-27volker's add_signature() fix; must pass the beginning on the outbuf to get ↵Gerald Carter1-5/+5
the flags field (This used to be commit 48c8211084503172f053ad23b308901628f8a978)
2003-05-27Fix printf warnings in debug statments.Tim Potter1-2/+2
(This used to be commit d594e60f926e5618cd61585383bee315757ba73a)
2003-05-27Fix shadow parameter warning in free_empty_sys_acl()Tim Potter1-5/+5
(This used to be commit 1b2b7766c8fa89f46f4d1c881ee91c4b0b15773a)
2003-05-27More fixes for builddir != srcdir.Tim Potter1-0/+6
- Use absolute directories for $builddir and $srcdir in the Makefile - Don't try and combine source files in $builddir and $srcdir to build proto.h. It's just too hard to get it right across all targets we wish to compile on. Use a hand created prototype for the single function in smbd/build_options.c that we need. This allows us to ditch all the extra sed work that was causing problems: \t not portable - hah! - Fix bogus delheaders target to remove the correct files This appears to work quite nicely now. Let's see how it goes on the buildfarm machines. (This used to be commit 456184463d35c18840c39cb3483b7136247ea764)
2003-05-22Stat opens can have fsp->fd == -1 and will have a share entry. EnsureJeremy Allison1-2/+10
that file_find_dif will find them. Fixes a core dump in smbd/open.c. Jeremy. (This used to be commit 0e2165630d2ce31076fef6d7098e45c8fd327e23)
2003-05-22More fixes for debug log to catch logic error.Jeremy Allison1-7/+5
Jeremy. (This used to be commit 84a7714eba801fefa7ad56493f20813de3943bc5)
2003-05-22Add more info to debug info...Jeremy Allison1-1/+5
Jeremy. (This used to be commit 6d3b72b4994a5115a1e7f0ca3912692a33fc690e)
2003-05-21fix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the ↵Gerald Carter1-1/+4
unicode plain text password if negoitated (This used to be commit e7d635af80c844f17ff9f34c26c1e9c978951ce1)
2003-05-21merge LANMAN1/LANMAN2.1 fixes from headAndrew Tridgell1-0/+2
(This used to be commit 73c686ab771b6c3e9a9335032f851083d44701c7)
2003-05-20really make sure to include the version in the lanman string; tested spnego ↵Gerald Carter1-8/+9
using smbclient (This used to be commit d7ca85613b6acf60e29cc118435db2c075995edb)
2003-05-17Cope with cumulative permissions sets. This code is #ifdef'ed out at theJeremy Allison1-1/+49
moment as I don't think cumulative permission sets make sense in POSIX even though that's the way Windows works.... Jeremy. (This used to be commit 6ddd5b6ca7dde45ce866f852861e143434c84c7e)
2003-05-16David Lee <t.d.lee@durham.ac.uk> provides some corrections to the commentsAndrew Bartlett1-39/+5
in the UTMP code. Andrew Bartlett (This used to be commit f0cff106cb6c8993eb31f589106d845261c1f8e9)
2003-05-16add metze's patch for smb_register functionsSimo Sorce1-4/+1
(This used to be commit 1480c7e8c7a84c34181118c449c50ca99fdcbc6b)
2003-05-15Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called onJeremy Allison2-5/+7
the sa_mask to prevent valgrind complaints. Jeremy. (This used to be commit e065c3a58f5c7f2612596574046a73869183dbd3)
2003-05-14fix quota build on non-64bit systemsGerald Carter2-5/+5
(This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)
2003-05-14Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy5-17/+29
Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm. (This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy16-204/+204
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-14spellingTim Potter4-5/+5
(This used to be commit 865c11275685c85124b506c9bbd2a8bde2e760b9)
2003-05-13Restore a number of fixes that idra removed when he merged hisAndrew Bartlett1-0/+1
idmap-and-the-rest from HEAD. These are correctness fixes that were already in 3.0, and a memory leak fix. The pdb_ldap changes are held back at jerry's request (he is also playing with pdb_ldap ATM). Andrew Bartlett (This used to be commit c7d5e336bd91514a02974044742b058be387e490)
2003-05-12Fix obvious compiler warnings.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 2a6d0c2481c3c34351e57c30a85004babdbf99b0)
2003-05-12And finally IDMAP in 3_0Simo Sorce7-448/+27
We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-12fixing typos in debug statementsGerald Carter1-1/+1
(This used to be commit f59bcb51cfe4e268ba43245d401d212aefdf2b72)
2003-05-12Eliminate NULL pointers from VFS interface. All hooks now really callable, ↵Alexander Bokovoy3-13/+17
producing either correct result or returning error if the feature isn't supported in the configuration (This used to be commit af0a17349e6986eef2e2fd07b4b9f0bcd33bbe1f)
2003-05-12GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave ↵Alexander Bokovoy1-1/+1
with this. Previous fix was incorrect. (This used to be commit 13e1bbd803111361bcd9c28b5086277c912c59a6)
2003-05-12A small patch from metze to fix builds on some platforms ...Richard Sharpe1-1/+1
http://lists.samba.org/pipermail/samba-technical/attachments/20030512/0332258a/vfs-fix-01.obj (This used to be commit 5d643b9d03135effa5c8fd84bf1e54a7bd075e2a)
2003-05-12Fix a wrong define check.Alexander Bokovoy1-3/+4
(This used to be commit f1c4f65ae019c61f4a8178bee094dd66506dbcae)
2003-05-12Wrap into WITH_QUOTAS yet another place in trans2Alexander Bokovoy1-1/+7
(This used to be commit fea5d85d947965bd4789ab31607fd48d78403696)
2003-05-12Better isolate quota stuffAlexander Bokovoy2-0/+12
(This used to be commit 73de13159c57de21a59d2e32216812f5d9d2292e)
2003-05-12Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy1-6/+7
(This used to be commit 01cff3e2e4e2724ed112fa62a775055192a2207b)
2003-05-12Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy1-1/+6
(This used to be commit ee5fa840686a1d9789688e7c0f1c3ca8d0175e94)
2003-05-12Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy8-46/+1274
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow (This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
2003-05-11Fix VFS layer:Alexander Bokovoy16-642/+500
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-7/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+7
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-10Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison1-9/+0
struct in the correct place. Jeremy. (This used to be commit 4cd8b276715f7e019fcee8fc3ebb2855610c4751)