ira/wip.git
11 years agopytevent: Fix include path - tevent_util is not installed.
Jelmer Vernooij [Sat, 21 Feb 2009 18:08:24 +0000 (19:08 +0100)]
pytevent: Fix include path - tevent_util is not installed.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Sat, 21 Feb 2009 18:00:18 +0000 (19:00 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoLet --enable-external-libldb default to no (since linking against
Jelmer Vernooij [Sat, 21 Feb 2009 17:59:12 +0000 (18:59 +0100)]
Let --enable-external-libldb default to no (since linking against
external LDB doesn't work yet).
Fix flags when using internal libs.

11 years agoFix the build on Solaris
Volker Lendecke [Sat, 21 Feb 2009 17:55:35 +0000 (18:55 +0100)]
Fix the build on Solaris

11 years agoAdd --enable-external-* flags for libraries shipped with Samba, to allow
Jelmer Vernooij [Sat, 21 Feb 2009 17:21:20 +0000 (18:21 +0100)]
Add --enable-external-* flags for libraries shipped with Samba, to allow
explicitly enabling or disabling the use of the version provided by the
system.

11 years agoFix some nonempty blank lines
Volker Lendecke [Sat, 21 Feb 2009 12:20:08 +0000 (13:20 +0100)]
Fix some nonempty blank lines

11 years agoRemove the static "chal" from ntlmssp.c:get_challenge()
Volker Lendecke [Thu, 19 Feb 2009 22:41:48 +0000 (23:41 +0100)]
Remove the static "chal" from ntlmssp.c:get_challenge()

11 years agoFix a typo
Volker Lendecke [Thu, 12 Feb 2009 15:21:45 +0000 (16:21 +0100)]
Fix a typo

11 years agoDo not close an fd we know is -1
Volker Lendecke [Sat, 14 Feb 2009 12:43:09 +0000 (13:43 +0100)]
Do not close an fd we know is -1

11 years agoMove some bytes from the data to the text segment
Volker Lendecke [Thu, 19 Feb 2009 22:26:06 +0000 (23:26 +0100)]
Move some bytes from the data to the text segment

11 years agoFix an uninitialized variable
Volker Lendecke [Sat, 21 Feb 2009 11:49:01 +0000 (12:49 +0100)]
Fix an uninitialized variable

11 years agos3: Fix build break in d9a842b2
Steven Danneman [Sat, 21 Feb 2009 07:25:49 +0000 (23:25 -0800)]
s3: Fix build break in d9a842b2

* actually check for existance of sysctlbyname()

11 years agoIntroduce a new passdb backend: pdb_onefs_sam
Dan Sledz [Fri, 13 Feb 2009 20:28:57 +0000 (12:28 -0800)]
Introduce a new passdb backend: pdb_onefs_sam

Implements a custom backend for onefs that exclusively uses the wbclient
interface for all passdb calls.
It lacks some features of a standard passdb.
In particular it's a read only interface and doesn't implement privileges.

11 years agoIntroduce a new authentication backend auth_onefs_wb
Dan Sledz [Fri, 13 Feb 2009 20:24:22 +0000 (12:24 -0800)]
Introduce a new authentication backend auth_onefs_wb

This new backend is custom tailored to onefs' unique requirements:
1) No fallback logic
2) Does not validate the domain of the user
3) Handles unencrypted passwords

11 years agoAllow building with an external libwbclient library
Dan Sledz [Tue, 9 Dec 2008 08:29:26 +0000 (08:29 +0000)]
Allow building with an external libwbclient library

Introduce a new configure option --with-wbclient which specifies a
location to find a compatible libwbclient library to link against.  This
options is overwritten by --with-winbind

11 years agos4 torture: Add comment to clarify test
Zack Kirsch [Fri, 20 Feb 2009 23:29:29 +0000 (15:29 -0800)]
s4 torture: Add comment to clarify test

11 years agos3 BRL: Add more clarifying comments and add implied logic to make conditional more...
Zack Kirsch [Fri, 20 Feb 2009 23:22:15 +0000 (15:22 -0800)]
s3 BRL: Add more clarifying comments and add implied logic to make conditional more clear

11 years agos3 OneFS: Add debugging for createfile_flags
Zack Kirsch [Fri, 20 Feb 2009 23:20:39 +0000 (15:20 -0800)]
s3 OneFS: Add debugging for createfile_flags

11 years agoChange smbc_set_credentials_with_fallback() (unreleased) to use
Jeremy Allison [Sat, 21 Feb 2009 00:41:41 +0000 (16:41 -0800)]
Change smbc_set_credentials_with_fallback() (unreleased) to use
const approptiately.
Jeremy.

11 years agoS3: Detect max_open_files from system
todd stecher [Thu, 19 Feb 2009 17:33:30 +0000 (09:33 -0800)]
S3: Detect max_open_files from system
- Attempt to use syscalls to determine max-open-files value.
- Add in periodic logging when max file limit reached

11 years agos3: Refactor of madvise() usage in c441f58d
Steven Danneman [Sat, 21 Feb 2009 00:24:08 +0000 (16:24 -0800)]
s3: Refactor of madvise() usage in c441f58d

* move to reinit_after_fork() to protect all Samba daemons
* only protect parent processes

11 years agoMoved become_daemon() and close_low_fds() to shared util lib
Steven Danneman [Fri, 20 Feb 2009 23:10:21 +0000 (15:10 -0800)]
Moved become_daemon() and close_low_fds() to shared util lib

11 years agos3: OneFS implementation of change notify
Steven Danneman [Fri, 20 Feb 2009 21:25:17 +0000 (13:25 -0800)]
s3: OneFS implementation of change notify

The OneFS Samba implementation of change notify is modeled after the
usage of Linux's inotify kernel subsystem.  A single call is made
into the onefs.so VFS module to initialize kernel tracking of certain
file change events.  When these events occur a kernel notification is
sent to smbd and the notification event is translated and given to the
general Samba Change Notify layer through a callback function.

The most difficult aspect is converting an SMB CompletionFilter to
a matching ifs_event mask, and then back to an appropriate change
notify action.  Currently, not all possible cases are handled by the
this module, but the most prevalent ones, which are tested by
smbtorture, are implemented.

11 years agos3: Make change notify immediately return a catch-all packet on underlying error
Steven Danneman [Wed, 18 Feb 2009 00:20:18 +0000 (16:20 -0800)]
s3: Make change notify immediately return a catch-all packet on underlying error

* This allows a problem in the underlying CN backend to be bubbled up
  to the general CN layer so a catch-all reply can be returned
* We now also return a catch-all response immediately if the server-side
  event queue becomes too big

11 years agos3: Modifications to generic notify structures to allow implementation of OneFS notify.
Steven Danneman [Fri, 20 Feb 2009 21:23:53 +0000 (13:23 -0800)]
s3: Modifications to generic notify structures to allow implementation of OneFS notify.

The OneFS kernel based change notify system takes an fd of the directory
to watch in it's initialization syscall.  Since we already have this
directory open, this commit plumbs that fd down to the VFS layer via the
notify_entry struct.

We also need to know if the watch is taken out on a snapshot directory.
The full file_id struct is also passed down to make this determination.
The file_id marshalling wrappers are hand written here, but should
eventually be auto-generated by moving the struct file_id into the idl.

11 years agoAdded torture tests to RAW-NOTIFY
Steven Danneman [Fri, 20 Feb 2009 01:06:27 +0000 (17:06 -0800)]
Added torture tests to RAW-NOTIFY

* This adds a test to check the change notify behavior of the SMB server
  when more events have been generated than can be returned in a single
  change notify response.

* Second test makes sure the server doesn't return notification events
  for changes to the watched directory itself

11 years agoFix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
Jeremy Allison [Fri, 20 Feb 2009 16:23:52 +0000 (08:23 -0800)]
Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD
permission bit (which we require before allowing a delete) no one can delete
files without an explicit DELETE_CHILD bit set on the directory. Add this mapping.
Jeremy.

11 years agovariable grouping: just my OCD desire to keep similar things together
Derrell Lipman [Fri, 20 Feb 2009 14:51:36 +0000 (09:51 -0500)]
variable grouping: just my OCD desire to keep similar things together

11 years agoMake libsmbclient work with DFS
Bo Yang [Fri, 20 Feb 2009 04:00:46 +0000 (12:00 +0800)]
Make libsmbclient work with DFS

Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
11 years agos3/docs: Add hint about getfattr in man vfs_acl_xattr.
Karolin Seeger [Fri, 20 Feb 2009 13:14:54 +0000 (14:14 +0100)]
s3/docs: Add hint about getfattr in man vfs_acl_xattr.

Karolin

11 years agos3/docs: Add man vfs_acl_tdb.
Karolin Seeger [Fri, 20 Feb 2009 12:32:44 +0000 (13:32 +0100)]
s3/docs: Add man vfs_acl_tdb.

Karolin

11 years agos3/docs: Add man vfs_acl_xattr.
Karolin Seeger [Fri, 20 Feb 2009 12:32:22 +0000 (13:32 +0100)]
s3/docs: Add man vfs_acl_xattr.

Karolin

11 years agos3/docs: Fix several typos.
Karolin Seeger [Fri, 20 Feb 2009 08:20:16 +0000 (09:20 +0100)]
s3/docs: Fix several typos.

This fixes bug #6127.
Thanks to Justin T Pryzby <justinpryzby [at] users.sourceforge.net>
for the review!

Karolin

11 years agos3 OneFS: Add shadow copy module
Tim Prouty [Wed, 18 Feb 2009 04:39:03 +0000 (20:39 -0800)]
s3 OneFS: Add shadow copy module

11 years agos3 OneFS: Add file_id_create implementation to take advantage of snapshots
Tim Prouty [Wed, 18 Feb 2009 02:38:58 +0000 (18:38 -0800)]
s3 OneFS: Add file_id_create implementation to take advantage of snapshots

11 years agos3: Change the vfs_GetWd cache to use the file_id struct
Tim Prouty [Tue, 17 Feb 2009 00:06:45 +0000 (16:06 -0800)]
s3: Change the vfs_GetWd cache to use the file_id struct

11 years agos3: Remove unused inform_level2_message struct
Tim Prouty [Mon, 16 Feb 2009 22:55:52 +0000 (14:55 -0800)]
s3: Remove unused inform_level2_message struct

11 years agos3: Add extid to the dev/inode pair
Tim Prouty [Mon, 16 Feb 2009 07:45:28 +0000 (23:45 -0800)]
s3: Add extid to the dev/inode pair

This extends the file_id struct to add an additional generic uint64_t
field: extid.  For backwards compatibility with dev/inodes stored in
xattr_tdbs and acl_tdbs, the ext id is ignored for these databases.
This patch should cause no functional change on systems that don't use
SMB_VFS_FILE_ID_CREATE to set the extid.

Existing code that uses the smb_share_mode library will need to be
updated to be compatibile with the new extid.

11 years agos3: Modify SMB_VFS_FILE_ID_CREATE to take a stat struct
Tim Prouty [Mon, 16 Feb 2009 07:38:53 +0000 (23:38 -0800)]
s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat struct

Since file_id_create_dev is incompatible with the concept of file_ids,
it is now static and in the one file that needs it.

11 years agoFix printf warnings found on systems where time_t <> long int.
Jeremy Allison [Thu, 19 Feb 2009 21:36:20 +0000 (13:36 -0800)]
Fix printf warnings found on systems where time_t <> long int.
Jeremy.

11 years agoFix printf type warning.
Jeremy Allison [Thu, 19 Feb 2009 21:11:36 +0000 (13:11 -0800)]
Fix printf type warning.
Jeremy.

11 years agoFix an uninitialized variable
Volker Lendecke [Thu, 19 Feb 2009 19:59:31 +0000 (20:59 +0100)]
Fix an uninitialized variable

11 years agoFix a O(n^2) algorithm in regdb_fetch_keys()
Volker Lendecke [Thu, 19 Feb 2009 19:03:06 +0000 (20:03 +0100)]
Fix a O(n^2) algorithm in regdb_fetch_keys()

11 years agos3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx.
Günther Deschner [Thu, 19 Feb 2009 18:02:48 +0000 (19:02 +0100)]
s3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx.

Martin Zielinski, if you're reading this, please have a look. Vista nicely takes
just a WERR_UNKNOWN_LEVEL here and retries with a level 6 add.

Guenther

11 years agos3-spoolss: remove old spoolss_AddPrinterDriver{Ex}.
Günther Deschner [Wed, 18 Feb 2009 18:00:29 +0000 (19:00 +0100)]
s3-spoolss: remove old spoolss_AddPrinterDriver{Ex}.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}.
Günther Deschner [Wed, 18 Feb 2009 17:59:43 +0000 (18:59 +0100)]
s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}.

Guenther

11 years agos3-spoolss: remove old spoolss_GetPrintProcessorDirectory.
Günther Deschner [Thu, 19 Feb 2009 09:44:42 +0000 (10:44 +0100)]
s3-spoolss: remove old spoolss_GetPrintProcessorDirectory.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.
Günther Deschner [Thu, 19 Feb 2009 09:42:49 +0000 (10:42 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.

Guenther.

11 years agos3-rpcclient: use rpccli_spoolss_GetPrintProcessorDirectory in rpcclient.
Günther Deschner [Thu, 19 Feb 2009 09:26:00 +0000 (10:26 +0100)]
s3-rpcclient: use rpccli_spoolss_GetPrintProcessorDirectory in rpcclient.

Guenther

11 years agos3-spoolss: fix _spoolss_GetPrinterDriverDirectory.
Günther Deschner [Thu, 19 Feb 2009 18:17:19 +0000 (19:17 +0100)]
s3-spoolss: fix _spoolss_GetPrinterDriverDirectory.

treat architecture correctly as it is a [unique] pointer, and newer
Windows versions sometimes send in an empty string.

Guenther

11 years agos3-rpcclient: use SPOOLSS_ARCHITECTURE_NT_X86 define in spoolss getdriverdir cmd.
Günther Deschner [Thu, 19 Feb 2009 16:41:10 +0000 (17:41 +0100)]
s3-rpcclient: use SPOOLSS_ARCHITECTURE_NT_X86 define in spoolss getdriverdir cmd.

Guenther

11 years agos3-spoolss: _spoolss_OpenPrinterEx needs to wipe out policy handle upon failure.
Günther Deschner [Thu, 19 Feb 2009 14:56:05 +0000 (15:56 +0100)]
s3-spoolss: _spoolss_OpenPrinterEx needs to wipe out policy handle upon failure.

Guenther

11 years agos3-spoolss: _spoolss_AddPrinterEx needs to wipe out policy handle upon failure.
Günther Deschner [Thu, 19 Feb 2009 16:40:21 +0000 (17:40 +0100)]
s3-spoolss: _spoolss_AddPrinterEx needs to wipe out policy handle upon failure.

Guenther

11 years agospoolss: add ndr_size_spoolss_StringArray to spoolss helper.
Günther Deschner [Thu, 19 Feb 2009 16:39:36 +0000 (17:39 +0100)]
spoolss: add ndr_size_spoolss_StringArray to spoolss helper.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 19 Feb 2009 16:59:51 +0000 (17:59 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: remove gensize calculation from spoolss_StringArray. Thanks metze!
Günther Deschner [Thu, 19 Feb 2009 16:38:47 +0000 (17:38 +0100)]
spoolss: remove gensize calculation from spoolss_StringArray. Thanks metze!

Guenther

11 years agoFix a buffer handling bug when adding lots of registry keys
Volker Lendecke [Thu, 19 Feb 2009 13:16:44 +0000 (14:16 +0100)]
Fix a buffer handling bug when adding lots of registry keys

This is *ancient*... From 2002, and nobody noticed until someone added lots of
shares using net conf... :-)

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

Guenther

11 years agospoolss: fill in spoolss_GetPrintProcessorDirectory.
Günther Deschner [Thu, 19 Feb 2009 09:45:12 +0000 (10:45 +0100)]
spoolss: fill in spoolss_GetPrintProcessorDirectory.

Guenther

11 years agos3-libnet: fix coverity #848 (UNINIT).
Günther Deschner [Thu, 19 Feb 2009 01:35:20 +0000 (02:35 +0100)]
s3-libnet: fix coverity #848 (UNINIT).

Guenther

11 years agos4:librpc/ndr: if uninitialized variable in string_array code
Stefan Metzmacher [Thu, 19 Feb 2009 10:12:33 +0000 (11:12 +0100)]
s4:librpc/ndr: if uninitialized variable in string_array code

metze

11 years agos3:librpc/ndr: if uninitialized variable in string_array code
Stefan Metzmacher [Thu, 19 Feb 2009 10:11:28 +0000 (11:11 +0100)]
s3:librpc/ndr: if uninitialized variable in string_array code

metze

11 years agolibrpc: rerun make idl
Stefan Metzmacher [Thu, 19 Feb 2009 10:11:04 +0000 (11:11 +0100)]
librpc: rerun make idl

11 years agopidl:NDR/Parser: don't call [noopnum] function when creating the ndr_interface_table
Stefan Metzmacher [Thu, 19 Feb 2009 09:32:48 +0000 (10:32 +0100)]
pidl:NDR/Parser: don't call [noopnum] function when creating the ndr_interface_table

metze

11 years agos3 OneFS: Fixes "inherit permissions" and "nt acl support" for Onefs.
Zack Kirsch [Wed, 18 Feb 2009 05:03:33 +0000 (21:03 -0800)]
s3 OneFS: Fixes "inherit permissions" and "nt acl support" for Onefs.

11 years agoS3: Dumb down debug spew in perfcount module code
todd stecher [Wed, 18 Feb 2009 08:02:51 +0000 (00:02 -0800)]
S3: Dumb down debug spew in perfcount module code

11 years agoS3: Make changes to perfcount API set for when a single request leads to multiple...
todd stecher [Tue, 17 Feb 2009 04:45:45 +0000 (20:45 -0800)]
S3: Make changes to perfcount API set for when a single request leads to multiple replies

(e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!).

11 years agos4 torture: Add new test to create a file with a lot of streams
Tim Prouty [Tue, 23 Dec 2008 08:53:28 +0000 (00:53 -0800)]
s4 torture: Add new test to create a file with a lot of streams

This tests how streaminfo deals with large buffers

smbclient seems to have problems when the buffer size approaches the
max data size.  Also smbclient exposes no way to specify the max data
size that is sent in a trans2 request.  Instead it hardcodes in a much
larger max than windows uses.  For these reasons this test isn't
actually run, but is more of a reference for how windows handles
streaminfo buffers.

11 years agos3: Fix bug opening streams with truncating disposition
Tim Prouty [Thu, 19 Feb 2009 07:10:41 +0000 (23:10 -0800)]
s3: Fix bug opening streams with truncating disposition

Do not attempt to delete streams on a truncating open, if the name
we're opening is itself a stream.

Port 176e8857203944bc332844b700749120ce90c891 to standard open path

11 years agos4 torture: Add additional streams create disposition test
Tim Prouty [Thu, 19 Feb 2009 06:51:27 +0000 (22:51 -0800)]
s4 torture: Add additional streams create disposition test

11 years agos3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall.
Zack Kirsch [Thu, 19 Feb 2009 04:39:20 +0000 (20:39 -0800)]
s3: OneFS: Pass in the client's fnum to the ifs_cbrl syscall.

11 years agos3: Fix OneFS bug opening streams with truncating disposition
Aravind Srinivasan [Thu, 19 Feb 2009 02:26:39 +0000 (18:26 -0800)]
s3: Fix OneFS bug opening streams with truncating disposition

Do not attempt to delete streams on a truncating open, if the name we're
opening is itself a stream

11 years agos3: Fix streams enumeration bug in OneFS implementation
Aravind Srinivasan [Thu, 19 Feb 2009 01:36:25 +0000 (17:36 -0800)]
s3: Fix streams enumeration bug in OneFS implementation

Previously, we didn’t call SMB_VFS_OPEN_DIR from the streams module,
instead we called fdopendir(). As a result we failed to populate the
dir_state list in the readdirplus module. So when we tried to view the
stream data, we will always returned NULL.

To solve this I separated onefs_opendir() and the initialization of
the dir_state list. This is done by introducing a new utility function
“onefs_rdp_add_dir_state()”, which initializes the dir_state structure
and adds it to the dir_state list.  This function is called from the
streams module before calling readdir().

11 years agoS3: Log warning in smbstatus about lack of pid in anonymous mode.
todd stecher [Thu, 12 Feb 2009 21:03:03 +0000 (13:03 -0800)]
S3: Log warning in smbstatus about lack of pid in anonymous mode.

11 years agoS3: Stop creating SMBD cores when failing to create a pipe.
todd stecher [Thu, 12 Feb 2009 08:11:38 +0000 (00:11 -0800)]
S3: Stop creating SMBD cores when failing to create a pipe.

This was uncovered when the MAX FD limit was hit, causing an instant core
and invoking error reporting. This fix causes SMBD to exit, but without
building a core.

11 years agoS3: Allow SMBD processes to survive in low memory condidtions
todd stecher [Wed, 18 Feb 2009 00:16:35 +0000 (16:16 -0800)]
S3: Allow SMBD processes to survive in low memory condidtions

This commit adds a configure argument which allows for setting MADV_PROTECT
in the madvise() API.  With this enabled the kernel won't kill SMBD when
it's running low on memory.

11 years agos3-spoolss: remove old spoolss_GetPrinterDriverDirectory.
Günther Deschner [Thu, 19 Feb 2009 00:59:57 +0000 (01:59 +0100)]
s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.
Günther Deschner [Thu, 19 Feb 2009 00:46:17 +0000 (01:46 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.

Guenther

11 years agos3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient.
Günther Deschner [Thu, 19 Feb 2009 00:55:39 +0000 (01:55 +0100)]
s3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 19 Feb 2009 01:05:38 +0000 (02:05 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: make spoolss_DriverDirectoryInfo1 public and gensize.
Günther Deschner [Thu, 19 Feb 2009 00:46:49 +0000 (01:46 +0100)]
spoolss: make spoolss_DriverDirectoryInfo1 public and gensize.

Guenther

11 years agos3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista.
Günther Deschner [Wed, 18 Feb 2009 23:41:41 +0000 (00:41 +0100)]
s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista.

Guenther

11 years agoInteresting C compiler you have there... :-)
Volker Lendecke [Wed, 18 Feb 2009 23:51:51 +0000 (00:51 +0100)]
Interesting C compiler you have there... :-)

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

Guenther

11 years agospoolss: add spoolss_PortData2 (used by vista).
Günther Deschner [Wed, 18 Feb 2009 23:10:12 +0000 (00:10 +0100)]
spoolss: add spoolss_PortData2 (used by vista).

Guenther

11 years agospoolss: use spoolss access mask in OpenPrinter{Ex}.
Günther Deschner [Wed, 18 Feb 2009 23:09:30 +0000 (00:09 +0100)]
spoolss: use spoolss access mask in OpenPrinter{Ex}.

Guenther

11 years agoFix coverity CID-602. Possible use of uninitialized var.
Jeremy Allison [Wed, 18 Feb 2009 23:45:49 +0000 (15:45 -0800)]
Fix coverity CID-602. Possible use of uninitialized var.
Jeremy.

11 years agos4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.
Günther Deschner [Wed, 18 Feb 2009 19:35:48 +0000 (20:35 +0100)]
s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.

Guenther

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

Guenther

11 years agospoolss: fix idl for spoolss_AddPrinterDriver and spoolss_AddPrinterDriverEx.
Günther Deschner [Wed, 18 Feb 2009 17:10:31 +0000 (18:10 +0100)]
spoolss: fix idl for spoolss_AddPrinterDriver and spoolss_AddPrinterDriverEx.

Guenther

11 years agospoolss: add spoolss_AddDriverInfo8 (used by vista for adding drivers).
Günther Deschner [Wed, 18 Feb 2009 16:01:37 +0000 (17:01 +0100)]
spoolss: add spoolss_AddDriverInfo8 (used by vista for adding drivers).

Guenther

11 years agos3-spoolss: remove old spoolss_XcvData.
Günther Deschner [Tue, 17 Feb 2009 13:26:56 +0000 (14:26 +0100)]
s3-spoolss: remove old spoolss_XcvData.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_XcvData.
Günther Deschner [Tue, 17 Feb 2009 13:23:56 +0000 (14:23 +0100)]
s3-spoolss: use pidl for _spoolss_XcvData.

Guenther

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

Guenther

11 years agospoolss: fix spoolss_MonitorUi struct.
Günther Deschner [Wed, 18 Feb 2009 15:09:02 +0000 (16:09 +0100)]
spoolss: fix spoolss_MonitorUi struct.

Guenther

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

Guenther

11 years agospoolss: add spoolss_MonitorUi struct.
Günther Deschner [Tue, 17 Feb 2009 13:21:16 +0000 (14:21 +0100)]
spoolss: add spoolss_MonitorUi struct.

Guenther

11 years agospoolss: add spoolss_PortData1.
Günther Deschner [Tue, 17 Feb 2009 10:31:23 +0000 (11:31 +0100)]
spoolss: add spoolss_PortData1.

Guenther

11 years agotevent: add tevent_wakeup_send/recv()
Stefan Metzmacher [Tue, 17 Feb 2009 09:22:33 +0000 (10:22 +0100)]
tevent: add tevent_wakeup_send/recv()

This can be used as tevent_req based timer event.

metze

11 years agotevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()
Stefan Metzmacher [Tue, 17 Feb 2009 09:15:18 +0000 (10:15 +0100)]
tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()

This makes more clear what the function does.

metze