summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-10-05s3-waf: convert NSS_INFO into a subsystem.Günther Deschner2-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
2010-10-05s3-waf: add RPCCLI_WINREG subsystem.Günther Deschner1-11/+9
Guenther
2010-10-05s3: Stop using the write cache after an oplock breakVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Oct 5 10:09:38 UTC 2010 on sn-devel-104
2010-10-04s3: Fix a pointer errorVolker Lendecke1-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
2010-10-04s3: Attempt to get the Tru64 build a bit furtherVolker Lendecke1-1/+0
2010-10-04spoolss: fill in spoolss_SetPort IDL.Günther Deschner1-3/+3
Guenther
2010-10-03s3: Remove smbd_server_conn from msg_force_tdisVolker Lendecke1-1/+7
2010-10-03s3: Remove smbd_server_conn from process_blocking_lock_cancel_messageVolker Lendecke1-1/+7
2010-10-03s3: Remove smbd_server_conn from smb1 receive_unlock_msgVolker Lendecke1-1/+9
2010-10-03s3: Remove smbd_server_conn from msg_file_was_renamedVolker Lendecke1-1/+8
2010-10-03s3: Remove smbd_server_conn from validate_my_share_entriesVolker Lendecke1-3/+5
2010-10-03s3: Remove smbd_server_conn from msg_close_fileVolker Lendecke1-1/+8
2010-10-03s3: Remove smbd_server_conn from smb2 receive_unlock_msgVolker Lendecke1-1/+9
2010-10-03s3: Remove smbd_server_conn from process_kernel_oplock_breakVolker Lendecke1-2/+8
2010-10-03s3: Remove smbd_server_conn from process_oplock_break_messageVolker Lendecke1-3/+8
2010-10-03s3: Remove smbd_server_conn from process_oplock_async_level2_break_messageVolker Lendecke1-2/+8
2010-10-03s3: Lift smbd_server_conn from initial_break_processingVolker Lendecke1-5/+9
2010-10-03s3: Add msg_ctx_to_sconnVolker Lendecke2-0/+15
2010-10-03s3: I thought I had compiled this....Volker Lendecke1-1/+1
2010-10-03s3: Move #define VALGRIND to config.hVolker Lendecke2-10/+7
This fixes the valgrind overrun in the tdb jenkins hash
2010-10-03s3: Attempt to fix the IRIX buildVolker Lendecke1-1/+1
2010-10-03s3: Attempt to fix a ton of warnings on the build farmVolker Lendecke3-12/+11
2010-10-03s3: Remove talloc_autofree_context() from dmapi.cVolker Lendecke1-2/+1
This is a place where an explicit dmapi_destroy_session would be needed. But we don't use a destructor for this.
2010-10-03s3: Remove talloc_autofree_context() from unexpected.cVolker Lendecke1-2/+1
Same argument as in 997a64f6fb11e19d78c: If tdb_close() was needed at exit time, we'd have more severe problems by now.
2010-10-03s3: Remove talloc_autofree_context() from srv_samr_nt.cVolker Lendecke1-4/+2
The dispinfo structs need to survive within a process across pipe opens, but they don't have a special destructor
2010-10-03s3: Remove talloc_autofree_context from pdb_interfaceVolker Lendecke1-1/+1
None of the pdb backends have special destructors that need to be run at program exit.
2010-10-03s3: Attempt to fix the non-ads buildVolker Lendecke1-1/+1
2010-10-02s3: Attempt to fix bug 7665Volker Lendecke11-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.
2010-10-02s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as ↵Günther Deschner1-0/+13
seen from Win7 clients. These suffixes and their meaning are not documented (yet). Guenther
2010-10-02s3-spoolss: Fixed print job access.Andreas Schneider1-4/+4
2010-10-02s3-spoolss: Fixed print_access_check server_info.Andreas Schneider2-3/+3
2010-10-01s3:smbd: Increase unsupported IOCTL debug message to 2Steven Danneman1-2/+4
Even printing once per connection, level 0 was too spammy with Windows clients frequently sending FSCTL_GET_OBJECT_ID which is unsupported.
2010-10-01s3:events: Call all ready fd event handlers on each iteration of the main loopSteven Danneman5-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.
2010-10-01s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10.Günther Deschner1-1/+1
Guenther
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner9-193/+12
Guenther
2010-10-01s3-readline: move cmd_history to smbclient, the only user.Günther Deschner3-22/+20
Guenther
2010-10-01samba: share select wrappers.Günther Deschner15-217/+17
Guenther
2010-10-01s3-selftest: fix prefix in subunit output.Jelmer Vernooij1-3/+3
2010-10-01s3: Add subunit-test target.Jelmer Vernooij2-1/+7
2010-10-01s3-configure: Require at least version 1.2.6 of external TDB, which hasJelmer Vernooij1-1/+1
TDB_INCOMPATIBLE_HASH.
2010-10-01s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since theGünther Deschner1-3/+6
days we moved away from fstrings. Guenther
2010-10-01s3-net: better handle obscure 0x80070002 error reply when trying to update anGünther Deschner1-3/+7
not yet published printer. Guenther
2010-10-01s3-net: make sure we dont crash when publishing a single printer.Günther Deschner1-0/+5
Guenther
2010-10-01s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as ↵Günther Deschner1-7/+13
seen from win7. Guenther
2010-10-01s3-spoolss: dont overwrite location change notify.Günther Deschner3-3/+19
Guenther
2010-10-01s3-selftest: added samba3.posix_s3.rpc.spoolss.printer to knownfailAndrew Tridgell1-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
2010-09-30s3: Add "smbcontrol winbindd ip-dropped <local-ip>"Volker Lendecke6-0/+87
This is supposed to improve the winbind reconnect time after an ip address has been moved away from a box. Any kind of HA scenario will benefit from this, because winbindd does not have to wait for the TCP timeout to kick in when a local IP address has been dropped and DC replies are not received anymore.
2010-09-30s3: Re-introduce a procid_self()Volker Lendecke1-1/+1
Giving the parent pid to reinit_after_fork is not a good idea.... None of the other callers do this, checked it.
2010-09-30s3: Fix a typo in dump-domain-list smbcontrol usage msgVolker Lendecke1-1/+1
2010-09-30s3-spoolss: make sure to exit early and with the appropriate error code inGünther Deschner1-0/+4
_spoolss_GetPrinterDriver2. Guenther