summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as ↵Günther Deschner2010-10-021-0/+13
| | | | | | | | seen from Win7 clients. These suffixes and their meaning are not documented (yet). Guenther
* s3-spoolss: Fixed print job access.Andreas Schneider2010-10-021-4/+4
|
* s3-spoolss: Fixed print_access_check server_info.Andreas Schneider2010-10-022-3/+3
|
* s3:smbd: Increase unsupported IOCTL debug message to 2Steven Danneman2010-10-011-2/+4
| | | | | | Even printing once per connection, level 0 was too spammy with Windows clients frequently sending FSCTL_GET_OBJECT_ID which is unsupported.
* s3:events: Call all ready fd event handlers on each iteration of the main loopSteven Danneman2010-10-015-33/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only one fd handler was being called per main message loop in all smbd child processes. In the case where multiple fds are available for reading the fd corresponding to the event closest to the beginning of the event list would be run. Obviously this is arbitrary and could cause unfairness. Usually, the first event fd is the network socket, meaning heavy load of client requests can starve out other fd events such as oplock or notify upcalls from the kernel. In this patch, I have changed the behavior of run_events() to unset any fd that it has already called a handler function, as well as decrement the number of fds that were returned from select(). This allows the caller of run_events() to iterate it, until all available fds have been handled. I then changed the main loop in smbd child processes to iterate run_events(). This way, all available fds are handled on each wake of select, while still checking for timed or signalled events between each handler function call. I also added an explicit check for EINTR from select(), which previously was masked by the fact that run_events() would handle any signal event before the return code was checked. This required a signature change to run_events() but all other callers should have no change in their behavior. I also fixed a bug in run_events() where it could be called with a selrtn value of -1, doing unecessary looping through the fd_event list when no fds were available. Also, remove the temporary echo handler hack, as all fds should be treated fairly now.
* testprogs: print architecture used in win32 spoolss testsuite.Günther Deschner2010-10-011-5/+9
| | | | Guenther
* s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10.Günther Deschner2010-10-011-1/+1
| | | | Guenther
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-0121-35/+35
| | | | Guenther
* s3-readline: move cmd_history to smbclient, the only user.Günther Deschner2010-10-013-22/+20
| | | | Guenther
* samba: share select wrappers.Günther Deschner2010-10-0119-65/+60
| | | | Guenther
* s4-auth: fixed a vagrind error when creating keytabsAndrew Tridgell2010-10-011-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* autobuild: revert a bit more of the subunit changesAndrew Tridgell2010-10-011-2/+2
| | | | still not quite right - we can enable this again once its fully tested
* autobuild: disable the subuit changes for now - they break error checkingAndrew Tridgell2010-10-011-2/+2
|
* autobuild: fixed the tuples in the retry_taskAndrew Tridgell2010-10-011-2/+3
| | | | | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 1 18:22:22 UTC 2010 on sn-devel-104
* autobuild: cwd is needed on all command typesAndrew Tridgell2010-10-011-2/+2
|
* s4-rpmd: fixed a use after realloc bugAndrew Tridgell2010-10-011-2/+8
| | | | | | | we could use old_el after the base message had been re allocated, due to adding timestamps. We need to re-find the element before using it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fail the transaction instead of asserting on errorAndrew Tridgell2010-10-011-2/+10
| | | | | | | | It is more useful to fail the transaction and give the user an error message than to assert when we have an error in the repl_meta_data module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* autobuild: Avoid unnecessary chdir() calls.Jelmer Vernooij2010-10-011-11/+7
|
* autobuild: Output test results in subunit.Jelmer Vernooij2010-10-011-3/+5
|
* s3-selftest: fix prefix in subunit output.Jelmer Vernooij2010-10-011-3/+3
|
* s3: Add subunit-test target.Jelmer Vernooij2010-10-012-1/+7
|
* s3-configure: Require at least version 1.2.6 of external TDB, which hasJelmer Vernooij2010-10-011-1/+1
| | | | TDB_INCOMPATIBLE_HASH.
* s4: Add 'subunit-test' make target.Jelmer Vernooij2010-10-011-0/+3
|
* autobuild: Provide more information about build sequence, stage name and ↵Jelmer Vernooij2010-10-011-51/+54
| | | | output mime type (all plain text for now).
* autobuild: Add --always-email option.Jelmer Vernooij2010-10-011-0/+33
|
* autobuild-remote: Support autobuild.py rather than land.py.Jelmer Vernooij2010-10-012-50/+70
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 1 09:46:37 UTC 2010 on sn-devel-104
* Remove land.py - it's been obsoleted by autobuild.py.Jelmer Vernooij2010-10-011-118/+0
|
* autobuild: Add --daemon option.Jelmer Vernooij2010-10-011-0/+31
|
* autobuild: Remove autogen step for projects that have checked in configure.Jelmer Vernooij2010-10-011-6/+3
|
* autobuild: Simplify find_git_root.Jelmer Vernooij2010-10-011-11/+6
|
* pidl: Fix handling of typedefs of typedefs.Jelmer Vernooij2010-10-011-3/+4
|
* s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since theGünther Deschner2010-10-011-3/+6
| | | | | | days we moved away from fstrings. Guenther
* s3-net: better handle obscure 0x80070002 error reply when trying to update anGünther Deschner2010-10-011-3/+7
| | | | | | not yet published printer. Guenther
* s3-net: make sure we dont crash when publishing a single printer.Günther Deschner2010-10-011-0/+5
| | | | Guenther
* s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as ↵Günther Deschner2010-10-011-7/+13
| | | | | | seen from win7. Guenther
* s3-spoolss: dont overwrite location change notify.Günther Deschner2010-10-013-3/+19
| | | | Guenther
* s3-selftest: added samba3.posix_s3.rpc.spoolss.printer to knownfailAndrew Tridgell2010-10-011-0/+1
| | | | | | | | this fails intermittently on sn-devel. Guenther suggested adding it to knownfail Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 1 04:37:36 UTC 2010 on sn-devel-104
* heimdal: added verbose logging of hemimdal crypto errorsAndrew Bartlett2010-09-301-2/+15
|
* autobuild: fixed the --tail option for new log locationsAndrew Tridgell2010-09-301-1/+1
|
* s4-rodc: don't set SPECIAL_SECRET_PROCESSING on EXOP_REPL_SECRETAndrew Tridgell2010-09-301-0/+3
| | | | | | otherwise we don't get the secrets! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-spn: don't try and send an empty SPN listAndrew Tridgell2010-09-301-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* selftest: Let selftest provide the tempdir, rather than creating it as ↵Jelmer Vernooij2010-10-013-6/+6
| | | | sideeffect of tests.py.
* selftest: fixed a selftest error on snAndrew Tridgell2010-09-301-1/+1
| | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* delete_object: Remove unnecessary pass calls.Jelmer Vernooij2010-10-011-7/+0
|
* s4-selftest: Remove unnecessary PYTHONPATH overrides.Jelmer Vernooij2010-10-011-6/+6
|
* s4-selftest: Normalize paths.Jelmer Vernooij2010-10-011-5/+5
|
* s4-selftest: Finish conversion of selftest.sh to Python.Jelmer Vernooij2010-10-012-104/+104
|
* s4-selftest: Convert tests.sh to Python.Jelmer Vernooij2010-10-012-544/+510
|
* autobuild: push of ref/notes/commits isn't allowed in masterAndrew Tridgell2010-09-301-1/+3
| | | | | | | metze may enable this later Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104
* s4-provision: wipe the old keytabs when provisioningAndrew Tridgell2010-09-302-7/+29
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>