Stefan Metzmacher [Thu, 26 Feb 2009 09:55:00 +0000 (10:55 +0100)]
s4:Makefile: try to fix 'make installheaders' on *BSD systems
metze
Stefan Metzmacher [Thu, 26 Feb 2009 09:05:58 +0000 (10:05 +0100)]
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
Stefan Metzmacher [Thu, 26 Feb 2009 09:29:55 +0000 (10:29 +0100)]
libreplace: make it possible to disable socket_wrapper via -DSOCKET_WRAPPER_DISABLE=1
metze
Stefan Metzmacher [Thu, 26 Feb 2009 08:42:29 +0000 (09:42 +0100)]
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
Stefan Metzmacher [Thu, 26 Feb 2009 08:10:23 +0000 (09:10 +0100)]
s4:VERSION: mark as 4.0.0-alpha8 gitsnapshot
metze
Andrew Bartlett [Thu, 26 Feb 2009 02:21:08 +0000 (13:21 +1100)]
Mark as the Samba 4.0 alpha7 release
Andrew Bartlett [Thu, 26 Feb 2009 02:12:07 +0000 (13:12 +1100)]
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
Jeremy Allison [Wed, 25 Feb 2009 22:57:16 +0000 (14:57 -0800)]
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.
Jeremy Allison [Wed, 25 Feb 2009 22:50:19 +0000 (14:50 -0800)]
Use fsp->posix_open in preference if we have it.
Jeremy.
Günther Deschner [Wed, 25 Feb 2009 22:43:55 +0000 (23:43 +0100)]
s3-spoolss: fix _spoolss_AddJob behaviour.
Guenther
Günther Deschner [Wed, 25 Feb 2009 22:42:03 +0000 (23:42 +0100)]
s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.
Guenther
Günther Deschner [Mon, 9 Feb 2009 21:22:45 +0000 (22:22 +0100)]
s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.
Guenther
Jeremy Allison [Wed, 25 Feb 2009 22:12:51 +0000 (14:12 -0800)]
Ensure ACL modules work with POSIX paths.
Jeremy.
Günther Deschner [Wed, 25 Feb 2009 22:04:52 +0000 (23:04 +0100)]
s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.
Guenther
Stefan Metzmacher [Thu, 22 Jan 2009 09:54:12 +0000 (10:54 +0100)]
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
Tim Prouty [Wed, 25 Feb 2009 00:42:18 +0000 (16:42 -0800)]
s3: Report the correct path when dumping core on FreeBSD
Utilize the kern.corefile sysctl value on FreeBSD
Tim Prouty [Tue, 24 Feb 2009 22:45:46 +0000 (14:45 -0800)]
s3: Refactor and cleanup the error paths in dump_core_setup
Tim Prouty [Mon, 23 Feb 2009 22:51:17 +0000 (14:51 -0800)]
s3 OneFS: Add .snapshot directory configuration handling
Jeremy Allison [Wed, 25 Feb 2009 21:46:21 +0000 (13:46 -0800)]
Fix use of streams modules with CIFSFS client.
Jeremy.
Günther Deschner [Wed, 25 Feb 2009 21:10:21 +0000 (22:10 +0100)]
s3-rpcclient: add test command to call netr_LogonGetCapabilities (for bug #6100).
Guenther
Jeremy Allison [Wed, 25 Feb 2009 21:00:44 +0000 (13:00 -0800)]
Make test for open modes more robust against other bits.
Jeremy.
Jeremy Allison [Wed, 25 Feb 2009 20:53:45 +0000 (12:53 -0800)]
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.
Günther Deschner [Wed, 25 Feb 2009 19:50:34 +0000 (20:50 +0100)]
s3-rpcclient: support level 2 in spoolss_addform.
Guenther
Günther Deschner [Wed, 25 Feb 2009 20:08:13 +0000 (21:08 +0100)]
s3-spoolss: make us pass the RPC-SPOOLSS torture test w.r.t. directory calls.
Guenther
Günther Deschner [Wed, 25 Feb 2009 19:48:55 +0000 (20:48 +0100)]
s3-spoolss: JOB_ACCESS_READ has moved to idl.
Guenther
Günther Deschner [Wed, 25 Feb 2009 20:10:44 +0000 (21:10 +0100)]
s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.
Guenther
Günther Deschner [Wed, 25 Feb 2009 15:17:44 +0000 (16:17 +0100)]
s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.
Guenther
Günther Deschner [Wed, 25 Feb 2009 20:16:45 +0000 (21:16 +0100)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 25 Feb 2009 19:48:43 +0000 (20:48 +0100)]
spoolss: add JOB_ACCESS_READ.
Guenther
Günther Deschner [Wed, 25 Feb 2009 19:48:16 +0000 (20:48 +0100)]
spoolss: add spoolss_AddFormInfo2.
Guenther
Günther Deschner [Wed, 25 Feb 2009 19:46:35 +0000 (20:46 +0100)]
spoolss: fix spoolss_FormInfo2 (new in vista).
keyword is an astring, not an nstring.
Guenther
Günther Deschner [Wed, 25 Feb 2009 15:17:08 +0000 (16:17 +0100)]
spoolss: windows ignores level in a spoolss_GetPrintProcessorDirectory query.
Guenther
Tim Prouty [Wed, 25 Feb 2009 19:27:37 +0000 (11:27 -0800)]
s4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are linked properly
Jeremy Allison [Wed, 25 Feb 2009 17:59:53 +0000 (09:59 -0800)]
Fix some NetBSD warnings.
Jeremy.
Jelmer Vernooij [Wed, 25 Feb 2009 15:54:35 +0000 (16:54 +0100)]
Only define _GNU_SOURCE if it's not defined yet.
Simo Sorce [Wed, 25 Feb 2009 15:02:41 +0000 (10:02 -0500)]
Use stdbool.h instead of manually defining bool
Jelmer Vernooij [Wed, 25 Feb 2009 14:22:31 +0000 (15:22 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Wed, 25 Feb 2009 14:22:08 +0000 (15:22 +0100)]
Rerun pidl.
Jelmer Vernooij [Wed, 25 Feb 2009 14:21:36 +0000 (15:21 +0100)]
Include header with NTSTATUS, as some IDL files use it.
Günther Deschner [Wed, 25 Feb 2009 13:27:30 +0000 (14:27 +0100)]
s3-spoolss: remove unused decode_printer_info_7.
Guenther
Stefan Metzmacher [Wed, 25 Feb 2009 14:05:24 +0000 (15:05 +0100)]
s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10
metze
Stefan Metzmacher [Wed, 25 Feb 2009 14:04:55 +0000 (15:04 +0100)]
s3:events: map TEVENT_DEBUG_TRACE to debug level 10
metze
Jelmer Vernooij [Wed, 25 Feb 2009 14:05:43 +0000 (15:05 +0100)]
Don't define _GNU_SOURCE if it's already defined on the command-line.
Stefan Metzmacher [Wed, 25 Feb 2009 13:29:31 +0000 (14:29 +0100)]
tevent: add private_print function feature to tevent_req
metze
Günther Deschner [Wed, 25 Feb 2009 12:46:08 +0000 (13:46 +0100)]
s3-rpcclient: allow to set level in spoolss getform query and display all levels.
Guenther
Günther Deschner [Wed, 25 Feb 2009 13:20:40 +0000 (14:20 +0100)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 25 Feb 2009 12:45:15 +0000 (13:45 +0100)]
spoolss: add spoolss_FormInfo2 used by Vista.
Guenther
Günther Deschner [Wed, 25 Feb 2009 12:19:12 +0000 (13:19 +0100)]
s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.
Guenther
Stefan Metzmacher [Wed, 25 Feb 2009 12:53:19 +0000 (13:53 +0100)]
tevent: add tevent_req_poll() function
metze
Volker Lendecke [Wed, 25 Feb 2009 12:03:03 +0000 (13:03 +0100)]
Fix a missing prototype
Volker Lendecke [Wed, 25 Feb 2009 11:55:47 +0000 (12:55 +0100)]
Fix an incompatible pointer passed to winbind_get_groups
This is the same bug that was fixed in other places of the code a few times
already:
A C compiler ONLY does automatic type conversions during an assignment.
Passing down a pointer to type A to a function taking type B as an
argument does NOT do any automatic type conversions.
If required, I can dig up the relevant portions of the C standard.
Volker Lendecke [Wed, 25 Feb 2009 11:45:39 +0000 (12:45 +0100)]
Remove async_req based async_send
Volker Lendecke [Wed, 25 Feb 2009 11:44:26 +0000 (12:44 +0100)]
Convert rpc_sock_write to use tevent_req base async_send
Volker Lendecke [Wed, 25 Feb 2009 11:38:32 +0000 (12:38 +0100)]
Remove async_req based async_recv
Volker Lendecke [Wed, 25 Feb 2009 11:35:48 +0000 (12:35 +0100)]
Convert rpc_sock_read to use tevent_req base async_read
Jelmer Vernooij [Wed, 25 Feb 2009 11:49:37 +0000 (12:49 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Conflicts:
source4/scripting/python/samba/provision.py
Günther Deschner [Wed, 25 Feb 2009 11:09:15 +0000 (12:09 +0100)]
s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.
Guenther
Günther Deschner [Wed, 25 Feb 2009 00:23:40 +0000 (01:23 +0100)]
s3-spoolss: remove rpccli_spoolss_getprinter.
Guenther
Günther Deschner [Tue, 24 Feb 2009 23:12:58 +0000 (00:12 +0100)]
s3-spoolss: remove rpccli_spoolss_setprinter.
Guenther
Günther Deschner [Tue, 10 Feb 2009 22:37:00 +0000 (23:37 +0100)]
s3-spoolss: remove rpccli_spoolss_addprinterex.
Guenther
Günther Deschner [Wed, 25 Feb 2009 00:11:01 +0000 (01:11 +0100)]
s3-spoolss: use rpccli_spoolss_addprinterex wrapper.
Guenther
Günther Deschner [Wed, 25 Feb 2009 09:58:53 +0000 (10:58 +0100)]
s3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.
Guenther
Günther Deschner [Sat, 14 Feb 2009 02:08:06 +0000 (03:08 +0100)]
s3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.
Guenther
Günther Deschner [Sat, 14 Feb 2009 02:07:01 +0000 (03:07 +0100)]
s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.
Guenther
Volker Lendecke [Wed, 25 Feb 2009 09:54:19 +0000 (10:54 +0100)]
Attempt to fix the OpenChange build -- sorry for the break
Günther Deschner [Wed, 25 Feb 2009 00:07:50 +0000 (01:07 +0100)]
s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.
Guenther
Andrew Bartlett [Wed, 25 Feb 2009 09:27:43 +0000 (20:27 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Oliver Liebel [Wed, 25 Feb 2009 09:26:27 +0000 (20:26 +1100)]
WHATSNEW updates
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Tim Prouty [Wed, 25 Feb 2009 07:38:42 +0000 (23:38 -0800)]
s4 heimdal: Link libintl correctly
Tim Prouty [Wed, 25 Feb 2009 08:11:31 +0000 (00:11 -0800)]
s3: Fix 'assignment differ in signedness' warning
Stefan Metzmacher [Wed, 25 Feb 2009 07:42:33 +0000 (08:42 +0100)]
s4:build: add some comments to the SMB_EXT_LIB() definition
metze
Andrew Bartlett [Wed, 25 Feb 2009 06:52:00 +0000 (17:52 +1100)]
Credit tridge's work on fixing GnuTLS
Andrew Bartlett [Wed, 25 Feb 2009 06:43:07 +0000 (17:43 +1100)]
Work around ndr_unpack failing on structures with relative pointers.
This disgusting hack works around the fact that
ndr_pull_struct_blob_all will always fail on structures with relative
pointers. So, map ndr_unpack to ndr_pull_struct_blob_all only if we
don't have any relative pointers in this structure.
Andrew Bartlett
Tim Prouty [Wed, 25 Feb 2009 05:53:30 +0000 (21:53 -0800)]
s3 OneFS: Fix uninitialized variable
Steve French [Wed, 25 Feb 2009 02:53:46 +0000 (20:53 -0600)]
Fix guest mounts
guest session setup, login (user id) as anonymous.
This patch is for samba bugzilla bug 4640.
Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@samba.org>
Andrew Bartlett [Wed, 25 Feb 2009 02:15:53 +0000 (13:15 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Andrew Bartlett [Wed, 25 Feb 2009 02:14:36 +0000 (13:14 +1100)]
Prepare for a quick alpha7 release to help simo meet Fedora deadlines
While there isn't much in this release, there is enough to be worth
cutting the tarball, and not much cost in doing so.
Andrew Bartlett
Jeremy Allison [Wed, 25 Feb 2009 02:03:49 +0000 (18:03 -0800)]
Allow set attributes on a stream fnum to be redirected to the base filename.
Fixes the new RAW-STREAMS torture test.
Jeremy.
Jeremy Allison [Wed, 25 Feb 2009 01:33:47 +0000 (17:33 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Wed, 25 Feb 2009 01:32:22 +0000 (17:32 -0800)]
Added torture test from a usage case from the Apple OS/X client.
Setting an attribute on a stream fnum must change the attribute
on the base file.
Jeremy.
Dan Sledz [Tue, 24 Feb 2009 07:21:13 +0000 (23:21 -0800)]
s3: Rename auth_onefs_wb and pdb_onefs_sam
auth_onefs_wb.c -> auth_wbc.c
pdb_onefs_sam.c -> pdb_wbc_sam.c
No changes to functionality
Dan Sledz [Tue, 24 Feb 2009 22:12:48 +0000 (14:12 -0800)]
s3: onefs_acl.c cleanup
Remove some duplicate code.
Add a \n to a debugging statement
todd stecher [Mon, 23 Feb 2009 18:24:33 +0000 (10:24 -0800)]
S3: Add in profile counters for new vfs and syscall entries.
Oliver Liebel [Tue, 24 Feb 2009 23:27:19 +0000 (10:27 +1100)]
Updates to the recent cn=config support for the OpenLDAP backend
- removed workaround for olcSyncprovConfig - creation (works perfect now
with 2.4.15, release was today)
- added 1 message-helpline, which is displayed when running
provision-backend with olc and/or mmr setup
- corrected 1 wrong slapcommand-helpline
- slapd.conf is removed now in case of olc-setup
- added 1 copyright-line to provision.py and provision-backend
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Günther Deschner [Tue, 24 Feb 2009 23:30:14 +0000 (00:30 +0100)]
s3-spoolss: remove some left-over hand marshalling code and structs.
Guenther
Jeremy Allison [Tue, 24 Feb 2009 23:28:06 +0000 (15:28 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Tue, 24 Feb 2009 23:27:47 +0000 (15:27 -0800)]
Make S4 build on OpenSolaris.
Jeremy.
Günther Deschner [Tue, 24 Feb 2009 22:45:14 +0000 (23:45 +0100)]
error-codes: print out WERR_UNKNOWN_PRINT_MONITOR.
Guenther
Günther Deschner [Tue, 24 Feb 2009 21:53:05 +0000 (22:53 +0100)]
s3-spoolss: remove rpccli_spoolss_addprinterdriver.
Guenther
Günther Deschner [Wed, 18 Feb 2009 23:43:23 +0000 (00:43 +0100)]
s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.
Guenther
Tim Prouty [Tue, 24 Feb 2009 22:07:29 +0000 (14:07 -0800)]
s3: Fix a bug that prevent core files from being created
Removed an erroneous free() that was causing the corepath to be NULL
during dump_core(). This prevented dump_core() from actually calling
abort() to create a core file. The bug was introduced in December by:
07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00
Günther Deschner [Tue, 24 Feb 2009 21:26:09 +0000 (22:26 +0100)]
s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.
Guenther
Günther Deschner [Tue, 24 Feb 2009 21:23:56 +0000 (22:23 +0100)]
s3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2
wrapper.
Guenther
Günther Deschner [Tue, 24 Feb 2009 21:20:30 +0000 (22:20 +0100)]
s3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.
Guenther
Günther Deschner [Tue, 24 Feb 2009 21:18:22 +0000 (22:18 +0100)]
s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.
Guenther
Jeremy Allison [Tue, 24 Feb 2009 20:35:33 +0000 (12:35 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Tue, 24 Feb 2009 20:19:06 +0000 (12:19 -0800)]
Fix the build. Looks like no one ever compiled this on a system
with a libintl.h before.
Jeremy.
Volker Lendecke [Tue, 24 Feb 2009 20:08:07 +0000 (21:08 +0100)]
Fix some C++ warnings
Volker Lendecke [Mon, 23 Feb 2009 07:56:35 +0000 (08:56 +0100)]
Add more conventional async_recv
Volker Lendecke [Mon, 23 Feb 2009 07:53:01 +0000 (08:53 +0100)]
Add more conventional async_send