summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: separate tdb validation code out into its own source fileMichael Adam2009-01-286-500/+585
| | | | | | | So this gets now linked only into its single user: winbindd (needed by winbindd_cache.c) Michael
* Fix detection of dns_sd libraries.Jeremy Allison2009-01-271-1/+1
| | | | Jeremy.
* Move S3 specific parameters to S3 conf file in make test.Steven Danneman2009-01-271-2/+3
|
* s3: Fix shadowed declarationTim Prouty2009-01-271-1/+1
|
* s3:rpc_server: use get_client_fd() instead of smbd_server_fd()Stefan Metzmacher2009-01-271-1/+1
| | | | | | | Both are absolutely the same, but smbd_server_fd() is otherwise only used in smbd/*.c and would like to remove smbd_server_fd() soon. metze
* s3:smbd: wait for new connection via fd eventsStefan Metzmacher2009-01-271-211/+227
| | | | metze
* s3:smbd: make mdns registration event driven.Stefan Metzmacher2009-01-274-147/+111
| | | | metze
* s3:smbd: make inetd code path more clearStefan Metzmacher2009-01-271-24/+20
| | | | metze
* s3:smbd: make kernel oplocks event drivenStefan Metzmacher2009-01-278-206/+34
| | | | | | And use signal events for Linux oplocks. metze
* s3:smbd: remove pointless respond_to_all_remaining_local_messages() functionStefan Metzmacher2009-01-273-28/+0
| | | | | | | This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze
* s3:smbd: convert aio to use tevent_signalStefan Metzmacher2009-01-275-123/+54
| | | | metze
* s3:nmbd: handle SIG_TERM and SIGHUP via teventStefan Metzmacher2009-01-271-48/+67
| | | | metze
* s3:nmbd: as the sig_term() handler only sets a flag we don't need to block ↵Stefan Metzmacher2009-01-273-23/+0
| | | | | | | | | SIGTERM The arguments of commit d98bea900ee694cdba83149620c65bd7f8765f26 are no longer valid. metze
* s3:nmbd: install the SIG_DFL handler for SIGTERM while we're waiting for ↵Stefan Metzmacher2009-01-271-12/+4
| | | | | | | | | interfaces We should handle all 3 cases where we actively wait for interfaces in the same way. metze
* s3:winbindd: handle SIG_TERM, SIGHUP, SIGCHLD and SIGUSR2 via teventStefan Metzmacher2009-01-273-77/+165
| | | | metze
* s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLDStefan Metzmacher2009-01-276-111/+107
| | | | metze
* s3:smbd: move all code that handles a client connection into smbd_process()Stefan Metzmacher2009-01-272-218/+218
| | | | metze
* s3:smbd: we should setup the client socket in the same way in all code pathesStefan Metzmacher2009-01-271-21/+15
| | | | | | We should behave the same in inetd, interactive and deamon modes. metze
* s3:namecache: remove unused namecache_shutdown() functionStefan Metzmacher2009-01-273-24/+0
| | | | metze
* async_req: Fix the S4 buildKai Blin2009-01-272-2/+2
|
* s3 build: Eliminate the gmake-specific Makefile syntaxTim Prouty2009-01-273-15/+7
|
* s3 make test: Fix a bug in the previous commitTim Prouty2009-01-261-7/+8
| | | | Luckily the build farm caught this
* s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty2009-01-263-13/+79
| | | | | | | | | | - Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters
* Decouple clistr_pull from struct cli_state->inbufVolker Lendecke2009-01-269-40/+57
|
* Fix an error path memleakVolker Lendecke2009-01-251-0/+1
|
* Make smb_bytes_push_str deal with a NULL buf returning NULLVolker Lendecke2009-01-251-1/+6
|
* Fix chain_reply for pipe readsVolker Lendecke2009-01-251-1/+11
| | | | | | | | The caller might have over-allocated reply->outbuf. Deal with that. Sorry, Günther, for giving you so much pain ... Volker
* Fix a segfault in parse_logentryVolker Lendecke2009-01-241-1/+1
| | | | | entry->data_record.strings is type smb_ucs2, so the pointer arithmetic increments by two :-)
* Modify OneFS module to support new NTIMES interfacestodd stecher2009-01-233-42/+124
|
* Extend NTIMES to allow setting create_timetodd stecher2009-01-2314-96/+141
| | | | | | | | | 1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
* This change allows for the autoconfigre detection of sub-second time ↵todd stecher2009-01-232-1/+51
| | | | resolution in the FreeBSD stat structure
* s3-rpcclient: add eventlog_loginfo command.Günther Deschner2009-01-241-0/+56
| | | | Guenther
* s3-rpcclient: add eventlog_backuplog command.Günther Deschner2009-01-241-0/+39
| | | | Guenther
* s3-rpcclient: add eventlog_registerevsource command.Günther Deschner2009-01-241-0/+39
| | | | Guenther
* s3-rpcclient: add eventlog_reporteventsource command.Günther Deschner2009-01-241-0/+65
| | | | Guenther
* s3-rpcclient: add eventlog_reportevent command.Günther Deschner2009-01-241-0/+65
| | | | Guenther
* s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call.Günther Deschner2009-01-241-0/+5
| | | | Guenther
* Revert "s3-eventlog: trying to avoid to pass around full ndr structures in ↵Günther Deschner2009-01-241-11/+6
| | | | | | rpc_server." This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a.
* s3-eventlog: fix various invalid memcpy in read_package_entry().Günther Deschner2009-01-241-5/+5
| | | | Guenther
* s3-eventlog: fix buffer allocation in eventlog read call.Günther Deschner2009-01-241-3/+1
| | | | | | This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007... Guenther
* talloc: Change the two other definitions of TALLOC_FREE to match the primary ↵Tim Prouty2009-01-231-1/+1
| | | | | | | | version Eventually these two other definitions should be removed and all of the TALLOC macros should live in the same header. Until then, this patch eliminates some build warnings.
* s3 ldb: Fix vasprintf segfault that has been the source of build machine ↵Tim Prouty2009-01-231-5/+8
| | | | | | | | | failures this week The bug was introduced when converting samba3's ldb_search interface to match samba4: 47951fc5d0085e124666b7667715bba98076820e f3ecb701335b1129947127d4c45eef970b66875c
* talloc_free() copes with a NULL pointer just fineVolker Lendecke2009-01-241-1/+1
| | | | Saved around 10kb of code on my box :-)
* s3: OneFS unmappable sids support.Dan Sledz2009-01-233-67/+183
| | | | | | | | | | | | | | | | | | | | | | | | Updates the onefs vfs module to add configurable behavior to deal with sids that are unknown to us. The best examples are aces that come from robocopy/xcopy. Adds the following share level options (which are specific to the vfs_onefs module): onefs: ignore unmappable sids (Default = false) If this option is set to true, sids which could not be resolved to a uid/gid are ignored. If an unmappable sid is encountered as the owner or group, the owner/group is converted to BUILTIN\Administrators. onefs: unmappable sids ignore list (Default = empty) Only the sids in the list are ignored. onefs: ignore sacls (Default = false) SACLs are ignored onefs: unmappable sids deny everyone (Default = false) If an unmappable sid is found in a deny ACE, the ACE's identity is changed to Everyone.
* async_req: Move to top level dirKai Blin2009-01-234-501/+2
|
* Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison2009-01-221-47/+37
| | | | | to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy.
* Fix logic error in try_chown - we shouldn't arbitrarily chownJeremy Allison2009-01-222-8/+9
| | | | | to ourselves unless that was passed in. Jeremy.
* Second part of the attemt to fix #4308 - Excel save operation corrupts file ↵Jeremy Allison2009-01-221-131/+144
| | | | | | | | ACLs. If the chown succeeds then the ACL set should also. Ensure this is the case (refactor some of this code to make it simpler to read also). Jeremy.
* Abstract away the transport in cli_pipe.cVolker Lendecke2009-01-222-316/+174
| | | | | Sorry for the monster checkin, I could not really find a way to do this in steps.
* Add the socket rpc client transportVolker Lendecke2009-01-223-1/+123
|