1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

50983 Commits

Author SHA1 Message Date
Stefan Metzmacher
6a2b7f9815 s3:smbd: we should setup the client socket in the same way in all code pathes
We should behave the same in inetd, interactive and deamon modes.

metze
2009-01-27 15:28:07 +01:00
Stefan Metzmacher
7d93d3d4b8 s3:namecache: remove unused namecache_shutdown() function
metze
2009-01-27 15:28:06 +01:00
Stefan Metzmacher
920f8b1568 tevent: change SA_INFO_QUEUE_COUNT from 10 to 100
The samba3 aio code requires lp_max_mux() with a default of 50
and the samba3 linux oplock code requires 100.

May we could make the size dynamic later.

metze
2009-01-27 15:28:06 +01:00
Kai Blin
a7e620522e async_req: Fix the S4 build 2009-01-27 12:38:11 +01:00
Michael Adam
cdab2a4127 libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled
under solaris

Michael
2009-01-27 12:38:01 +01:00
Tim Prouty
692b63e93a s3 build: Eliminate the gmake-specific Makefile syntax 2009-01-27 00:16:04 -08:00
Tim Prouty
7f12eb9761 s3 make test: Fix a bug in the previous commit
Luckily the build farm caught this
2009-01-26 15:38:19 -08:00
Tim Prouty
3aeee79096 s3 make test: Add the ability to specify a custom smb.conf for make test
- 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
2009-01-26 12:07:27 -08:00
Jelmer Vernooij
cce04c606e Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-26 18:14:41 +01:00
Jelmer Vernooij
d30b6af953 pyrpc: Raise proper NDR error codes with matching strings rather than mapping
to NTSTATUS first.
2009-01-26 17:31:50 +01:00
Jelmer Vernooij
79255cec6a Add function for mapping NDR error codes to strings. 2009-01-26 17:31:22 +01:00
Andreas Schneider
d8f15e4efc Document default of the printing config variable.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2009-01-26 14:47:15 +01:00
Karolin Seeger
512cf0ad50 docs: Add manpage for vfs_shadow_copy2.
Karolin
2009-01-26 14:17:23 +01:00
Volker Lendecke
7f25e0da73 Decouple clistr_pull from struct cli_state->inbuf 2009-01-26 05:39:34 +01:00
Volker Lendecke
6baf760d17 Fix an error path memleak 2009-01-25 20:52:42 +01:00
Volker Lendecke
28b7c44de8 Make smb_bytes_push_str deal with a NULL buf returning NULL 2009-01-25 20:52:39 +01:00
Volker Lendecke
c0fea1f0f7 Fix chain_reply for pipe reads
The caller might have over-allocated reply->outbuf. Deal with that.

Sorry, Günther, for giving you so much pain ...

Volker
2009-01-25 12:18:34 +01:00
Jelmer Vernooij
5baac15781 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-25 05:35:21 +01:00
Jelmer Vernooij
c9d193eb08 Add prototypes required by samba-gtk. 2009-01-25 05:32:30 +01:00
Volker Lendecke
8b80407712 Fix a segfault in parse_logentry
entry->data_record.strings is type smb_ucs2, so the pointer arithmetic
increments by two :-)
2009-01-24 15:08:21 +01:00
todd stecher
c23f0f13b4 Modify OneFS module to support new NTIMES interfaces 2009-01-23 21:05:38 -08:00
todd stecher
48b0016cff Extend NTIMES to allow setting create_time
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.
2009-01-23 21:05:38 -08:00
todd stecher
7bb3860f49 This change allows for the autoconfigre detection of sub-second time resolution in the FreeBSD stat structure 2009-01-23 21:05:38 -08:00
Günther Deschner
ab2ee0711e s4-smbtorture: add my copyright.
Guenther
2009-01-24 03:33:55 +01:00
Günther Deschner
da338efbf9 s4-smbtorture: add BackupLog handling in eventlog test.
Guenther
2009-01-24 03:33:55 +01:00
Günther Deschner
2eb5dacbb8 s3-rpcclient: add eventlog_loginfo command.
Guenther
2009-01-24 03:33:47 +01:00
Günther Deschner
ecad0b9335 s3-rpcclient: add eventlog_backuplog command.
Guenther
2009-01-24 03:33:44 +01:00
Günther Deschner
c92ec31d30 s3-rpcclient: add eventlog_registerevsource command.
Guenther
2009-01-24 03:33:43 +01:00
Günther Deschner
bfc2d3bf0a s3-rpcclient: add eventlog_reporteventsource command.
Guenther
2009-01-24 03:33:25 +01:00
Günther Deschner
d3b8fdd71e s4-smbtorture: add test_GetLogIntormation test.
Guenther
2009-01-24 03:33:23 +01:00
Günther Deschner
f1067c0ffc s3-rpcclient: add eventlog_reportevent command.
Guenther
2009-01-24 03:33:23 +01:00
Günther Deschner
a6131f2a8b s4-smbtorture: add ReportEventW test.
Guenther
2009-01-24 03:33:23 +01:00
Günther Deschner
9629897094 s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call.
Guenther
2009-01-24 03:33:22 +01:00
Günther Deschner
4cac1da142 s3: re-run make samba3-idl.
Guenther
2009-01-24 03:33:22 +01:00
Günther Deschner
b57c37d6ae eventlog: fill in IDL for eventlog_OpenBackupEventLogW.
Guenther
2009-01-24 03:33:10 +01:00
Günther Deschner
466872e9ff eventlog: fill in IDL for eventlog_BackupEventLogW.
Guenther
2009-01-24 03:32:59 +01:00
Günther Deschner
ca799da823 eventlog: fill in IDL for eventlog_DeregisterEventSource.
Guenther
2009-01-24 03:32:56 +01:00
Günther Deschner
7dad861627 eventlog: fill in IDL for eventlog_RegisterEventSourceW.
Guenther
2009-01-24 03:32:49 +01:00
Günther Deschner
ab6e4dd9fd eventlog: add missing IDL (opnum 24) for eventlog_ReportEventAndSourceW.
Guenther
2009-01-24 03:32:46 +01:00
Günther Deschner
02a3a7f1ed eventlog: fill in IDL for eventlog_GetLogIntormation.
Guenther
2009-01-24 03:32:46 +01:00
Günther Deschner
321983a68e eventlog: fill in IDL for eventlog_ReportEventW.
Guenther
2009-01-24 03:32:34 +01:00
Günther Deschner
5bcd6d760b Revert "s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server."
This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a.
2009-01-24 03:00:38 +01:00
Günther Deschner
dd2695fe52 s3-eventlog: fix various invalid memcpy in read_package_entry().
Guenther
2009-01-24 03:00:38 +01:00
Günther Deschner
cf41042a3c s3-eventlog: fix buffer allocation in eventlog read call.
This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007...

Guenther
2009-01-24 03:00:37 +01:00
Tim Prouty
d629ba480b talloc: Change the two other definitions of TALLOC_FREE to match the primary 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.
2009-01-23 17:29:21 -08:00
Tim Prouty
0998d172db s3 ldb: Fix vasprintf segfault that has been the source of build machine failures this week
The bug was introduced when converting samba3's ldb_search interface
to match samba4:
47951fc5d0085e124666b7667715bba98076820e
f3ecb701335b1129947127d4c45eef970b66875c
2009-01-23 16:18:21 -08:00
Volker Lendecke
48a6feef40 talloc_free() copes with a NULL pointer just fine
Saved around 10kb of code on my box :-)
2009-01-24 01:05:22 +01:00
Dan Sledz
b7eabeb347 s3: OneFS unmappable sids support.
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.
2009-01-23 13:49:12 -08:00
Kai Blin
481183ab02 s4: add ../lib/async_req to the s4 build 2009-01-23 17:57:33 +01:00
Kai Blin
85b36d95fb async_req: Move to top level dir 2009-01-23 17:57:33 +01:00