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
Volker Lendecke [Sun, 22 Feb 2009 23:21:27 +0000 (00:21 +0100)]
Remove unused param_connect struct
Volker Lendecke [Sun, 22 Feb 2009 23:20:24 +0000 (00:20 +0100)]
Remove unused recvall
Volker Lendecke [Sun, 22 Feb 2009 23:18:29 +0000 (00:18 +0100)]
Use read_packet for wb_resp_read
Volker Lendecke [Sun, 22 Feb 2009 23:06:56 +0000 (00:06 +0100)]
Use read_packet for wb_req_read
Volker Lendecke [Sun, 22 Feb 2009 22:18:04 +0000 (23:18 +0100)]
Remove read_pkt
Volker Lendecke [Sun, 22 Feb 2009 22:17:15 +0000 (23:17 +0100)]
Replace read_pkt by read_packet in np_read
Volker Lendecke [Sun, 22 Feb 2009 22:13:34 +0000 (23:13 +0100)]
Add async read_packet
Volker Lendecke [Sun, 22 Feb 2009 22:12:56 +0000 (23:12 +0100)]
Fix async writev
Volker Lendecke [Sun, 22 Feb 2009 21:03:06 +0000 (22:03 +0100)]
Remove async sendall
Volker Lendecke [Sun, 22 Feb 2009 21:01:35 +0000 (22:01 +0100)]
Use async_writev in np_write
Volker Lendecke [Sun, 22 Feb 2009 20:55:03 +0000 (21:55 +0100)]
Use async writev for wb_resp_write
Volker Lendecke [Sun, 22 Feb 2009 20:41:57 +0000 (21:41 +0100)]
Use async writev in wb_req_write
Volker Lendecke [Sun, 22 Feb 2009 19:16:32 +0000 (20:16 +0100)]
Add async writev
Volker Lendecke [Sun, 22 Feb 2009 18:49:18 +0000 (19:49 +0100)]
Convert async_connect to tevent_req
Volker Lendecke [Sun, 22 Feb 2009 18:48:46 +0000 (19:48 +0100)]
tevent.h requires bool and uint[16|32|64]_t
Volker Lendecke [Sun, 22 Feb 2009 18:47:54 +0000 (19:47 +0100)]
Add tevent_req_is_unix_error
Volker Lendecke [Sun, 22 Feb 2009 10:53:50 +0000 (11:53 +0100)]
Convert name_mangle() to use talloc
Jeremy Allison [Tue, 24 Feb 2009 19:37:57 +0000 (11:37 -0800)]
Start fixing Solaris build failures.
Jeremy.
Stefan Metzmacher [Tue, 24 Feb 2009 13:23:12 +0000 (14:23 +0100)]
s3:Makefile: build libcli/ldap files
metze
Stefan Metzmacher [Tue, 24 Feb 2009 15:49:26 +0000 (16:49 +0100)]
libcli/ldap: move generic ldap control encoding code to ldap_message.c
As they can we static there, we pass the specific handlers as parameter
where we need to support controls.
metze
Stefan Metzmacher [Tue, 24 Feb 2009 13:45:01 +0000 (14:45 +0100)]
s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not defined in C.
metze
Stefan Metzmacher [Tue, 24 Feb 2009 11:50:43 +0000 (12:50 +0100)]
libcli/ldap: move ldap_ndr from source4/ to toplevel
metze
Stefan Metzmacher [Tue, 24 Feb 2009 11:29:59 +0000 (12:29 +0100)]
libcli/ldap: fix compiler warnings
metze
Stefan Metzmacher [Tue, 24 Feb 2009 15:52:37 +0000 (16:52 +0100)]
libcli/ldap: move ldap_errors.h to the toplevel and install it
metze
Stefan Metzmacher [Tue, 24 Feb 2009 11:13:41 +0000 (12:13 +0100)]
libcli/ldap: move ldap_message.[ch] from source4/ to the toplevel
metze
Stefan Metzmacher [Tue, 24 Feb 2009 11:09:11 +0000 (12:09 +0100)]
s4:libcli/ldap: remove reference to DEBUG()
This prepares using ldap_message.c in source3/ later
metze
Stefan Metzmacher [Tue, 24 Feb 2009 10:40:18 +0000 (11:40 +0100)]
s4:libcli: split out LIBCLI_LDAP_MESSAGE subsystem
metze
Stefan Metzmacher [Tue, 24 Feb 2009 13:06:27 +0000 (14:06 +0100)]
s3: remove unused smb_ldap.h
metze
Stefan Metzmacher [Tue, 24 Feb 2009 14:28:54 +0000 (15:28 +0100)]
s3:example/VFS: fix the build
metze
Michael Adam [Tue, 24 Feb 2009 15:58:33 +0000 (16:58 +0100)]
s3:mount.cifs: make "mount.cifs -V" print the version, not usage.
Also make "mount.cifs -h" not exit with error exit code but with return code 0.
Michael
Michael Adam [Tue, 24 Feb 2009 15:57:30 +0000 (16:57 +0100)]
s3:mount.cifs: don't error exit on explicitly requested help...
Michael
Günther Deschner [Tue, 24 Feb 2009 11:38:53 +0000 (12:38 +0100)]
s3: re-run make samba3-idl.
Guenther
Günther Deschner [Tue, 24 Feb 2009 11:37:04 +0000 (12:37 +0100)]
spoolss: fix _spoolss_SetPrinter level 3.
Guenther
Günther Deschner [Tue, 24 Feb 2009 11:19:01 +0000 (12:19 +0100)]
s3-spoolss: use marshall/unmarshall_sec_desc_buf in nt_printing_setsec/getsec.
Guenther