samba.git
11 years agos3 libsmbclient: Fix fstatvfs to be more portable
Tim Prouty [Fri, 13 Feb 2009 18:58:54 +0000 (10:58 -0800)]
s3 libsmbclient: Fix fstatvfs to be more portable

The statvfs struct isn't guaranteed to be portable across operating
systems.  Since libsmbclient isn't actually calling statvfs and just
using the statvfs struct to store similar information, this patch adds
a new portable smbc_statvfs struct.  This fixes a few of the failures
in the build farm introduced by:
ae259575c447e61665c8e7070c476914161b953f

Derrell, please check.

11 years agos3 OneFS: Add vfs implementation for SMB_VFS_GET_REAL_FILE_NAME
Aravind Srinivasan [Fri, 13 Feb 2009 19:07:46 +0000 (11:07 -0800)]
s3 OneFS: Add vfs implementation for SMB_VFS_GET_REAL_FILE_NAME

11 years agos3: Test module for perfcount system
todd stecher [Thu, 12 Feb 2009 06:28:20 +0000 (22:28 -0800)]
s3: Test module for perfcount system

Add 'perfcount module = pc_test' to exercise this module. Results are
logged into smb.log every 50 operations (configurable via smb.conf).

11 years agoFix Coverity ID 740 (RESOURCE_LEAK)
Volker Lendecke [Fri, 13 Feb 2009 20:52:21 +0000 (21:52 +0100)]
Fix Coverity ID 740 (RESOURCE_LEAK)

11 years agoFix the build. When you do "make distclean; ./autogen; ./configure; make" and it...
Jeremy Allison [Fri, 13 Feb 2009 18:36:11 +0000 (10:36 -0800)]
Fix the build. When you do "make distclean; ./autogen; ./configure; make" and it still doesn't build you know it's messed up.
Jeremy.

11 years agoOneFS implementation of BRL VFS ops:
Zack Kirsch [Tue, 10 Feb 2009 05:54:51 +0000 (21:54 -0800)]
OneFS implementation of BRL VFS ops:

* Much of the beginning should look familiar, as I re-used the OneFS oplock
  callback record concept. This was necessary to keep our own state around - it
  really only consists of a lock state, per asynchronous lock that is currently
  unsatisfied.  The onefs_cbrl_callback_records map to BLRs by the id.
* There are 4 states an async lock can be in. NONE means there is no async
  currently out for the lock, as opposed to ASYNC. DONE means we've locked
  *every* lock (keep in mind a request can ask for multiple locks at a time.)
  ERROR is an error.
* onefs_cbrl_async_success: The lock_num is incremented, and the state changed,
  so that when process_blocking_lock_queue is run, we will try the *next* lock,
  rather than the same one again.
* onefs_brl_lock_windows() has some complicated logic:
    * We do a no-op if we're passed a BLR and the matching state is ASYNC --
      this means Samba is trying to get the same lock twice, and we just need
      to wait longer, so we return an error.
    * PENDING lock calls happen when the lock is being queued on the BLQ -- we
      do async in this case.
    * We also do async in the case that we're passed a BLR, but the lock is not
      pending. This is an async lock being probed by process_blocking_lock_queue.
    * We do a sync lock for any normal first request of a lock.
    * Failure is returned, but it doesn't go to the client unless the lock has
      actually timed out.

11 years agoAdd VFS ops for Windows BRL: Lock, Unlock and Cancel:
Zack Kirsch [Tue, 10 Feb 2009 05:51:29 +0000 (21:51 -0800)]
Add VFS ops for Windows BRL: Lock, Unlock and Cancel:

This patch adds 3 new VFS OPs for Windows byte range locking: BRL_LOCK_WINDOWS,
BRL_UNLOCK_WINDOWS and BRL_CANCEL_WINDOWS. Specifically:

* I renamed brl_lock_windows, brl_unlock_windows and brl_lock_cancel to
  *_default as the default implementations of the VFS ops.
* The blocking_lock_record (BLR) is now passed into the brl_lock_windows and
  brl_cancel_windows paths. The Onefs implementation uses it - future
  implementations may find it useful too.
* Created brl_lock_cancel to do what brl_lock/brl_unlock do: set up a
  lock_struct and call either the Posix or Windows lock function. These happen
  to be the same for the default implementation.
* Added helper functions: increment_current_lock_count() and
  decrement_current_lock_count().
* Minor spelling correction in brl_timeout_fn: brl -> blr.
* Changed blocking_lock_cancel() to return the BLR that it has cancelled. This
  allows us to assert its the lock that we wanted to cancel. If this assert ever
  fires, this path will need to take in the BLR to cancel, rather than choosing
  on its own.
* Adds a small helper function: find_blocking_lock_record_by_id(). Used by the
  OneFS implementation, but could be useful for others.

11 years agoRemove typedef struct blocking_lock_record and move references to struct blocking_loc...
Zack Kirsch [Thu, 12 Feb 2009 06:13:26 +0000 (22:13 -0800)]
Remove typedef struct blocking_lock_record and move references to struct blocking_lock_record.

11 years agos4:configure: require the same version for external and internal libtevent
Stefan Metzmacher [Fri, 13 Feb 2009 17:52:40 +0000 (18:52 +0100)]
s4:configure: require the same version for external and internal libtevent

Until we reach 1.0.0, we better require the exact same version.

metze

11 years agotevent: raise version to 0.9.3
Stefan Metzmacher [Fri, 13 Feb 2009 17:51:28 +0000 (18:51 +0100)]
tevent: raise version to 0.9.3

- aio events are removed
- tevent_req infrastructure was added

metze

11 years agolib/tevent: add tevent_req infrastructure
Stefan Metzmacher [Fri, 13 Feb 2009 14:37:35 +0000 (15:37 +0100)]
lib/tevent: add tevent_req infrastructure

This is almost a copy of the async_req code,
which will be removed later.

metze

11 years agolib/tevent: add tevent_req.c as copy of lib/async_req/async_req.c
Stefan Metzmacher [Fri, 13 Feb 2009 14:43:04 +0000 (15:43 +0100)]
lib/tevent: add tevent_req.c as copy of lib/async_req/async_req.c

metze

11 years agolib/tevent: expose ev_timeval_zero() for internal usage
Stefan Metzmacher [Fri, 13 Feb 2009 14:36:16 +0000 (15:36 +0100)]
lib/tevent: expose ev_timeval_zero() for internal usage

metze

11 years agolib/tevent: remove broken tevent_aio support
Stefan Metzmacher [Fri, 13 Feb 2009 13:05:41 +0000 (14:05 +0100)]
lib/tevent: remove broken tevent_aio support

It makes no sense to support aio events because,
the current implementation was based on IOCB_CMD_EPOLL_WAIT
which never made it into the main kernel tree.

The native linux aio can be used with select/epoll
using eventfd(), which means we can implement aio
with fd events and implement aio outside of tevent.

metze

11 years agos4:lib/socket: add socket_address_copy()
Stefan Metzmacher [Fri, 13 Feb 2009 12:07:58 +0000 (13:07 +0100)]
s4:lib/socket: add socket_address_copy()

metze

11 years agos4:ldb_ildap: remove compiler warnings
Stefan Metzmacher [Fri, 13 Feb 2009 10:38:21 +0000 (11:38 +0100)]
s4:ldb_ildap: remove compiler warnings

metze

11 years agos4:libcli/ldap: use const char * const *attributes as in all other places
Stefan Metzmacher [Fri, 13 Feb 2009 10:37:15 +0000 (11:37 +0100)]
s4:libcli/ldap: use const char * const *attributes as in all other places

metze

11 years agos4:ntvfs_generic: use talloc_get_type() to remote compiler warnings
Stefan Metzmacher [Fri, 13 Feb 2009 10:35:17 +0000 (11:35 +0100)]
s4:ntvfs_generic: use talloc_get_type() to remote compiler warnings

metze

11 years agos4:torture/samba3rpc: fix the build after get_myname() changes
Stefan Metzmacher [Fri, 13 Feb 2009 12:35:19 +0000 (13:35 +0100)]
s4:torture/samba3rpc: fix the build after get_myname() changes

metze

11 years agoRemove the s4 version of smbspool.c
Volker Lendecke [Fri, 13 Feb 2009 10:49:17 +0000 (11:49 +0100)]
Remove the s4 version of smbspool.c

11 years agoFix an uninitialized variable, introdued with 4d100f2f
Volker Lendecke [Fri, 13 Feb 2009 10:17:42 +0000 (11:17 +0100)]
Fix an uninitialized variable, introdued with 4d100f2f

11 years agoReplace get_myname() with the talloc version from v3-3-test
Volker Lendecke [Fri, 13 Feb 2009 09:56:34 +0000 (10:56 +0100)]
Replace get_myname() with the talloc version from v3-3-test

11 years agos3:auth: only create_local_token() should add S-1-22-X-Y sids
Stefan Metzmacher [Wed, 11 Feb 2009 10:47:41 +0000 (11:47 +0100)]
s3:auth: only create_local_token() should add S-1-22-X-Y sids

metze

11 years agos3:auth: add S-1-22-X-Y sids to the local token
Stefan Metzmacher [Wed, 11 Feb 2009 10:46:18 +0000 (11:46 +0100)]
s3:auth: add S-1-22-X-Y sids to the local token

metze

11 years agoFix Coverity ID 707 (RESOURCE_LEAK)
Volker Lendecke [Fri, 13 Feb 2009 09:19:26 +0000 (10:19 +0100)]
Fix Coverity ID 707 (RESOURCE_LEAK)

11 years agoFix Coverity ID 742 (RESOURCE_LEAK)
Volker Lendecke [Fri, 13 Feb 2009 09:11:57 +0000 (10:11 +0100)]
Fix Coverity ID 742 (RESOURCE_LEAK)

11 years agoFix Coverity ID 744
Volker Lendecke [Fri, 13 Feb 2009 09:08:37 +0000 (10:08 +0100)]
Fix Coverity ID 744

This was marked as a resource leak. This change makes the code a bit clearer
that we always free error_string.

11 years agoFix Coverity ID 745 (RESOURCE_LEAK)
Volker Lendecke [Fri, 13 Feb 2009 09:06:14 +0000 (10:06 +0100)]
Fix Coverity ID 745 (RESOURCE_LEAK)

11 years agoRemove useless invocation of messaging_init() in RPC-PAC test
Andrew Bartlett [Fri, 13 Feb 2009 05:56:46 +0000 (16:56 +1100)]
Remove useless invocation of messaging_init() in RPC-PAC test

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Andrew Bartlett [Fri, 13 Feb 2009 05:56:35 +0000 (16:56 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel

11 years agoPush sam_get_server_info_principal into the auth subsystem
Andrew Bartlett [Fri, 13 Feb 2009 03:02:49 +0000 (14:02 +1100)]
Push sam_get_server_info_principal into the auth subsystem

This means it must be accessed via the supplied auth_context in the
GENSEC server, and should remove the hard depenceny of GENSEC on the
auth subsystem and ldb (allowing LDB not to rely on LDB is considered
a good thing, apparently)

Andrew Bartlett

11 years agos3-netlogon: implement _netr_ServerAuthenticate3.
Günther Deschner [Fri, 13 Feb 2009 00:35:35 +0000 (01:35 +0100)]
s3-netlogon: implement _netr_ServerAuthenticate3.

Guenther

11 years agoRemove auth/ntlm as a dependency of GENSEC by means of function pointers.
Andrew Bartlett [Thu, 12 Feb 2009 23:24:16 +0000 (10:24 +1100)]
Remove auth/ntlm as a dependency of GENSEC by means of function pointers.

When starting GENSEC on the server, the auth subsystem context must be
passed in, which now includes function pointers to the key elements.

This should (when the other dependencies are fixed up) allow GENSEC to
exist as a client or server library without bundling in too much of
our server code.

Andrew Bartlett

11 years agoFix Coverity ID 871 -- do not dereference "sp" before checking for NULL
Volker Lendecke [Thu, 12 Feb 2009 22:19:45 +0000 (23:19 +0100)]
Fix Coverity ID 871 -- do not dereference "sp" before checking for NULL

11 years agoFix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above
Volker Lendecke [Thu, 12 Feb 2009 22:16:18 +0000 (23:16 +0100)]
Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above

11 years agos3 onefs: rename custom parameter to plural to match previous usage
Steven Danneman [Thu, 12 Feb 2009 22:07:30 +0000 (14:07 -0800)]
s3 onefs: rename custom parameter to plural to match previous usage

11 years agoFix Coverity IDs 879 and 880 (RESOURCE_LEAK, REVERSE_INULL)
Volker Lendecke [Thu, 12 Feb 2009 21:58:24 +0000 (22:58 +0100)]
Fix Coverity IDs 879 and 880 (RESOURCE_LEAK, REVERSE_INULL)

11 years agos3: Added new parameter "map untrusted to domain"
Steven Danneman [Thu, 12 Feb 2009 21:01:45 +0000 (13:01 -0800)]
s3: Added new parameter "map untrusted to domain"

When enabled this reverts smbd to the legacy domain remapping behavior when
a user provides an untrusted domain

This partially reverts d8c54fdd

11 years agos3-spoolss: remove old spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:28:45 +0000 (22:28 +0100)]
s3-spoolss: remove old spoolss_SetPrinterDataEx.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:23:04 +0000 (22:23 +0100)]
s3-spoolss: use pidl for _spoolss_SetPrinterDataEx.

Guenther

11 years agos3-net: use rpccli_spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:28:10 +0000 (22:28 +0100)]
s3-net: use rpccli_spoolss_SetPrinterDataEx.

Guenther

11 years agos3-spoolss: remove old spoolss_GetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:07:30 +0000 (22:07 +0100)]
s3-spoolss: remove old spoolss_GetPrinterDataEx.

Guenther

11 years agos3-rpcclient: use rpccli_spoolss_GetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:06:54 +0000 (22:06 +0100)]
s3-rpcclient: use rpccli_spoolss_GetPrinterDataEx.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_GetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 18:42:57 +0000 (19:42 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinterDataEx.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 12 Feb 2009 21:44:29 +0000 (22:44 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: fix IDL for spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:29:08 +0000 (22:29 +0100)]
spoolss: fix IDL for spoolss_SetPrinterDataEx.

Guenther

11 years agoFix "make etags" properly :-)
Volker Lendecke [Wed, 11 Feb 2009 12:45:15 +0000 (13:45 +0100)]
Fix "make etags" properly :-)

11 years agore-run make samba3-idl.
Günther Deschner [Thu, 12 Feb 2009 17:04:06 +0000 (18:04 +0100)]
re-run make samba3-idl.

Guenther

11 years agos3-spoolss: add init_systemtime helper.
Günther Deschner [Thu, 12 Feb 2009 11:10:16 +0000 (12:10 +0100)]
s3-spoolss: add init_systemtime helper.

Guenther

11 years agospoolss: always set version 2 in notify info and option structs.
Günther Deschner [Thu, 12 Feb 2009 16:45:09 +0000 (17:45 +0100)]
spoolss: always set version 2 in notify info and option structs.

Guenther

11 years agospoolss: add spoolss_NotifyTable enum.
Günther Deschner [Thu, 12 Feb 2009 16:26:17 +0000 (17:26 +0100)]
spoolss: add spoolss_NotifyTable enum.

Guenther

11 years agospoolss: fix some cases in the spoolss_NotifyData union.
Günther Deschner [Thu, 12 Feb 2009 13:00:49 +0000 (14:00 +0100)]
spoolss: fix some cases in the spoolss_NotifyData union.

Guenther

11 years agospoolss: add spoolss_DriverInfo8.
Günther Deschner [Wed, 11 Feb 2009 20:32:18 +0000 (21:32 +0100)]
spoolss: add spoolss_DriverInfo8.

Guenther

11 years agospoolss: fix spoolss_AddPrinterEx IDL.
Günther Deschner [Wed, 11 Feb 2009 23:48:29 +0000 (00:48 +0100)]
spoolss: fix spoolss_AddPrinterEx IDL.

Guenther

11 years ago[Bug 6069] Add a fstatvfs function for libsmbclient
Derrell Lipman [Thu, 12 Feb 2009 15:39:17 +0000 (10:39 -0500)]
[Bug 6069] Add a fstatvfs function for libsmbclient

- port functionality from v3_3_test to master

Derrell

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Thu, 12 Feb 2009 15:00:46 +0000 (16:00 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoProvide a SamDB TestCase-class that can be used by OpenChange.
Jelmer Vernooij [Thu, 12 Feb 2009 15:00:11 +0000 (16:00 +0100)]
Provide a SamDB TestCase-class that can be used by OpenChange.

11 years agoUse created loadparm context, rather than the one specified on the command-line.
Jelmer Vernooij [Thu, 12 Feb 2009 14:58:11 +0000 (15:58 +0100)]
Use created loadparm context, rather than the one specified on the command-line.

11 years agoThere are systems where nanosleep is in libc *and* in librt.
Björn Jacke [Thu, 12 Feb 2009 10:14:18 +0000 (11:14 +0100)]
There are systems where nanosleep is in libc *and* in librt.

Let's just do the test in librt when the first one failed.

11 years agotidy up timestamp checks
Björn Jacke [Wed, 11 Feb 2009 20:19:01 +0000 (21:19 +0100)]
tidy up timestamp checks

AC_CHECK_MEMBERS should be a sufficient check, there's no need to do manual
compile tests. We can also assume that we have ctime and atime members when we
have the mtime member.

11 years agotoday valgrind is available on 64bit Linux, too
Björn Jacke [Thu, 12 Feb 2009 11:29:35 +0000 (12:29 +0100)]
today valgrind is available on 64bit Linux, too

11 years agos3: Change behavior when seeing an unknown domain.
Dan Sledz [Tue, 10 Feb 2009 23:50:39 +0000 (15:50 -0800)]
s3: Change behavior when seeing an unknown domain.

After a lot of testing against various Windows servers (W2K, W2K3, W2K8),
within an AD domain it seems that unknown domains will only be translated
to the local account domain, not the netbios name of the member server's
domain.  This makes samba act more like Windows.

11 years agos3: Implement wbcGetSidAliases
Dan Sledz [Tue, 10 Feb 2009 21:59:10 +0000 (13:59 -0800)]
s3: Implement wbcGetSidAliases

* Adds wbcGetSidAliases that calls the lookup_useraliases function.
* Updates wbinfo and winbind_util.c to call the new function.
* Also added winbind_get_groups helper function.

11 years agos3: Implement wbcGetpwsid
Dan Sledz [Tue, 10 Feb 2009 19:06:44 +0000 (11:06 -0800)]
s3: Implement wbcGetpwsid

* Adds the plumbing required to lookup users by sid into winbind, wbinfo
  and smbd helper lib (winbind_util.c).
* Removes some double declarations of winbind_util.c functions.
* Bumps the winbind protocol version to 21 and the minor version of
  wbclient to 3.

11 years agoFix double free caused by incorrect talloc_steal usage.
Dan Sledz [Sun, 8 Feb 2009 19:40:26 +0000 (11:40 -0800)]
Fix double free caused by incorrect talloc_steal usage.

11 years agoAdded nsswitch/ object files to make clean
Steven Danneman [Thu, 12 Feb 2009 00:06:18 +0000 (16:06 -0800)]
Added nsswitch/ object files to make clean

* also removed duplicate paths to lib directories in make clean

11 years agos3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.
Günther Deschner [Wed, 11 Feb 2009 23:42:59 +0000 (00:42 +0100)]
s3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 23:54:40 +0000 (00:54 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: fill in spoolss_RouterReplyPrinterEx.
Günther Deschner [Wed, 11 Feb 2009 21:07:26 +0000 (22:07 +0100)]
spoolss: fill in spoolss_RouterReplyPrinterEx.

Guenther

11 years agos4-smbtorture: fix the build of the ndr spoolss tester.
Günther Deschner [Wed, 11 Feb 2009 22:36:43 +0000 (23:36 +0100)]
s4-smbtorture: fix the build of the ndr spoolss tester.

Guenther

11 years agos3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.
Günther Deschner [Wed, 11 Feb 2009 14:26:00 +0000 (15:26 +0100)]
s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.

Guenther

11 years agos3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.
Günther Deschner [Wed, 11 Feb 2009 12:08:44 +0000 (13:08 +0100)]
s3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 12:08:11 +0000 (13:08 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: add spoolss_AddPrinterDriverExFlags.
Günther Deschner [Wed, 11 Feb 2009 12:07:45 +0000 (13:07 +0100)]
spoolss: add spoolss_AddPrinterDriverExFlags.

Guenther

11 years agos3:packaging: fix parsing of include.h in fill-templates
Michael Adam [Wed, 11 Feb 2009 21:27:48 +0000 (22:27 +0100)]
s3:packaging: fix parsing of include.h in fill-templates

The content has changed slightly in master for the merged build,
and we must be more exact when parsing the lines.

Michael

11 years agos3:packaging: fix path to calling update-pkginfo after pushd in fill-templates
Michael Adam [Wed, 11 Feb 2009 21:25:41 +0000 (22:25 +0100)]
s3:packaging: fix path to calling update-pkginfo after pushd in fill-templates

Michael

11 years agos3:packaging: paths cosmetics in fill-templates
Michael Adam [Wed, 11 Feb 2009 21:24:52 +0000 (22:24 +0100)]
s3:packaging: paths cosmetics in fill-templates

Michael

11 years agos3-spoolss: Fix uninitialised variable warning.
Günther Deschner [Wed, 11 Feb 2009 21:34:41 +0000 (22:34 +0100)]
s3-spoolss: Fix uninitialised variable warning.

Guenther

11 years agos4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Günther Deschner [Wed, 11 Feb 2009 21:06:45 +0000 (22:06 +0100)]
s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.

Guenther

11 years agos3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Günther Deschner [Wed, 11 Feb 2009 21:05:18 +0000 (22:05 +0100)]
s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 21:12:56 +0000 (22:12 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: fix name mismatch for opnum 0x42 (66).
Günther Deschner [Wed, 11 Feb 2009 20:51:39 +0000 (21:51 +0100)]
spoolss: fix name mismatch for opnum 0x42 (66).

opnum 0x42 is spoolss_RouterReplyPrinterEx and *not*
spoolss_RouterRefreshPrinterChangeNotification.

Guenther

11 years agospoolss: fix name mismatch for opnum 0x43 (67).
Günther Deschner [Wed, 11 Feb 2009 20:42:19 +0000 (21:42 +0100)]
spoolss: fix name mismatch for opnum 0x43 (67).

opnum 0x43 is spoolss_RouterRefreshPrinterChangeNotify and *not*
spoolss_RemoteFindNextPrinterChangeNotifyEx

Guenther

11 years agos3 OneFS: Expand the usage of the ignore sacl parameter
todd stecher [Wed, 11 Feb 2009 17:52:02 +0000 (09:52 -0800)]
s3 OneFS: Expand the usage of the ignore sacl parameter

11 years agos4 torture: Smbtorture additions for Windows BRL
Zack Kirsch [Tue, 10 Feb 2009 05:58:50 +0000 (21:58 -0800)]
s4 torture: Smbtorture additions for Windows BRL

- Adds a few new BRL tests to RAW-LOCK
- Adds a "win7" target to allow torture to handle protocol changes in
  windows 7

11 years agos4 torture: Two minor fixes to smbtorture BRL tests.
Zack Kirsch [Tue, 10 Feb 2009 05:59:40 +0000 (21:59 -0800)]
s4 torture: Two minor fixes to smbtorture BRL tests.

11 years agoenable IPv6 support for NetBSD, FreeBSD
Björn Jacke [Wed, 11 Feb 2009 15:34:02 +0000 (16:34 +0100)]
enable IPv6 support for NetBSD, FreeBSD

most systems include netinet/in.h via netdb.h but *BSD don't.

11 years agoCatch specific exceptions, rather than catching everything, which might hide other...
Jelmer Vernooij [Wed, 11 Feb 2009 18:04:33 +0000 (19:04 +0100)]
Catch specific exceptions, rather than catching everything, which might hide other exceptions silently.

11 years agoUse convenience function for finding setup dir in SaMDB tests.
Jelmer Vernooij [Wed, 11 Feb 2009 17:45:51 +0000 (18:45 +0100)]
Use convenience function for finding setup dir in SaMDB tests.

11 years agoUse convenience function for finding setup_dir based on location of
Jelmer Vernooij [Wed, 11 Feb 2009 17:44:57 +0000 (18:44 +0100)]
Use convenience function for finding setup_dir based on location of
python module.

11 years agoMove some samdb-specific code out of provision.
Jelmer Vernooij [Wed, 11 Feb 2009 17:31:52 +0000 (18:31 +0100)]
Move some samdb-specific code out of provision.

11 years agoMake it possible to override the setup path.
Jelmer Vernooij [Wed, 11 Feb 2009 17:17:00 +0000 (18:17 +0100)]
Make it possible to override the setup path.

11 years agoCancel transactions when exceptions are raised.
Jelmer Vernooij [Wed, 11 Feb 2009 16:54:58 +0000 (17:54 +0100)]
Cancel transactions when exceptions are raised.

11 years ago--interactive doesn't take any argument.
Jelmer Vernooij [Wed, 11 Feb 2009 15:58:00 +0000 (16:58 +0100)]
--interactive doesn't take any argument.

11 years agoFix Coverity ID 519 (NEGATIVE_RETURNS)
Volker Lendecke [Wed, 11 Feb 2009 11:00:19 +0000 (12:00 +0100)]
Fix Coverity ID 519 (NEGATIVE_RETURNS)

11 years agos3:build: some implementations of "ln" are picky about the order of arguments
Michael Adam [Wed, 11 Feb 2009 10:02:05 +0000 (11:02 +0100)]
s3:build: some implementations of "ln" are picky about  the order of arguments

Michael

11 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 09:20:34 +0000 (10:20 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: fill in spoolss_AddPrinterDriverEx. This is metze's work from 2005 (!).
Günther Deschner [Wed, 11 Feb 2009 09:15:56 +0000 (10:15 +0100)]
spoolss: fill in spoolss_AddPrinterDriverEx. This is metze's work from 2005 (!).

Guenther

11 years agospoolss: fill in spoolss_AddPrinterDriver. This is metze's work from 2005 (!).
Günther Deschner [Wed, 11 Feb 2009 09:13:48 +0000 (10:13 +0100)]
spoolss: fill in spoolss_AddPrinterDriver. This is metze's work from 2005 (!).

Guenther

11 years agoOnly assign argv[1] after the argc check, thanks Tim!
Volker Lendecke [Wed, 11 Feb 2009 08:35:05 +0000 (09:35 +0100)]
Only assign argv[1] after the argc check, thanks Tim!