summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-07libwbclient: wbc_create_error_info is always called with mem_ctx==NULLVolker Lendecke1-18/+10
2010-02-07s4-registry: fixed byte order assumptionsAndrew Tridgell4-7/+9
the registry tests were broken on big-endian systems
2010-02-06tdb: raise version to 1.2.1Simo Sorce3-3/+3
after recent fixes we need to raise the version to 1.2.1 so that we can require also the right patched version.
2010-02-06pam_winbind: Remove a nested if-statement. Bo, please check!Volker Lendecke1-4/+2
2010-02-06pam_winbind: Use strchr instead of strstr for a single characterVolker Lendecke1-1/+1
2010-02-05Fix trailing whitespace errors I added (sorry).Jeremy Allison2-5/+5
Jeremy.
2010-02-07s3: Fix malformed require_membership_of_sid.Bo Yang1-0/+12
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-05s3-events: make the old timed events compatible with teventAndrew Tridgell1-2/+19
tevent ensures that a timed event is only called once. The old events code relied on the called handler removing the event itself. If the handler removed the event after calling a function which invoked the event loop then the timed event could loop forever. This change makes the two timed event systems more compatible, by allowing the handler to free the te if it wants to, but ensuring it is off the linked list of events before the handler is called, and ensuring it is freed even if the handler doesn't free it.
2010-02-05s3-smbd: add a rate limited cleanup of brl, connections and locking dbAndrew Tridgell1-6/+42
On unclean shutdown we can end up with stale entries in the brlock, connections and locking db. Previously we would do the cleanup on every unclean exit, but that can cause smbd to be completely unavailable for several minutes when a large number of child smbd processes exit. This adds a rate limited cleanup of the databases, with the default that cleanup happens at most every 20s
2010-02-05s3-brlock: we don't need these MSG_SMB_UNLOCK calls nowAndrew Tridgell2-10/+0
These have been replaced with the min timeout in blocking.c
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>