summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-05s3-brlock: add a minimim retry time for pending blocking locksAndrew Tridgell1-0/+20
When we are waiting on a pending byte range lock, another smbd might exit uncleanly, and therefore not notify us of the removal of the lock, and thus not trigger the lock to be retried. We coped with this up to now by adding a message_send_all() in the SIGCHLD and cluster reconfigure handlers to send a MSG_SMB_UNLOCK to all smbd processes. That would generate O(N^2) work when a large number of clients disconnected at once (such as on a network outage), which could leave the whole system unusable for a very long time (many minutes, or even longer). By adding a minimum re-check time for pending byte range locks we avoid this problem by ensuring that pending locks are retried at a more regular interval.
2010-02-06s4-ldb: fixed api.py selftestAndrew Tridgell1-1/+1
subunitrun seemed to be calling a test from its own source, instead of the samba test. Fix this by calling the test directly.
2010-02-05Remove now unused variable.Jeremy Allison1-1/+0
Jeremy.
2010-02-05Fix bug 7104 - "wide links" and "unix extensions" are incompatible.Jeremy Allison6-42/+22
Change parameter "wide links" to default to "no". Ensure "wide links = no" if "unix extensions = yes" on a share. Fix man pages to refect this. Remove "within share" checks for a UNIX symlink set - even if widelinks = no. The server will not follow that link anyway. Correct DEBUG message in check_reduced_name() to add missing "\n" so it's really clear when a path is being denied as it's outside the enclosing share path. Jeremy.
2010-02-05s3: Make use of ZERO_STRUCTPVolker Lendecke1-1/+2
2010-02-05s3: Remove a pointless if-statementVolker Lendecke1-1/+1
2010-02-05s3: Make guest_user_info() staticVolker Lendecke2-2/+1
2010-02-05s3: Hide some uses of pdb_get_init_flags (which I would love to remove...)Volker Lendecke2-2/+2
2010-02-05s3: Fix some nonempty blank linesVolker Lendecke2-35/+34
2010-02-05s4:UID wrapper - Make it work on older distributionsMatthias Dieter Wallnöfer2-4/+20
On my older CentOS 4 installation I had the problem with the missing substitution prototypes ("uwrap_*"). So I added them to "uid_wrapper.h". Also, I made the head of the "uid_wrapper.c" file more like the one of "nss_wrapper.c" - it shouldn't change that much, I did it only to be consistent. This patch should fix the build on older distributions while keep it running on newer ones.
2010-02-05s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer6-19/+37
The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
2010-02-05NSS wrapper - add dependency to "nsstest"Matthias Dieter Wallnöfer1-1/+2
The code part makes use of the "NSS wrapper" if it is enabled. Surprisingly the build process doesn't break with the missing dependency on more recent systems. But with an older CentOS 4 installation it has been broken. This patch should fix the problem on older distributions while keep the build running on newer ones.
2010-02-05s4:Heimdal build - never require the NSS wrapper for Heimdal KerberosMatthias Dieter Wallnöfer1-5/+5
Disable the use of it in the heimdal code. Notice: This doesn't need to be ported upstream since it only affects the build in conjunction with s4.
2010-02-05s3: normalize "Changing password for" msg IDs and STRsLars Müller18-30/+30
An additional space at the end of the "Changing password for" msgid lead to untranslated pam_winnind messages.
2010-02-05s4/drs: propagate DRS_ extension flags in code baseKamen Mazdrashki3-3/+3
2010-02-05s4/idl: Regenerate IDL for DRSUAPI interfaceKamen Mazdrashki2-6/+8
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN ext. flag for DRSUAPIKamen Mazdrashki1-1/+2
This flag corresponds to DRS_EXT_RECYCLE_BIN extended flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC has enabled the Recycle Binoptional feature.
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 flag for DRSUAPIKamen Mazdrashki1-1/+1
This flag corresponds to DRS_EXT_GETCHGREQ_V10 flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V10.
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 flag for DRSUAPIKamen Mazdrashki1-1/+1
This flag corresponds to DRS_EXT_GETCHGREQ_V5 flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V5.
2010-02-05s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY flag for DRSUAPIKamen Mazdrashki1-1/+1
This flag corresponds to DRS_EXT_ADDENTRY flag in [MS-DRSR] documentation. Reference: [MS-DRSR] - 5.37 Description: If present, signifies that the DC supports IDL_DRSAddEntry.
2010-02-04Fix bug 7075 - bug in vfs_scannedonly rmdir implementation.Jeremy Allison1-1/+5
Check for NULL on opendir, correctly call next rmdir. Jeremy.
2010-02-04s3:passdb: fix a type Domain Users has RID -513Stefan Metzmacher1-1/+1
metze
2010-02-04s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()Stefan Metzmacher1-2/+3
When we need to do more than one network operation to get the browse list we need to use the same 'stype' value each time. metze
2010-02-04s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell3-6/+12
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-04s4:mark the SYSTEM control always as non-criticalMatthias Dieter Wallnöfer1-0/+29
It is needed to not break the various LDAP backends. For reference look at bug #7040.
2010-02-04s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might ↵Björn Jacke1-1/+1
require it
2010-02-04s3: fix build on Tru64 after it broke with deactivating pthread pool supportBjörn Jacke1-3/+6
2010-02-04s3:vfs_scannedonly: fix build on HP-UXBjörn Jacke1-0/+6
2010-02-03net: Fix python 2.4 compatibility.Jelmer Vernooij1-0/+5
2010-02-03s3: Simplify the code a bit: Catch (len==0) earlyVolker Lendecke1-7/+4
2010-02-03update samba schema for IBM Directory ServerChristian Ambach1-2/+2
this increases the sambapasswordhistory field length to 64 and fixes a warning about a wrong booleanmatch setting Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-02-02Fix bug 7081 - vfs_expand_msdfs doesn't work correctly (with fix identified)Jeremy Allison1-3/+16
Fix inspired by idea from Eric Horst <erich@cac.washington.edu>. Jeremy.
2010-02-02Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.Jeremy Allison1-2/+9
Reported and found by Martin Hochreiter <linuxbox@wavenet.at>. Ensure we copy the right amount of registry data into the outgoing buffer. Jeremy.
2010-02-02s3:configure: check complete set of EA functions only when we found at least oneBjörn Jacke1-28/+18
this saves us some time in configure
2010-02-02Change uint_t to unsigned int in source4Matt Kraai61-290/+290
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in source3Matt Kraai2-8/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in pidlMatt Kraai1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in libcliMatt Kraai5-5/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/utilMatt Kraai4-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/tallocMatt Kraai2-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/cryptoMatt Kraai1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/replaceMatt Kraai4-4/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher1-1/+1
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
2010-02-01Add debug to make it clear when EA dosmode set is invoked.Jeremy Allison1-0/+5
Jeremy.
2010-02-01Fix bug #7084 - Create time on directories not stored properly in an EA in ↵Jeremy Allison1-7/+0
new create time code. Remove erroneous optimisation that caused no EA to be set if calculated btime matched st_ex btime, and calculated DOS attribute matched existing file attribute. Jeremy.
2010-02-01Torture test for bug 7084 - Create time on directories not stored properly ↵Jeremy Allison2-1/+88
in an EA in new create time code. Ensure new files in a directory don't reset the create time. Jeremy.
2010-02-01Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown ↵Jeremy Allison1-1/+1
when logged as root.. Doh ! Jeremy.
2010-02-01Fix bug #7080 - Quota only shown when logged as root.Jeremy Allison1-1/+1
conn->server_info->utok.uid == 0 isn't the correct check to see if we're root anymore. As rpc_samr_nt.c does, the correct check is : geteuid() == sec_initial_uid() Jeremy.
2010-02-01s4:NBT-WINS: test large scopesStefan Metzmacher1-0/+37
metze
2010-02-01s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher1-18/+39
metze