tprouty/samba.git
10 years agos4 heimdal: Link libintl correctly libintl
Tim Prouty [Wed, 25 Feb 2009 07:38:42 +0000 (23:38 -0800)]
s4 heimdal: Link libintl correctly

10 years agos3: Fix 'assignment differ in signedness' warning
Tim Prouty [Wed, 25 Feb 2009 08:11:31 +0000 (00:11 -0800)]
s3: Fix 'assignment differ in signedness' warning

10 years agos4:build: add some comments to the SMB_EXT_LIB() definition
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

10 years agos3 OneFS: Fix uninitialized variable
Tim Prouty [Wed, 25 Feb 2009 05:53:30 +0000 (21:53 -0800)]
s3 OneFS: Fix uninitialized variable

10 years agoFix guest mounts
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>
10 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 (13:15 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel

10 years agoPrepare for a quick alpha7 release to help simo meet Fedora deadlines
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

10 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 (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.

10 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
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

10 years agoAdded torture test from a usage case from the Apple OS/X client.
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.

10 years agos3: Rename auth_onefs_wb and pdb_onefs_sam
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

10 years agos3: onefs_acl.c cleanup
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

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

10 years agoUpdates to the recent cn=config support for the OpenLDAP backend
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>
10 years agos3-spoolss: remove some left-over hand marshalling code and structs.
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

10 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
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

10 years agoMake S4 build on OpenSolaris.
Jeremy Allison [Tue, 24 Feb 2009 23:27:47 +0000 (15:27 -0800)]
Make S4 build on OpenSolaris.
Jeremy.

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

Guenther

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

Guenther

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

Guenther

10 years agos3: Fix a bug that prevent core files from being created
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

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

Guenther

10 years agos3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2
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

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

Guenther

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

Guenther

10 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
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

10 years agoFix the build. Looks like no one ever compiled this on a system
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.

10 years agoFix some C++ warnings
Volker Lendecke [Tue, 24 Feb 2009 20:08:07 +0000 (21:08 +0100)]
Fix some C++ warnings

10 years agoAdd more conventional async_recv
Volker Lendecke [Mon, 23 Feb 2009 07:56:35 +0000 (08:56 +0100)]
Add more conventional async_recv

10 years agoAdd more conventional async_send
Volker Lendecke [Mon, 23 Feb 2009 07:53:01 +0000 (08:53 +0100)]
Add more conventional async_send

10 years agoRemove unused param_connect struct
Volker Lendecke [Sun, 22 Feb 2009 23:21:27 +0000 (00:21 +0100)]
Remove unused param_connect struct

10 years agoRemove unused recvall
Volker Lendecke [Sun, 22 Feb 2009 23:20:24 +0000 (00:20 +0100)]
Remove unused recvall

10 years agoUse read_packet for wb_resp_read
Volker Lendecke [Sun, 22 Feb 2009 23:18:29 +0000 (00:18 +0100)]
Use read_packet for wb_resp_read

10 years agoUse read_packet for wb_req_read
Volker Lendecke [Sun, 22 Feb 2009 23:06:56 +0000 (00:06 +0100)]
Use read_packet for wb_req_read

10 years agoRemove read_pkt
Volker Lendecke [Sun, 22 Feb 2009 22:18:04 +0000 (23:18 +0100)]
Remove read_pkt

10 years agoReplace read_pkt by read_packet in np_read
Volker Lendecke [Sun, 22 Feb 2009 22:17:15 +0000 (23:17 +0100)]
Replace read_pkt by read_packet in np_read

10 years agoAdd async read_packet
Volker Lendecke [Sun, 22 Feb 2009 22:13:34 +0000 (23:13 +0100)]
Add async read_packet

10 years agoFix async writev
Volker Lendecke [Sun, 22 Feb 2009 22:12:56 +0000 (23:12 +0100)]
Fix async writev

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

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

10 years agoUse async writev for wb_resp_write
Volker Lendecke [Sun, 22 Feb 2009 20:55:03 +0000 (21:55 +0100)]
Use async writev for wb_resp_write

10 years agoUse async writev in wb_req_write
Volker Lendecke [Sun, 22 Feb 2009 20:41:57 +0000 (21:41 +0100)]
Use async writev in wb_req_write

10 years agoAdd async writev
Volker Lendecke [Sun, 22 Feb 2009 19:16:32 +0000 (20:16 +0100)]
Add async writev

10 years agoConvert async_connect to tevent_req
Volker Lendecke [Sun, 22 Feb 2009 18:49:18 +0000 (19:49 +0100)]
Convert async_connect to tevent_req

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

10 years agoAdd tevent_req_is_unix_error
Volker Lendecke [Sun, 22 Feb 2009 18:47:54 +0000 (19:47 +0100)]
Add tevent_req_is_unix_error

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

10 years agoStart fixing Solaris build failures.
Jeremy Allison [Tue, 24 Feb 2009 19:37:57 +0000 (11:37 -0800)]
Start fixing Solaris build failures.
Jeremy.

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

metze

10 years agolibcli/ldap: move generic ldap control encoding code to ldap_message.c
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

10 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 (14:45 +0100)]
s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not defined in C.

metze

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

metze

10 years agolibcli/ldap: fix compiler warnings
Stefan Metzmacher [Tue, 24 Feb 2009 11:29:59 +0000 (12:29 +0100)]
libcli/ldap: fix compiler warnings

metze

10 years agolibcli/ldap: move ldap_errors.h to the toplevel and install it
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

10 years agolibcli/ldap: move ldap_message.[ch] from source4/ to the toplevel
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

10 years agos4:libcli/ldap: remove reference to DEBUG()
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

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

metze

10 years agos3: remove unused smb_ldap.h
Stefan Metzmacher [Tue, 24 Feb 2009 13:06:27 +0000 (14:06 +0100)]
s3: remove unused smb_ldap.h

metze

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

metze

10 years agos3:mount.cifs: make "mount.cifs -V" print the version, not usage.
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

10 years agos3:mount.cifs: don't error exit on explicitly requested help...
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

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

Guenther

10 years agospoolss: fix _spoolss_SetPrinter level 3.
Günther Deschner [Tue, 24 Feb 2009 11:37:04 +0000 (12:37 +0100)]
spoolss: fix _spoolss_SetPrinter level 3.

Guenther

10 years agos3-spoolss: use marshall/unmarshall_sec_desc_buf in nt_printing_setsec/getsec.
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

10 years agos3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.
Günther Deschner [Tue, 24 Feb 2009 10:34:57 +0000 (11:34 +0100)]
s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.

Guenther

10 years agoAdded mmr and olc to the OpenLDAP backend provisioning-scripts
Oliver Liebel [Tue, 24 Feb 2009 00:37:58 +0000 (11:37 +1100)]
Added mmr and olc to the OpenLDAP backend provisioning-scripts

These extensions add mmr (multi-master-replication) and olc
(openldap-online-configuration) capabilities to the
provisioning-scripts (provision-backend and provision.py), for use
with the openldap-backend (only versions >=2.4.15!).

Changes / additions made to the provision-backend  -script:
added new command-line-options:
--ol-mmr-urls=<list of whitespace separated ldap-urls> for use with mmr
(can be combined with --ol-olc=yes),
--ol-olc=[yes/no] (activate automatic conversion from static slapd.conf
to olc),
--ol-slaptest=<path to slaptest binary> (needed in conjunction with
--ol-olc=yes)

Changes / additions made to the provision.py -script: added
extensions, that will automatically generate the chosen mmr and/or olc
setup for the openldap backend, according to the to chosen parameters
set in the provision-backend script

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory and
Günther Deschner [Tue, 24 Feb 2009 09:34:40 +0000 (10:34 +0100)]
s3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory and
_spoolss_PrinterDriverDirectory.

Guenther

10 years agos3: re-run make samba3-idl.
Günther Deschner [Tue, 24 Feb 2009 09:43:53 +0000 (10:43 +0100)]
s3: re-run make samba3-idl.

Guenther

10 years agospoolss: return subcontext spoolss_DriverInfo in spoolss_GetPrinterDriver2.
Günther Deschner [Tue, 24 Feb 2009 09:41:05 +0000 (10:41 +0100)]
spoolss: return subcontext spoolss_DriverInfo in spoolss_GetPrinterDriver2.

Guenther

10 years agospoolss: add SPOOLSS_DEFAULT_SERVER_PATH.
Günther Deschner [Tue, 24 Feb 2009 09:40:21 +0000 (10:40 +0100)]
spoolss: add SPOOLSS_DEFAULT_SERVER_PATH.

Guenther

10 years agoMake the 'modules.conf' generation in the LDAP selftest simpler
Andrew Bartlett [Tue, 24 Feb 2009 09:41:50 +0000 (20:41 +1100)]
Make the 'modules.conf' generation in the LDAP selftest simpler

The versions of OpenLDAP that we require don't need us to specify the
location any more - slaptest knows this from it's build time.

Andrew Bartlett

10 years agos3 OneFS: Fix a double free in an error path
Tim Prouty [Tue, 24 Feb 2009 01:43:47 +0000 (17:43 -0800)]
s3 OneFS: Fix a double free in an error path

10 years agos3 OneFS: Add a parameter that unconditionally allows execute access
Tim Prouty [Mon, 23 Feb 2009 04:50:30 +0000 (20:50 -0800)]
s3 OneFS: Add a parameter that unconditionally allows execute access

10 years agoRefactored sys_fork() and sys_pid() into shared util library
Steven Danneman [Tue, 24 Feb 2009 04:46:11 +0000 (20:46 -0800)]
Refactored sys_fork() and sys_pid() into shared util library

This fixes a bug in 116ce19b, where we didn't clear the pid cache in
become_daemon() and thus the /var/run/smbd.pid didn't match the actual
pid of the parent process.

Currently S4 will clear the pid cache on fork but doesn't yet take
advantage of the pid cache by using sys_pid() instead of the direct
get_pid().

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Tue, 24 Feb 2009 00:40:28 +0000 (11:40 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

10 years agofixed the event context for net vampire
Andrew Tridgell [Tue, 24 Feb 2009 00:39:44 +0000 (11:39 +1100)]
fixed the event context for net vampire

10 years agoMore warning fixes for Solaris.
Jeremy Allison [Tue, 24 Feb 2009 00:22:43 +0000 (16:22 -0800)]
More warning fixes for Solaris.
Jeremy.

10 years agos3-spoolss: fix notify_printer_status_byname.
Günther Deschner [Mon, 23 Feb 2009 10:43:32 +0000 (11:43 +0100)]
s3-spoolss: fix notify_printer_status_byname.

This took me almost a week to find, so here a little longer explanation:

When a windows client registers printer *status* change notifies using
spoolss_RemoteFindFirstChangeNotify, it registers them to a print server handle,
not a printer handle. We were then correctly monitoring the printer status
changes but were sending out the spoolss_RouterReplyPrinterEx via the back-channel
connection with job_id set to 0 (which we only may do for monitored printer
change status notifies on printer handlers, not print server handles). Windows
was then showing a new empty dummy printer icon in the explorer as it cannot
route the notify event to the approriate local handle. It also discarded the
content of the notify event message of course. With this, printer change notify for
pausing, resuming and purging printers nicely works again here.

Jerry, Tim and all other printing gurus, please check.

Guenther

10 years agos3: re-run make samba3-idl.
Günther Deschner [Tue, 24 Feb 2009 00:03:19 +0000 (01:03 +0100)]
s3: re-run make samba3-idl.

Guenther

10 years agospoolss: add push,pull helper for spoolss_DriverInfo101.
Günther Deschner [Mon, 23 Feb 2009 23:47:32 +0000 (00:47 +0100)]
spoolss: add push,pull helper for spoolss_DriverInfo101.

Guenther

10 years agospoolss: add spoolss_DriverInfo101 to IDL.
Günther Deschner [Mon, 23 Feb 2009 23:45:25 +0000 (00:45 +0100)]
spoolss: add spoolss_DriverInfo101 to IDL.

Note that the size_is of the spoolss_DriverFileInfo is not reflected on the ndr.
It is just used as pidl cannot handle a relative pointer to a static array of
structs.

Guenther

10 years agospoolss: generate size functions for printer driver structs.
Günther Deschner [Mon, 23 Feb 2009 21:58:33 +0000 (22:58 +0100)]
spoolss: generate size functions for printer driver structs.

Guenther

10 years agoerror-codes: add WERR_INVALID_USER_BUFFER.
Günther Deschner [Mon, 23 Feb 2009 21:59:42 +0000 (22:59 +0100)]
error-codes: add WERR_INVALID_USER_BUFFER.

Guenther

10 years agoadded a missing linefeed
Andrew Tridgell [Mon, 23 Feb 2009 23:48:11 +0000 (10:48 +1100)]
added a missing linefeed

10 years agoMore warning fixes for Solaris.
Jeremy Allison [Mon, 23 Feb 2009 23:44:34 +0000 (15:44 -0800)]
More warning fixes for Solaris.
Jeremy.

10 years agoQuieten down a boatload of shadowed variable warnings on Solaris.
Jeremy Allison [Mon, 23 Feb 2009 23:03:29 +0000 (15:03 -0800)]
Quieten down a boatload of shadowed variable warnings on Solaris.
Makes real problems easier to spot.
Jeremy.

10 years agoFix headers, ldb_includes.h is a private header,
Simo Sorce [Mon, 23 Feb 2009 22:35:49 +0000 (17:35 -0500)]
Fix headers, ldb_includes.h is a private header,
do not reference it from ldb.h

10 years agoMake char* parameters const
Derrell Lipman [Mon, 23 Feb 2009 18:50:11 +0000 (13:50 -0500)]
Make char* parameters const

- Use const in function signatures whenever appropriate, to help prevent
  errant scribbling on users' buffers. smbc_set_credentials() always acted as
  if its formal parameters were const char *, and changing the formal
  declaration to specify that should not cause any change to the ABI. It is
  still allowable to pass a writable buffer to a function which specifies that
  it will not write to the buffer.

  I'm making this change only in master.

Derrell

10 years agoFix GDB_PROVISION mode
Simo Sorce [Mon, 23 Feb 2009 18:33:39 +0000 (13:33 -0500)]
Fix GDB_PROVISION mode

10 years agoMake all transactions nested in ldb. The current samba4 code expects this
Simo Sorce [Sun, 22 Feb 2009 06:50:49 +0000 (01:50 -0500)]
Make all transactions nested in ldb. The current samba4 code expects this
behavior anyway, and given we can only have one transaction active per
ldb context this is the only sane model we can support.

Fix ldb_tdb transactions, we could return back with an error with neither
committing nor canceling the actual tdb transaction in some error paths
within the ltdb commit and cancel transaction paths.

Added also some debugging to trace what was going on.

10 years agos3-spoolss: remove cli_spoolss_notify.c completly.
Günther Deschner [Mon, 23 Feb 2009 15:39:53 +0000 (16:39 +0100)]
s3-spoolss: remove cli_spoolss_notify.c completly.

All of the spoolss change notify code uses pidl generated functions now.

Guenther

10 years agos3-spoolss: remove old SPOOL_NOTIFY_OPTION definitions.
Günther Deschner [Mon, 16 Feb 2009 23:13:24 +0000 (00:13 +0100)]
s3-spoolss: remove old SPOOL_NOTIFY_OPTION definitions.

Guenther

10 years agos3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx.
Günther Deschner [Mon, 16 Feb 2009 22:34:12 +0000 (23:34 +0100)]
s3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx.

Guenther

10 years agos3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether.
Günther Deschner [Thu, 12 Feb 2009 13:33:26 +0000 (14:33 +0100)]
s3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether.

Guenther

10 years agos3-spoolss: remove old spoolss_RouterReplyPrinterEx.
Günther Deschner [Thu, 12 Feb 2009 13:28:33 +0000 (14:28 +0100)]
s3-spoolss: remove old spoolss_RouterReplyPrinterEx.

Guenther

10 years agos3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify.
Günther Deschner [Thu, 12 Feb 2009 15:21:59 +0000 (16:21 +0100)]
s3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify.

Guenther

10 years agos3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx.
Günther Deschner [Mon, 16 Feb 2009 22:33:10 +0000 (23:33 +0100)]
s3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx.

Guenther

10 years agos3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of SPOOL_NOTIFY_O...
Günther Deschner [Mon, 16 Feb 2009 23:12:21 +0000 (00:12 +0100)]
s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE.

Guenther

10 years agos3-spoolss: add dup_spoolss_NotifyOption.
Günther Deschner [Mon, 23 Feb 2009 12:06:04 +0000 (13:06 +0100)]
s3-spoolss: add dup_spoolss_NotifyOption.

Guenther

10 years agos3-spoolss: use more idl types in spoolss server.
Günther Deschner [Fri, 13 Feb 2009 11:47:32 +0000 (12:47 +0100)]
s3-spoolss: use more idl types in spoolss server.

Guenther