1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

51886 Commits

Author SHA1 Message Date
Volker Lendecke
9475e88bea Add dbwrap->parse_record
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 11:05:22 +01:00
Volker Lendecke
16f61a6f90 Speed up "net conf list"
For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box

Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 11:05:21 +01:00
Volker Lendecke
26f238466c Speed up "net conf list"
With 1000 shares in the registry, this changed the time of "net conf list" from
1.1 seconds to .6 seconds.

Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 11:05:21 +01:00
Stefan Metzmacher
8e4816f007 s4:Makefile: try to fix 'make installheaders' on *BSD systems
metze
2009-02-26 10:55:00 +01:00
Stefan Metzmacher
b6597424db s4:heimdal_build: don't always build setprogname.o
This hopefully fixes the build on Mac OS 10, where setprogname()
is available via libc.

asn1_compile and compile_et use only .ho files again
and don't use socket_wrapper anymore.

metze
2009-02-26 10:48:11 +01:00
Stefan Metzmacher
c21ae8d1bf libreplace: make it possible to disable socket_wrapper via -DSOCKET_WRAPPER_DISABLE=1
metze
2009-02-26 10:48:10 +01:00
Stefan Metzmacher
64662cb0c3 s4:ldb_map: include ldb_includes.h first to get replace.h as first header
This should bring the build on AIX one step further.

metze
2009-02-26 09:42:29 +01:00
Stefan Metzmacher
b679f6b256 s4:VERSION: mark as 4.0.0-alpha8 gitsnapshot
metze
2009-02-26 09:10:23 +01:00
Andrew Bartlett
c3632e4efc Mark as the Samba 4.0 alpha7 release 2009-02-26 13:21:08 +11:00
Andrew Bartlett
76a0050e23 A simple hack to avoid the segfault in #6138
Thanks to Andrew Kroeger <andrew@id10ts.net> for reporting this.  This
fix just for the release.  A better fix will make it into the master
branch soon.

Andrew Bartlett
2009-02-26 13:12:07 +11:00
Jeremy Allison
59a28a22ab Fix more POSIX path lstat calls. Fix bug where close can return
failure if we have a pending modtime and the containing directory
of the file has been renamed (there is no POSIX "update time by
fd" call). This can't happen on Windows as the rename will fail
if there are open files beneath it. Will add a torture test
for this.
Jeremy.
2009-02-25 14:57:16 -08:00
Jeremy Allison
a6d0a93fc2 Use fsp->posix_open in preference if we have it.
Jeremy.
2009-02-25 14:50:19 -08:00
Günther Deschner
9e54f4151c s3-spoolss: fix _spoolss_AddJob behaviour.
Guenther
2009-02-25 23:48:30 +01:00
Günther Deschner
7e01ec5560 s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.
Guenther
2009-02-25 23:48:29 +01:00
Günther Deschner
8bf0c256d7 s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.
Guenther
2009-02-25 23:48:29 +01:00
Jeremy Allison
9b8bb1ad95 Ensure ACL modules work with POSIX paths.
Jeremy.
2009-02-25 14:12:51 -08:00
Günther Deschner
228e75112f s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.
Guenther
2009-02-25 23:06:56 +01:00
Stefan Metzmacher
e17df483fb lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() should be a noop
The reason for tdb_reopen_all() is that the seek pointer on fds are shared between
parent and child.

metze
2009-02-25 13:57:11 -08:00
Tim Prouty
95e428e227 s3: Report the correct path when dumping core on FreeBSD
Utilize the kern.corefile sysctl value on FreeBSD
2009-02-25 13:57:11 -08:00
Tim Prouty
7f33b947e3 s3: Refactor and cleanup the error paths in dump_core_setup 2009-02-25 13:57:11 -08:00
Tim Prouty
01493737c8 s3 OneFS: Add .snapshot directory configuration handling 2009-02-25 13:57:11 -08:00
Jeremy Allison
76ca297ecf Fix use of streams modules with CIFSFS client.
Jeremy.
2009-02-25 13:46:21 -08:00
Günther Deschner
a4e570e3ce s3-rpcclient: add test command to call netr_LogonGetCapabilities (for bug #6100).
Guenther
2009-02-25 22:17:39 +01:00
Jeremy Allison
bfc7ec9e4a Make test for open modes more robust against other bits.
Jeremy.
2009-02-25 13:00:44 -08:00
Jeremy Allison
3d7cde5dd3 Fix bug in processing of open modes in POSIX open.
Was missing case of "If file exists open. If file doesn't exist error."
Damn damn damn. CIFSFS client will have to have fallback cases
for this error for a long time.
Jeremy.
2009-02-25 12:53:45 -08:00
Günther Deschner
d86cb9b52d s3-rpcclient: support level 2 in spoolss_addform.
Guenther
2009-02-25 21:18:10 +01:00
Günther Deschner
03efdcb7cb s3-spoolss: make us pass the RPC-SPOOLSS torture test w.r.t. directory calls.
Guenther
2009-02-25 21:18:09 +01:00
Günther Deschner
820a1c1a17 s3-spoolss: JOB_ACCESS_READ has moved to idl.
Guenther
2009-02-25 21:18:08 +01:00
Günther Deschner
6cd30a351a s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.
Guenther
2009-02-25 21:17:19 +01:00
Günther Deschner
666cc916eb s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.
Guenther
2009-02-25 21:17:18 +01:00
Günther Deschner
a045dd063d s3: re-run make samba3-idl.
Guenther
2009-02-25 21:17:18 +01:00
Günther Deschner
06d2604d9d spoolss: add JOB_ACCESS_READ.
Guenther
2009-02-25 21:15:52 +01:00
Günther Deschner
b239a4ee76 spoolss: add spoolss_AddFormInfo2.
Guenther
2009-02-25 21:15:51 +01:00
Günther Deschner
92f05e3c96 spoolss: fix spoolss_FormInfo2 (new in vista).
keyword is an astring, not an nstring.

Guenther
2009-02-25 21:15:51 +01:00
Günther Deschner
74232e3237 spoolss: windows ignores level in a spoolss_GetPrintProcessorDirectory query.
Guenther
2009-02-25 21:13:57 +01:00
Tim Prouty
f90250b549 s4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are linked properly 2009-02-25 11:29:07 -08:00
Jeremy Allison
15f108f091 Fix some NetBSD warnings.
Jeremy.
2009-02-25 09:59:53 -08:00
Jelmer Vernooij
d7c7b31bba Only define _GNU_SOURCE if it's not defined yet. 2009-02-25 16:54:35 +01:00
Simo Sorce
fd3f3e68f2 Use stdbool.h instead of manually defining bool 2009-02-25 10:02:41 -05:00
Jelmer Vernooij
59cc0c09d5 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-02-25 15:22:31 +01:00
Jelmer Vernooij
838b950138 Rerun pidl. 2009-02-25 15:22:08 +01:00
Jelmer Vernooij
f71db89256 Include header with NTSTATUS, as some IDL files use it. 2009-02-25 15:21:36 +01:00
Günther Deschner
b6457c78d6 s3-spoolss: remove unused decode_printer_info_7.
Guenther
2009-02-25 15:10:46 +01:00
Stefan Metzmacher
2bd8cacf0e s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10
metze
2009-02-25 15:05:50 +01:00
Stefan Metzmacher
543db0f94a s3:events: map TEVENT_DEBUG_TRACE to debug level 10
metze
2009-02-25 15:05:49 +01:00
Jelmer Vernooij
fc3ffedcfe Don't define _GNU_SOURCE if it's already defined on the command-line. 2009-02-25 15:05:43 +01:00
Stefan Metzmacher
e2f37ec106 tevent: add private_print function feature to tevent_req
metze
2009-02-25 14:30:55 +01:00
Günther Deschner
01d1aaf63e s3-rpcclient: allow to set level in spoolss getform query and display all levels.
Guenther
2009-02-25 14:21:11 +01:00
Günther Deschner
80a9a41d41 s3: re-run make samba3-idl.
Guenther
2009-02-25 14:20:40 +01:00
Günther Deschner
c46fad3d1b spoolss: add spoolss_FormInfo2 used by Vista.
Guenther
2009-02-25 14:19:56 +01:00