tprouty/samba.git
4 years agos4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are... master
Tim Prouty [Wed, 25 Feb 2009 19:27:37 +0000]
s4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are linked properly

4 years agoFix some NetBSD warnings.
Jeremy Allison [Wed, 25 Feb 2009 17:59:53 +0000]
Fix some NetBSD warnings.
Jeremy.

4 years agoOnly define _GNU_SOURCE if it's not defined yet.
Jelmer Vernooij [Wed, 25 Feb 2009 15:54:35 +0000]
Only define _GNU_SOURCE if it's not defined yet.

4 years agoUse stdbool.h instead of manually defining bool
Simo Sorce [Wed, 25 Feb 2009 15:02:41 +0000]
Use stdbool.h instead of manually defining bool

4 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Wed, 25 Feb 2009 14:22:31 +0000]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

4 years agoRerun pidl.
Jelmer Vernooij [Wed, 25 Feb 2009 14:22:08 +0000]
Rerun pidl.

4 years agoInclude header with NTSTATUS, as some IDL files use it.
Jelmer Vernooij [Wed, 25 Feb 2009 14:21:36 +0000]
Include header with NTSTATUS, as some IDL files use it.

4 years agos3-spoolss: remove unused decode_printer_info_7.
Günther Deschner [Wed, 25 Feb 2009 13:27:30 +0000]
s3-spoolss: remove unused decode_printer_info_7.

Guenther

4 years agos4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10
Stefan Metzmacher [Wed, 25 Feb 2009 14:05:24 +0000]
s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10

metze

4 years agos3:events: map TEVENT_DEBUG_TRACE to debug level 10
Stefan Metzmacher [Wed, 25 Feb 2009 14:04:55 +0000]
s3:events: map TEVENT_DEBUG_TRACE to debug level 10

metze

4 years agoDon't define _GNU_SOURCE if it's already defined on the command-line.
Jelmer Vernooij [Wed, 25 Feb 2009 14:05:43 +0000]
Don't define _GNU_SOURCE if it's already defined on the command-line.

4 years agotevent: add private_print function feature to tevent_req
Stefan Metzmacher [Wed, 25 Feb 2009 13:29:31 +0000]
tevent: add private_print function feature to tevent_req

metze

4 years agos3-rpcclient: allow to set level in spoolss getform query and display all levels.
Günther Deschner [Wed, 25 Feb 2009 12:46:08 +0000]
s3-rpcclient: allow to set level in spoolss getform query and display all levels.

Guenther

4 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 25 Feb 2009 13:20:40 +0000]
s3: re-run make samba3-idl.

Guenther

4 years agospoolss: add spoolss_FormInfo2 used by Vista.
Günther Deschner [Wed, 25 Feb 2009 12:45:15 +0000]
spoolss: add spoolss_FormInfo2 used by Vista.

Guenther

4 years agos3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.
Günther Deschner [Wed, 25 Feb 2009 12:19:12 +0000]
s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.

Guenther

4 years agotevent: add tevent_req_poll() function
Stefan Metzmacher [Wed, 25 Feb 2009 12:53:19 +0000]
tevent: add tevent_req_poll() function

metze

4 years agoFix a missing prototype
Volker Lendecke [Wed, 25 Feb 2009 12:03:03 +0000]
Fix a missing prototype

4 years agoFix an incompatible pointer passed to winbind_get_groups
Volker Lendecke [Wed, 25 Feb 2009 11:55:47 +0000]
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.

4 years agoRemove async_req based async_send
Volker Lendecke [Wed, 25 Feb 2009 11:45:39 +0000]
Remove async_req based async_send

4 years agoConvert rpc_sock_write to use tevent_req base async_send
Volker Lendecke [Wed, 25 Feb 2009 11:44:26 +0000]
Convert rpc_sock_write to use tevent_req base async_send

4 years agoRemove async_req based async_recv
Volker Lendecke [Wed, 25 Feb 2009 11:38:32 +0000]
Remove async_req based async_recv

4 years agoConvert rpc_sock_read to use tevent_req base async_read
Volker Lendecke [Wed, 25 Feb 2009 11:35:48 +0000]
Convert rpc_sock_read to use tevent_req base async_read

4 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Wed, 25 Feb 2009 11:49:37 +0000]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

Conflicts:
source4/scripting/python/samba/provision.py

4 years agos3-spoolss: use is_valid_policy_hnd to check for valid policy handles.
Günther Deschner [Wed, 25 Feb 2009 11:09:15 +0000]
s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.

Guenther

4 years agos3-spoolss: remove rpccli_spoolss_getprinter.
Günther Deschner [Wed, 25 Feb 2009 00:23:40 +0000]
s3-spoolss: remove rpccli_spoolss_getprinter.

Guenther

4 years agos3-spoolss: remove rpccli_spoolss_setprinter.
Günther Deschner [Tue, 24 Feb 2009 23:12:58 +0000]
s3-spoolss: remove rpccli_spoolss_setprinter.

Guenther

4 years agos3-spoolss: remove rpccli_spoolss_addprinterex.
Günther Deschner [Tue, 10 Feb 2009 22:37:00 +0000]
s3-spoolss: remove rpccli_spoolss_addprinterex.

Guenther

4 years agos3-spoolss: use rpccli_spoolss_addprinterex wrapper.
Günther Deschner [Wed, 25 Feb 2009 00:11:01 +0000]
s3-spoolss: use rpccli_spoolss_addprinterex wrapper.

Guenther

4 years agos3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.
Günther Deschner [Wed, 25 Feb 2009 09:58:53 +0000]
s3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.

Guenther

4 years agos3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.
Günther Deschner [Sat, 14 Feb 2009 02:08:06 +0000]
s3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.

Guenther

4 years agos3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.
Günther Deschner [Sat, 14 Feb 2009 02:07:01 +0000]
s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.

Guenther

4 years agoAttempt to fix the OpenChange build -- sorry for the break
Volker Lendecke [Wed, 25 Feb 2009 09:54:19 +0000]
Attempt to fix the OpenChange build -- sorry for the break

4 years agos3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.
Günther Deschner [Wed, 25 Feb 2009 00:07:50 +0000]
s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.

Guenther

4 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Andrew Bartlett [Wed, 25 Feb 2009 09:27:43 +0000]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel

4 years agoWHATSNEW updates
Oliver Liebel [Wed, 25 Feb 2009 09:26:27 +0000]
WHATSNEW updates

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

4 years agos4 heimdal: Link libintl correctly libintl
Tim Prouty [Wed, 25 Feb 2009 07:38:42 +0000]
s4 heimdal: Link libintl correctly

4 years agos3: Fix 'assignment differ in signedness' warning
Tim Prouty [Wed, 25 Feb 2009 08:11:31 +0000]
s3: Fix 'assignment differ in signedness' warning

4 years agos4:build: add some comments to the SMB_EXT_LIB() definition
Stefan Metzmacher [Wed, 25 Feb 2009 07:42:33 +0000]
s4:build: add some comments to the SMB_EXT_LIB() definition

metze

4 years agoCredit tridge's work on fixing GnuTLS
Andrew Bartlett [Wed, 25 Feb 2009 06:52:00 +0000]
Credit tridge's work on fixing GnuTLS

4 years agoWork around ndr_unpack failing on structures with relative pointers.
Andrew Bartlett [Wed, 25 Feb 2009 06:43:07 +0000]
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

4 years agos3 OneFS: Fix uninitialized variable
Tim Prouty [Wed, 25 Feb 2009 05:53:30 +0000]
s3 OneFS: Fix uninitialized variable

4 years agoFix guest mounts
Steve French [Wed, 25 Feb 2009 02:53:46 +0000]
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>

4 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Andrew Bartlett [Wed, 25 Feb 2009 02:15:53 +0000]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel

4 years agoPrepare for a quick alpha7 release to help simo meet Fedora deadlines
Andrew Bartlett [Wed, 25 Feb 2009 02:14:36 +0000]
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

4 years agoAllow set attributes on a stream fnum to be redirected to the base filename.
Jeremy Allison [Wed, 25 Feb 2009 02:03:49 +0000]
Allow set attributes on a stream fnum to be redirected to the base filename.
Fixes the new RAW-STREAMS torture test.
Jeremy.

4 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Wed, 25 Feb 2009 01:33:47 +0000]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

4 years agoAdded torture test from a usage case from the Apple OS/X client.
Jeremy Allison [Wed, 25 Feb 2009 01:32:22 +0000]
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.

4 years agos3: Rename auth_onefs_wb and pdb_onefs_sam
Dan Sledz [Tue, 24 Feb 2009 07:21:13 +0000]
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

4 years agos3: onefs_acl.c cleanup
Dan Sledz [Tue, 24 Feb 2009 22:12:48 +0000]
s3: onefs_acl.c cleanup

Remove some duplicate code.
Add a \n to a debugging statement

4 years agoS3: Add in profile counters for new vfs and syscall entries.
todd stecher [Mon, 23 Feb 2009 18:24:33 +0000]
S3: Add in profile counters for new vfs and syscall entries.

4 years agoUpdates to the recent cn=config support for the OpenLDAP backend
Oliver Liebel [Tue, 24 Feb 2009 23:27:19 +0000]
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>

4 years agos3-spoolss: remove some left-over hand marshalling code and structs.
Günther Deschner [Tue, 24 Feb 2009 23:30:14 +0000]
s3-spoolss: remove some left-over hand marshalling code and structs.

Guenther

4 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Tue, 24 Feb 2009 23:28:06 +0000]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

4 years agoMake S4 build on OpenSolaris.
Jeremy Allison [Tue, 24 Feb 2009 23:27:47 +0000]
Make S4 build on OpenSolaris.
Jeremy.

4 years agoerror-codes: print out WERR_UNKNOWN_PRINT_MONITOR.
Günther Deschner [Tue, 24 Feb 2009 22:45:14 +0000]
error-codes: print out WERR_UNKNOWN_PRINT_MONITOR.

Guenther

4 years agos3-spoolss: remove rpccli_spoolss_addprinterdriver.
Günther Deschner [Tue, 24 Feb 2009 21:53:05 +0000]
s3-spoolss: remove rpccli_spoolss_addprinterdriver.

Guenther

4 years agos3-rpcclient: use rpccli_spoolss_AddPrinterDriver.
Günther Deschner [Wed, 18 Feb 2009 23:43:23 +0000]
s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.

Guenther

4 years agos3: Fix a bug that prevent core files from being created
Tim Prouty [Tue, 24 Feb 2009 22:07:29 +0000]
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

4 years agos3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.
Günther Deschner [Tue, 24 Feb 2009 21:26:09 +0000]
s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.

Guenther

4 years agos3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2
Günther Deschner [Tue, 24 Feb 2009 21:23:56 +0000]
s3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2
wrapper.

Guenther

4 years agos3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.
Günther Deschner [Tue, 24 Feb 2009 21:20:30 +0000]
s3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.

Guenther

4 years agos3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.
Günther Deschner [Tue, 24 Feb 2009 21:18:22 +0000]
s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.

Guenther

4 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Tue, 24 Feb 2009 20:35:33 +0000]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

4 years agoFix the build. Looks like no one ever compiled this on a system
Jeremy Allison [Tue, 24 Feb 2009 20:19:06 +0000]
Fix the build. Looks like no one ever compiled this on a system
with a libintl.h before.
Jeremy.

4 years agoFix some C++ warnings
Volker Lendecke [Tue, 24 Feb 2009 20:08:07 +0000]
Fix some C++ warnings

4 years agoAdd more conventional async_recv
Volker Lendecke [Mon, 23 Feb 2009 07:56:35 +0000]
Add more conventional async_recv

4 years agoAdd more conventional async_send
Volker Lendecke [Mon, 23 Feb 2009 07:53:01 +0000]
Add more conventional async_send

4 years agoRemove unused param_connect struct
Volker Lendecke [Sun, 22 Feb 2009 23:21:27 +0000]
Remove unused param_connect struct

4 years agoRemove unused recvall
Volker Lendecke [Sun, 22 Feb 2009 23:20:24 +0000]
Remove unused recvall

4 years agoUse read_packet for wb_resp_read
Volker Lendecke [Sun, 22 Feb 2009 23:18:29 +0000]
Use read_packet for wb_resp_read

4 years agoUse read_packet for wb_req_read
Volker Lendecke [Sun, 22 Feb 2009 23:06:56 +0000]
Use read_packet for wb_req_read

4 years agoRemove read_pkt
Volker Lendecke [Sun, 22 Feb 2009 22:18:04 +0000]
Remove read_pkt

4 years agoReplace read_pkt by read_packet in np_read
Volker Lendecke [Sun, 22 Feb 2009 22:17:15 +0000]
Replace read_pkt by read_packet in np_read

4 years agoAdd async read_packet
Volker Lendecke [Sun, 22 Feb 2009 22:13:34 +0000]
Add async read_packet

4 years agoFix async writev
Volker Lendecke [Sun, 22 Feb 2009 22:12:56 +0000]
Fix async writev

4 years agoRemove async sendall
Volker Lendecke [Sun, 22 Feb 2009 21:03:06 +0000]
Remove async sendall

4 years agoUse async_writev in np_write
Volker Lendecke [Sun, 22 Feb 2009 21:01:35 +0000]
Use async_writev in np_write

4 years agoUse async writev for wb_resp_write
Volker Lendecke [Sun, 22 Feb 2009 20:55:03 +0000]
Use async writev for wb_resp_write

4 years agoUse async writev in wb_req_write
Volker Lendecke [Sun, 22 Feb 2009 20:41:57 +0000]
Use async writev in wb_req_write

4 years agoAdd async writev
Volker Lendecke [Sun, 22 Feb 2009 19:16:32 +0000]
Add async writev

4 years agoConvert async_connect to tevent_req
Volker Lendecke [Sun, 22 Feb 2009 18:49:18 +0000]
Convert async_connect to tevent_req

4 years agotevent.h requires bool and uint[16|32|64]_t
Volker Lendecke [Sun, 22 Feb 2009 18:48:46 +0000]
tevent.h requires bool and uint[16|32|64]_t

4 years agoAdd tevent_req_is_unix_error
Volker Lendecke [Sun, 22 Feb 2009 18:47:54 +0000]
Add tevent_req_is_unix_error

4 years agoConvert name_mangle() to use talloc
Volker Lendecke [Sun, 22 Feb 2009 10:53:50 +0000]
Convert name_mangle() to use talloc

4 years agoStart fixing Solaris build failures.
Jeremy Allison [Tue, 24 Feb 2009 19:37:57 +0000]
Start fixing Solaris build failures.
Jeremy.

4 years agos3:Makefile: build libcli/ldap files
Stefan Metzmacher [Tue, 24 Feb 2009 13:23:12 +0000]
s3:Makefile: build libcli/ldap files

metze

4 years agolibcli/ldap: move generic ldap control encoding code to ldap_message.c
Stefan Metzmacher [Tue, 24 Feb 2009 15:49:26 +0000]
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

4 years agos4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not defined...
Stefan Metzmacher [Tue, 24 Feb 2009 13:45:01 +0000]
s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not defined in C.

metze

4 years agolibcli/ldap: move ldap_ndr from source4/ to toplevel
Stefan Metzmacher [Tue, 24 Feb 2009 11:50:43 +0000]
libcli/ldap: move ldap_ndr from source4/ to toplevel

metze

4 years agolibcli/ldap: fix compiler warnings
Stefan Metzmacher [Tue, 24 Feb 2009 11:29:59 +0000]
libcli/ldap: fix compiler warnings

metze

4 years agolibcli/ldap: move ldap_errors.h to the toplevel and install it
Stefan Metzmacher [Tue, 24 Feb 2009 15:52:37 +0000]
libcli/ldap: move ldap_errors.h to the toplevel and install it

metze

4 years agolibcli/ldap: move ldap_message.[ch] from source4/ to the toplevel
Stefan Metzmacher [Tue, 24 Feb 2009 11:13:41 +0000]
libcli/ldap: move ldap_message.[ch] from source4/ to the toplevel

metze

4 years agos4:libcli/ldap: remove reference to DEBUG()
Stefan Metzmacher [Tue, 24 Feb 2009 11:09:11 +0000]
s4:libcli/ldap: remove reference to DEBUG()

This prepares using ldap_message.c in source3/ later

metze

4 years agos4:libcli: split out LIBCLI_LDAP_MESSAGE subsystem
Stefan Metzmacher [Tue, 24 Feb 2009 10:40:18 +0000]
s4:libcli: split out LIBCLI_LDAP_MESSAGE subsystem

metze

4 years agos3: remove unused smb_ldap.h
Stefan Metzmacher [Tue, 24 Feb 2009 13:06:27 +0000]
s3: remove unused smb_ldap.h

metze

4 years agos3:example/VFS: fix the build
Stefan Metzmacher [Tue, 24 Feb 2009 14:28:54 +0000]
s3:example/VFS: fix the build

metze

4 years agos3:mount.cifs: make "mount.cifs -V" print the version, not usage.
Michael Adam [Tue, 24 Feb 2009 15:58:33 +0000]
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

4 years agos3:mount.cifs: don't error exit on explicitly requested help...
Michael Adam [Tue, 24 Feb 2009 15:57:30 +0000]
s3:mount.cifs: don't error exit on explicitly requested help...

Michael

4 years agos3: re-run make samba3-idl.
Günther Deschner [Tue, 24 Feb 2009 11:38:53 +0000]
s3: re-run make samba3-idl.

Guenther