summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* selftest: make it more obvious we only expect the printjob tests to fail.Günther Deschner2010-10-051-1/+2
| | | | Guenther
* s3-waf: add slightly different mkbuildoptions awk script for waf.Günther Deschner2010-10-052-1/+274
| | | | | | | | | This allows to run make test (w/o smbtorture4 for now) using waf. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 5 18:24:55 UTC 2010 on sn-devel-104
* s3-waf: use more of the NDR_ subsystems.Günther Deschner2010-10-051-8/+7
| | | | Guenther
* Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.Jeremy Allison2010-10-051-1/+1
| | | | | | | From pjb1008@cam.ac.uk - Service numbers start from 0. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 5 17:32:34 UTC 2010 on sn-devel-104
* s3-selftest: enable smb2 torture tests against samba3.Günther Deschner2010-10-052-1/+5
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 5 14:38:07 UTC 2010 on sn-devel-104
* s3-reg_parse: fix uninitialized variable in srprs_key().Günther Deschner2010-10-051-1/+1
| | | | Guenther
* s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().Günther Deschner2010-10-051-0/+3
| | | | Guenther
* s3-waf: convert NSS_INFO into a subsystem.Günther Deschner2010-10-052-8/+52
| | | | | | | | | We don't do the fancy symlinking to idmap modules though. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 5 10:50:53 UTC 2010 on sn-devel-104
* s3-waf: add RPCCLI_WINREG subsystem.Günther Deschner2010-10-051-11/+9
| | | | Guenther
* s3: Stop using the write cache after an oplock breakVolker Lendecke2010-10-051-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Oct 5 10:09:38 UTC 2010 on sn-devel-104
* s3: Fix a pointer errorVolker Lendecke2010-10-041-1/+1
| | | | | | | | | | | | | | | | It is not universally guaranteed that an enum is represented as a uint32_t. This starts to be THE BUG (tm) in Samba. What can I do to explain this to people a bit better? It seems that the verbose explanations I put into the recent checkins fixing similar bugs are not clear enough. Anybody who does is not 100% clear about what this patch fixes please contact me directly so that we can talk it through on the phone to agree on a wording that everybody can understand. Thanks, Volker
* s3: Attempt to get the Tru64 build a bit furtherVolker Lendecke2010-10-041-1/+0
|
* spoolss: fill in spoolss_SetPort IDL.Günther Deschner2010-10-041-3/+3
| | | | Guenther
* s3: Remove smbd_server_conn from msg_force_tdisVolker Lendecke2010-10-031-1/+7
|
* s3: Remove smbd_server_conn from process_blocking_lock_cancel_messageVolker Lendecke2010-10-031-1/+7
|
* s3: Remove smbd_server_conn from smb1 receive_unlock_msgVolker Lendecke2010-10-031-1/+9
|
* s3: Remove smbd_server_conn from msg_file_was_renamedVolker Lendecke2010-10-031-1/+8
|
* s3: Remove smbd_server_conn from validate_my_share_entriesVolker Lendecke2010-10-031-3/+5
|
* s3: Remove smbd_server_conn from msg_close_fileVolker Lendecke2010-10-031-1/+8
|
* s3: Remove smbd_server_conn from smb2 receive_unlock_msgVolker Lendecke2010-10-031-1/+9
|
* s3: Remove smbd_server_conn from process_kernel_oplock_breakVolker Lendecke2010-10-031-2/+8
|
* s3: Remove smbd_server_conn from process_oplock_break_messageVolker Lendecke2010-10-031-3/+8
|
* s3: Remove smbd_server_conn from process_oplock_async_level2_break_messageVolker Lendecke2010-10-031-2/+8
|
* s3: Lift smbd_server_conn from initial_break_processingVolker Lendecke2010-10-031-5/+9
|
* s3: Add msg_ctx_to_sconnVolker Lendecke2010-10-032-0/+15
|
* s3: I thought I had compiled this....Volker Lendecke2010-10-031-1/+1
|
* s3: Move #define VALGRIND to config.hVolker Lendecke2010-10-032-10/+7
| | | | This fixes the valgrind overrun in the tdb jenkins hash
* s3: Attempt to fix the IRIX buildVolker Lendecke2010-10-031-1/+1
|
* s3: Attempt to fix a ton of warnings on the build farmVolker Lendecke2010-10-033-12/+11
|
* s3: Remove talloc_autofree_context() from dmapi.cVolker Lendecke2010-10-031-2/+1
| | | | | This is a place where an explicit dmapi_destroy_session would be needed. But we don't use a destructor for this.
* s3: Remove talloc_autofree_context() from unexpected.cVolker Lendecke2010-10-031-2/+1
| | | | | Same argument as in 997a64f6fb11e19d78c: If tdb_close() was needed at exit time, we'd have more severe problems by now.
* s3: Remove talloc_autofree_context() from srv_samr_nt.cVolker Lendecke2010-10-031-4/+2
| | | | | The dispinfo structs need to survive within a process across pipe opens, but they don't have a special destructor
* s3: Remove talloc_autofree_context from pdb_interfaceVolker Lendecke2010-10-031-1/+1
| | | | | None of the pdb backends have special destructors that need to be run at program exit.
* s3: Attempt to fix the non-ads buildVolker Lendecke2010-10-031-1/+1
|
* s3: Attempt to fix bug 7665Volker Lendecke2010-10-0211-136/+295
| | | | | | | Quite a few of our internal routines put stuff on talloc_tos() these days. In top-level netapi routines, properly allocate a stackframe and clean it again. Also, don't leak memory in the rpccli_ callers onto the libnetapi context.
* 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.
* 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-019-193/+12
| | | | 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-0115-217/+17
| | | | Guenther
* 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.
* 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