tprouty/samba.git
10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Sun, 18 Jan 2009 15:19:39 +0000 (16:19 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

10 years agoAdd code to torture the fragmentation code a bit
Volker Lendecke [Sun, 18 Jan 2009 11:22:14 +0000 (12:22 +0100)]
Add code to torture the fragmentation code a bit

10 years agoRemove unused functions
Volker Lendecke [Sun, 18 Jan 2009 11:15:33 +0000 (12:15 +0100)]
Remove unused functions

10 years agoMake rpc_pipe_bind async
Volker Lendecke [Sun, 18 Jan 2009 11:12:15 +0000 (12:12 +0100)]
Make rpc_pipe_bind async

10 years agoFix an uninitialized variable
Volker Lendecke [Sat, 17 Jan 2009 18:19:04 +0000 (19:19 +0100)]
Fix an uninitialized variable

10 years agoRemove sync rpc_api_pipe_req
Volker Lendecke [Sat, 17 Jan 2009 16:53:05 +0000 (17:53 +0100)]
Remove sync rpc_api_pipe_req

10 years agoAdd async rpc_api_pipe_req
Volker Lendecke [Sat, 17 Jan 2009 16:52:35 +0000 (17:52 +0100)]
Add async rpc_api_pipe_req

10 years agoTiny simplification of prs_set_offset
Volker Lendecke [Sat, 17 Jan 2009 16:52:22 +0000 (17:52 +0100)]
Tiny simplification of prs_set_offset

10 years agoAdd rpc_write_send/recv
Volker Lendecke [Sat, 17 Jan 2009 14:07:52 +0000 (15:07 +0100)]
Add rpc_write_send/recv

10 years agoRemove unused sync functions
Volker Lendecke [Sat, 17 Jan 2009 12:58:36 +0000 (13:58 +0100)]
Remove unused sync functions

10 years agoMake rpc_api_pipe async
Volker Lendecke [Sat, 17 Jan 2009 12:33:34 +0000 (13:33 +0100)]
Make rpc_api_pipe async

10 years agoRename the async version of get_complete_pdu to get_complete_frag
Volker Lendecke [Sat, 17 Jan 2009 11:50:02 +0000 (12:50 +0100)]
Rename the async version of get_complete_pdu to get_complete_frag

10 years agoMove initialization of the reply prs_struct to rpc_api_pipe
Volker Lendecke [Sat, 17 Jan 2009 11:18:29 +0000 (12:18 +0100)]
Move initialization of the reply prs_struct to rpc_api_pipe

10 years agoAlways check the max send sizein rpc_api_pipe, not just with DEVELOPER
Volker Lendecke [Fri, 16 Jan 2009 16:31:56 +0000 (17:31 +0100)]
Always check the max send sizein rpc_api_pipe, not just with DEVELOPER

10 years agoMake cli_api_pipe async
Volker Lendecke [Fri, 16 Jan 2009 16:07:52 +0000 (17:07 +0100)]
Make cli_api_pipe async

Also move the transport switch to this routine

10 years agoRemove sync rpc_read wrapper
Volker Lendecke [Fri, 16 Jan 2009 13:47:21 +0000 (14:47 +0100)]
Remove sync rpc_read wrapper

10 years agoMake cli_pipe_get_current_pdu async, rename it to get_current_pdu
Volker Lendecke [Fri, 16 Jan 2009 13:46:41 +0000 (14:46 +0100)]
Make cli_pipe_get_current_pdu async, rename it to get_current_pdu

10 years agoMake rpc_read async
Volker Lendecke [Thu, 15 Jan 2009 20:56:03 +0000 (21:56 +0100)]
Make rpc_read async

10 years agoFix some real bugs found by "type-punned" gcc warnings
Volker Lendecke [Sun, 18 Jan 2009 12:15:23 +0000 (13:15 +0100)]
Fix some real bugs found by "type-punned" gcc warnings

Type-casting does not the right thing if used the way it used to be. The
function arguments have not been uint32_t's, but the type cast made the calling
routine believe so. Not good...

The assignment xxx=account_policy_temp does however type-convert properly,
potentially cutting off the top-bits.

10 years agolibrpc: Re-run make idl_full
Tim Prouty [Sat, 17 Jan 2009 23:19:08 +0000 (15:19 -0800)]
librpc: Re-run make idl_full

10 years agolibrpc: Remove usage of max and replace with improved range.
Tim Prouty [Sat, 17 Jan 2009 22:42:20 +0000 (14:42 -0800)]
librpc: Remove usage of max and replace with improved range.

10 years agopidl: Remove "max" and make "range" smarter about unsigned types
Tim Prouty [Sat, 17 Jan 2009 22:40:12 +0000 (14:40 -0800)]
pidl: Remove "max" and make "range" smarter about unsigned types

This eliminates a warning in pidl generated code, while preserving
cross-platform idl compatibility.

10 years agoDetermine case sensitivity based on file system attributes.
Derrell Lipman [Sat, 17 Jan 2009 18:33:25 +0000 (13:33 -0500)]
Determine case sensitivity based on file system attributes.

- Most of the time, we can determine from the file system we're connecting to
  whether it supports case sensitivity. In those cases, we now set the
  internal case sensitivity flag automatically. For those cases where the
  request to retrieve file system attributes fails, we'll use the
  user-specified option value.

Derrell

10 years agoSlightly simplify the paths after rpc_api_pipe()
Volker Lendecke [Sat, 17 Jan 2009 10:26:06 +0000 (11:26 +0100)]
Slightly simplify the paths after rpc_api_pipe()

10 years ago[Bug 6022] smbc_urlencode and smbc_urldecode were not exported
Derrell Lipman [Sat, 17 Jan 2009 01:26:46 +0000 (20:26 -0500)]
[Bug 6022] smbc_urlencode and smbc_urldecode were not exported

- Since the revamp of libsmbclient, there has still been an external
  declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet
  those functions were renamed and made private. The two choices were to
  remove the function names from libsmbclient.h or to make them public
  again. The reported requested that they be public. This commit makes it so.

Derrell

10 years agoTreat file names in POSIX-like case-sensitive fashion by default
Derrell Lipman [Fri, 16 Jan 2009 21:41:36 +0000 (16:41 -0500)]
Treat file names in POSIX-like case-sensitive fashion by default

*** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! ***

- libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default,
  it requests case-sensitive, but the old behavior of case-insensitive can be
  requested with smbc_setOptionCaseSensitive(context, False);

  The change of behavior is considered a bug fix, as it was previously
  possible to accidentally overwrite a file that had the same case-insensitive
  name but a different case-sensitive name as a previously-existing file,
  while creating a new file.

Derrell

10 years agoMore work on the Samba 4 release notes.
Jelmer Vernooij [Fri, 16 Jan 2009 20:46:01 +0000 (21:46 +0100)]
More work on the Samba 4 release notes.

10 years agoFix a segfault if ? is there but the options are NULL. This is the case if SMBC_parse...
Andreas Schneider [Fri, 16 Jan 2009 20:26:46 +0000 (12:26 -0800)]
Fix a segfault if ? is there but the options are NULL. This is the case if SMBC_parse_path is called by SMBC_stat_ctx.

10 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Fri, 16 Jan 2009 20:25:35 +0000 (12:25 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

10 years ago"First thing, kill all the language lawyers" :-). Ensure possible insane compilers
Jeremy Allison [Fri, 16 Jan 2009 19:55:01 +0000 (11:55 -0800)]
"First thing, kill all the language lawyers" :-). Ensure possible insane compilers
can't kill us later.
Jeremy.

10 years agoads_connect: Return immediately on a failed GC connection.
Gerald (Jerry) Carter [Fri, 16 Jan 2009 18:06:49 +0000 (12:06 -0600)]
ads_connect: Return immediately on a failed GC connection.

ads_connect_gc() feeds an explicit server to ads_connect().  However, if the
resulting connection fails, the latter function was attempting to find a DC
on its own and continuing the connection.  This resulting in GC searches being
sent over a connection using port 389 which would fail when using the base
search suffix outside of the domain naming context.

The fix is to fail immediately in ads_connect() since the GC lookup ordering
is handled already in ads_connect_gc().

10 years agoloadparm: Make sure various state variables get initialized even when we
Jelmer Vernooij [Fri, 16 Jan 2009 16:37:40 +0000 (17:37 +0100)]
loadparm: Make sure various state variables get initialized even when we
couldn't load a default smb.conf file.

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Fri, 16 Jan 2009 14:51:46 +0000 (15:51 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

10 years agoAdd copyright headers.
Jelmer Vernooij [Fri, 16 Jan 2009 14:50:58 +0000 (15:50 +0100)]
Add copyright headers.

10 years agos4/NEWS: Remove mention of no longer existing js parameter.
Jelmer Vernooij [Fri, 16 Jan 2009 14:50:03 +0000 (15:50 +0100)]
s4/NEWS: Remove mention of no longer existing js parameter.

10 years agos3:cluster: fix ctdb ipv6 support
Stefan Metzmacher [Wed, 14 Jan 2009 11:09:46 +0000 (12:09 +0100)]
s3:cluster: fix ctdb ipv6 support

We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD.

CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions:

- with struct ctdb_control_tcp it only supports ipv4.
- with struct ctdb_control_tcp_addr it supports ipv4 and ipv6.

You need new header files which defines struct ctdb_control_tcp_addr,
but at runtime it should be fine to work against older
ctdb versions (<= 1.0.68).

metze

10 years agos3:docs: vfs_fileid manpage
Stefan Metzmacher [Wed, 14 Jan 2009 10:52:01 +0000 (11:52 +0100)]
s3:docs: vfs_fileid manpage

metze

10 years agos3:vfs_fileid: readd "fileid:algorithm" as option.
Stefan Metzmacher [Wed, 14 Jan 2009 12:59:09 +0000 (13:59 +0100)]
s3:vfs_fileid: readd "fileid:algorithm" as option.

"fileid:mapping" is still supported as fallback.

metze

10 years agoFind default smb.conf path correctly, when it was not specified on the
Jelmer Vernooij [Fri, 16 Jan 2009 14:05:15 +0000 (15:05 +0100)]
Find default smb.conf path correctly, when it was not specified on the
command-line.

10 years agoremove the old chain_reply code
Volker Lendecke [Fri, 16 Jan 2009 10:26:05 +0000 (11:26 +0100)]
remove the old chain_reply code

10 years agoCorrectly calculate the offset for read&x
Volker Lendecke [Fri, 21 Nov 2008 22:17:31 +0000 (23:17 +0100)]
Correctly calculate the offset for read&x

10 years agoAdd a new implementation of chain_reply
Volker Lendecke [Mon, 10 Nov 2008 09:01:26 +0000 (10:01 +0100)]
Add a new implementation of chain_reply

This the global variable "orig_inbuf" in the old chain_reply code. This global
variable was one of the reasons why we had the silly restriction to not allow
async requests within a request chain.

10 years agos3-eventlog: fix _eventlog_CloseEventLog.
Günther Deschner [Fri, 16 Jan 2009 01:59:05 +0000 (02:59 +0100)]
s3-eventlog: fix _eventlog_CloseEventLog.

Guenther

10 years agos4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS
Kai Blin [Fri, 16 Jan 2009 06:32:30 +0000 (07:32 +0100)]
s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS

10 years agos3: Remove an incorrect const
Tim Prouty [Fri, 16 Jan 2009 05:59:20 +0000 (21:59 -0800)]
s3: Remove an incorrect const

10 years agos3: put the gpo cache dir under cache_dir instead of lock_dir
Michael Adam [Thu, 15 Jan 2009 23:50:45 +0000 (00:50 +0100)]
s3: put the gpo cache dir under cache_dir instead of lock_dir

Michael

10 years agos3: put printing/ under cache_dir, not lock_dir
Michael Adam [Thu, 15 Jan 2009 23:48:29 +0000 (00:48 +0100)]
s3: put printing/ under cache_dir, not lock_dir

Michael

10 years agos3: put netsamlogon_cache.tdb into cache_dir instead of lock_dir
Michael Adam [Thu, 15 Jan 2009 23:44:55 +0000 (00:44 +0100)]
s3: put netsamlogon_cache.tdb into cache_dir instead of lock_dir

Michael

10 years agos3:put the browse list into cache_dir, not lock_dir.
Michael Adam [Thu, 15 Jan 2009 23:40:48 +0000 (00:40 +0100)]
s3:put the browse list into cache_dir, not lock_dir.

Michael

10 years agos3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.
Michael Adam [Thu, 15 Jan 2009 23:31:17 +0000 (00:31 +0100)]
s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.

Michael

10 years agos3:passdb: put login_cache.tdb into cache_dir, not lock_dir.
Michael Adam [Thu, 15 Jan 2009 23:30:36 +0000 (00:30 +0100)]
s3:passdb: put login_cache.tdb into cache_dir, not lock_dir.

Michael

10 years agos3:libads: use lock_path for creating paths to local krb5.conf files
Michael Adam [Thu, 15 Jan 2009 23:17:51 +0000 (00:17 +0100)]
s3:libads: use lock_path for creating paths to local krb5.conf files

instead of manually doing an asprintf with lp_lockdir()

Michael

squash

10 years agos3:libads: give create_local_private_krb5_conf_for_domain() a common exit point
Michael Adam [Thu, 15 Jan 2009 23:10:29 +0000 (00:10 +0100)]
s3:libads: give create_local_private_krb5_conf_for_domain() a common exit point

Michael

10 years agos3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init().
Michael Adam [Thu, 15 Jan 2009 22:43:00 +0000 (23:43 +0100)]
s3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init().

Michael

10 years agos3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()
Michael Adam [Thu, 15 Jan 2009 22:34:00 +0000 (23:34 +0100)]
s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()

Michael

10 years agos3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()
Michael Adam [Thu, 15 Jan 2009 22:31:17 +0000 (23:31 +0100)]
s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()

Michael

10 years agoFix bug #6040 - Missing <th> header in Status page.
Jeremy Allison [Thu, 15 Jan 2009 23:55:17 +0000 (15:55 -0800)]
Fix bug #6040 -  Missing <th> header in Status page.
Based on a patch from pkg-samba-maint@lists.alioth.debian.org.
Jeremy.

10 years agoAllow reinit_after_fork to be called safely from within swat and other binaries that...
Jeremy Allison [Thu, 15 Jan 2009 23:52:41 +0000 (15:52 -0800)]
Allow reinit_after_fork to be called safely from within swat and other binaries that don't have
an event context or a msg context. Fixes crash bug in swat.
Jeremy.

10 years agowinreg: fix winreg_EnumValue callers.
Günther Deschner [Thu, 15 Jan 2009 23:25:57 +0000 (00:25 +0100)]
winreg: fix winreg_EnumValue callers.

Guenther

10 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 15 Jan 2009 22:24:52 +0000 (23:24 +0100)]
s3: re-run make samba3-idl.

Guenther

10 years agowinreg: fix winreg_EnumValue by re-adding winreg_ValNameBuf from 3.3/3.2.
Günther Deschner [Thu, 15 Jan 2009 22:23:08 +0000 (23:23 +0100)]
winreg: fix winreg_EnumValue by re-adding winreg_ValNameBuf from 3.3/3.2.

This fixes viewing samba registry with windows tools like regedit and eventviewer.

Michael, Jelmer, please check.

Guenther

10 years agolib: add strlen_m_term_null from s3.
Günther Deschner [Thu, 15 Jan 2009 23:25:31 +0000 (00:25 +0100)]
lib: add strlen_m_term_null from s3.

Guenther

10 years agos3-util: for convenience, provide format comments in tdb_unpack().
Günther Deschner [Thu, 15 Jan 2009 14:33:20 +0000 (15:33 +0100)]
s3-util: for convenience, provide format comments in tdb_unpack().

Guenther

10 years agos3-eventlog: remove whitespace.
Günther Deschner [Thu, 15 Jan 2009 19:01:30 +0000 (20:01 +0100)]
s3-eventlog: remove whitespace.

Guenther

10 years agos3-eventlog: some minor code cleanup in eventlog server.
Günther Deschner [Wed, 14 Jan 2009 17:09:25 +0000 (18:09 +0100)]
s3-eventlog: some minor code cleanup in eventlog server.

Guenther

10 years agos4-smbtorture: fix RPC-EVENTLOG test.
Günther Deschner [Wed, 14 Jan 2009 15:59:42 +0000 (16:59 +0100)]
s4-smbtorture: fix RPC-EVENTLOG test.

Guenther

10 years agoFix LDB_MODULESDIR for ldb standalone builds
Simo Sorce [Thu, 15 Jan 2009 23:05:45 +0000 (18:05 -0500)]
Fix LDB_MODULESDIR for ldb standalone builds

10 years agolibrpc: Re-run make idl_full
Tim Prouty [Thu, 15 Jan 2009 18:59:49 +0000 (10:59 -0800)]
librpc: Re-run make idl_full

10 years agolibrpc: Change a uint16 to use the max property instead of range
Tim Prouty [Thu, 15 Jan 2009 18:57:00 +0000 (10:57 -0800)]
librpc: Change a uint16 to use the max property instead of range

This fixes a "comparison is always false due to limited range of data
type" warning

10 years agopidl: Add max property to be used instead of range for unsigned types.
Tim Prouty [Thu, 15 Jan 2009 18:51:57 +0000 (10:51 -0800)]
pidl: Add max property to be used instead of range for unsigned types.

Compilers complain about ranges starting at 0 for unsigned types,
since an unsigned type is never less than 0.  The max property
implicitly makes 0 the lower bound when used with unsigned types.

10 years agopackaging(RHEL-CTDB): export CC - really use ccache...
Stefan Metzmacher [Thu, 15 Jan 2009 12:46:38 +0000 (13:46 +0100)]
packaging(RHEL-CTDB): export CC - really use ccache...

metze

Signed-off-by: Michael Adam <obnox@samba.org>
10 years agos3: make better use of ccache by not including version.h in every C-file.
Michael Adam [Thu, 15 Jan 2009 21:27:52 +0000 (22:27 +0100)]
s3: make better use of ccache by not including version.h in every C-file.

version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:

* When building a new package with a new Samba version

* building in a git branch after calling mkversion.sh
  after a new commit (i.e. virtually always)

This patch improves the situation in the following way:

* remove inlude "version.h" from includes.h

* Use samba_version_string() instead of SAMBA_VERSION_STRING
  in files that use no other macro from version.h instead of
  SAMBA_VERSION_STRING.

* explicitly include "version.h" in those files that use more
  macros from "version.h" than just SAMBA_VERSION_STRING.

Michael

10 years agoUse AS_HELP_STRING() in a couple more places.
Jelmer Vernooij [Thu, 15 Jan 2009 20:22:34 +0000 (21:22 +0100)]
Use AS_HELP_STRING() in a couple more places.

10 years agoFix indentation for some configure options.
Jelmer Vernooij [Wed, 26 Nov 2008 18:06:10 +0000 (19:06 +0100)]
Fix indentation for some configure options.

10 years agopython/param: Cope with lp configfile being NULL.
Jelmer Vernooij [Thu, 15 Jan 2009 20:16:31 +0000 (21:16 +0100)]
python/param: Cope with lp configfile being NULL.

10 years agoFix bug #6040 - Calling Samba print server with an aliased DNS-name fails.
Jeremy Allison [Thu, 15 Jan 2009 18:29:34 +0000 (10:29 -0800)]
Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails.
Jeremy.

10 years agos4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
Kai Blin [Thu, 15 Jan 2009 09:14:55 +0000 (10:14 +0100)]
s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.

10 years agos4 torture: Add another wbinfo test and fix a typo in another one
Kai Blin [Wed, 14 Jan 2009 12:49:14 +0000 (13:49 +0100)]
s4 torture: Add another wbinfo test and fix a typo in another one

10 years agoRemove smbclient globals that bled into clidfs.c. Now we only have
Jeremy Allison [Thu, 15 Jan 2009 00:08:19 +0000 (16:08 -0800)]
Remove smbclient globals that bled into clidfs.c. Now we only have
the connections list and authentication structures to worry about.
Jeremy

10 years agoFix build of netapi.
Jeremy Allison [Wed, 14 Jan 2009 22:33:46 +0000 (14:33 -0800)]
Fix build of netapi.
Jeremy.

10 years agoRemove another global from clidfs that is only used in client.c.
Jeremy Allison [Wed, 14 Jan 2009 22:26:56 +0000 (14:26 -0800)]
Remove another global from clidfs that is only used in client.c.
Jeremy.

10 years agoFix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery.
Jeremy Allison [Wed, 14 Jan 2009 21:17:38 +0000 (13:17 -0800)]
Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery.
Jeremy.

10 years agoFix bug in get_dc_name_via_netlogon(), null pointer refrence.
Bo Yang [Wed, 14 Jan 2009 19:47:45 +0000 (11:47 -0800)]
Fix bug in get_dc_name_via_netlogon(), null pointer refrence.

10 years agoClean up comments a little.
Jeremy Allison [Wed, 14 Jan 2009 19:12:52 +0000 (11:12 -0800)]
Clean up comments a little.
Jeremy.

10 years agoDon't send message to any other child in child process.
Bo Yang [Wed, 14 Jan 2009 06:26:40 +0000 (14:26 +0800)]
Don't send message to any other child in child process.

Signed-off-by: Bo Yang <boyang@novell.com>
10 years agoMake rpc_read look like a real read call
Volker Lendecke [Wed, 14 Jan 2009 15:51:43 +0000 (16:51 +0100)]
Make rpc_read look like a real read call

It doesn't really need to know about prs_structs

10 years agoMake rpc_read() match the control flow normally used in Samba
Volker Lendecke [Wed, 14 Jan 2009 15:43:37 +0000 (16:43 +0100)]
Make rpc_read() match the control flow normally used in Samba

Replace do { .. } while () with a while () { .. }

10 years agoSimplify rpc_read a bit
Volker Lendecke [Wed, 14 Jan 2009 15:06:10 +0000 (16:06 +0100)]
Simplify rpc_read a bit

rpc_read always reads the whole bytes it was asked to read. So it is not really
necessary for it to update the current_pdu_offset, for clarity this can better
be done in the caller.

10 years agoRemove an unnecessary size check
Volker Lendecke [Wed, 14 Jan 2009 11:58:38 +0000 (12:58 +0100)]
Remove an unnecessary size check

rpc_read is only ever called with at most fraglen-RPC_HEADER_SIZE length

10 years agoCheck the fragment size the server has sent us
Volker Lendecke [Wed, 14 Jan 2009 11:58:13 +0000 (12:58 +0100)]
Check the fragment size the server has sent us

10 years agoSlightly simplify rpc_read: It should not do the resize
Volker Lendecke [Tue, 13 Jan 2009 21:50:43 +0000 (22:50 +0100)]
Slightly simplify rpc_read: It should not do the resize

10 years agoAlways read with offset 0 from a named pipe
Volker Lendecke [Tue, 13 Jan 2009 21:24:57 +0000 (22:24 +0100)]
Always read with offset 0 from a named pipe

10 years agos3-eventlog: fix ps struct removal leftover.
Günther Deschner [Wed, 14 Jan 2009 09:53:04 +0000 (10:53 +0100)]
s3-eventlog: fix ps struct removal leftover.

Guenther

10 years agos3: re-run make samba3-idl.
Günther Deschner [Tue, 13 Jan 2009 13:45:18 +0000 (14:45 +0100)]
s3: re-run make samba3-idl.

Guenther

10 years agoeventlog: more eventlog record idl fixes.
Günther Deschner [Tue, 13 Jan 2009 12:14:36 +0000 (13:14 +0100)]
eventlog: more eventlog record idl fixes.

- treat eventlogEventTypes as an enum.
- do not align the full eventlog entry.
- set range on number of strings according to docs.
- make a little more obvious what the reserved field stands for.

Guenther

10 years agos3-rpcclient: always parse the full eventlog entry.
Günther Deschner [Tue, 13 Jan 2009 13:43:46 +0000 (14:43 +0100)]
s3-rpcclient: always parse the full eventlog entry.

Guenther

10 years agos3-eventlog: use main talloc context in eventlog read call.
Günther Deschner [Tue, 13 Jan 2009 10:04:45 +0000 (11:04 +0100)]
s3-eventlog: use main talloc context in eventlog read call.

Guenther

10 years agos4-smbtorture: also test for invalid flags in eventlog test_ReadEventLog.
Günther Deschner [Tue, 13 Jan 2009 13:44:29 +0000 (14:44 +0100)]
s4-smbtorture: also test for invalid flags in eventlog test_ReadEventLog.

Guenther

10 years agos4-smbtorture: pure cosmetic cleanup of eventlog test.
Günther Deschner [Mon, 12 Jan 2009 17:21:20 +0000 (18:21 +0100)]
s4-smbtorture: pure cosmetic cleanup of eventlog test.

Guenther

10 years agos4 torture: Fix the wbinfo blackbox tests
Kai Blin [Wed, 14 Jan 2009 07:25:52 +0000 (08:25 +0100)]
s4 torture: Fix the wbinfo blackbox tests