ira/wip.git
11 years agoMerge commit 'master/master' into wspp-schema
Andrew Tridgell [Wed, 1 Apr 2009 23:17:32 +0000 (10:17 +1100)]
Merge commit 'master/master' into wspp-schema

11 years agos3:net conf: don't store share names as lower case, but as given.
Michael Adam [Wed, 1 Apr 2009 22:23:31 +0000 (00:23 +0200)]
s3:net conf: don't store share names as lower case, but as given.

Michael

11 years agos3-auth: rename static smb_create_user(). Sorry...
Günther Deschner [Wed, 1 Apr 2009 19:42:47 +0000 (21:42 +0200)]
s3-auth: rename static smb_create_user(). Sorry...

Guenther

11 years agos3-libnet-samsync: return appropriate error code in fetch_sam_entry().
Günther Deschner [Wed, 1 Apr 2009 17:03:18 +0000 (19:03 +0200)]
s3-libnet-samsync: return appropriate error code in fetch_sam_entry().

Guenther

11 years agos3-libnet-samsync: use smb_create_user().
Günther Deschner [Wed, 1 Apr 2009 16:52:28 +0000 (18:52 +0200)]
s3-libnet-samsync: use smb_create_user().

Guenther

11 years agos3-passdb: add smb_create_user().
Günther Deschner [Wed, 1 Apr 2009 16:52:13 +0000 (18:52 +0200)]
s3-passdb: add smb_create_user().

Guenther

11 years agos3-libnet-samsync: some pure cosmetics.
Günther Deschner [Wed, 1 Apr 2009 15:56:45 +0000 (17:56 +0200)]
s3-libnet-samsync: some pure cosmetics.

Guenther

11 years agos3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.
Günther Deschner [Wed, 1 Apr 2009 15:54:52 +0000 (17:54 +0200)]
s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.

Guenther

11 years agos4:torture/smb2: Add torture tests for lease breaks, durable opens.
Zach Loafman [Mon, 30 Mar 2009 22:59:06 +0000 (15:59 -0700)]
s4:torture/smb2: Add torture tests for lease breaks, durable opens.

11 years agos4:smb2: Add lease break support for SMB2.1
Zach Loafman [Mon, 30 Mar 2009 22:57:57 +0000 (15:57 -0700)]
s4:smb2: Add lease break support for SMB2.1

Add the structures and marshalling for the lease break variants of the
oplock break / oplock break ack messages.

11 years agos3-libnet: only call libnet_dssync_process() startup and shutdown callbacks when...
Günther Deschner [Wed, 1 Apr 2009 14:55:53 +0000 (16:55 +0200)]
s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks when filled in.

Guenther

11 years agolib/util: fallback to any id in idr_get_new_random()
Stefan Metzmacher [Sat, 28 Mar 2009 22:29:23 +0000 (23:29 +0100)]
lib/util: fallback to any id in idr_get_new_random()

metze

11 years agolibcli/cldap: fix memory/resource leak
Stefan Metzmacher [Sat, 28 Mar 2009 22:27:47 +0000 (23:27 +0100)]
libcli/cldap: fix memory/resource leak

We need to remove the message id, when a search request is finished

metze

11 years agoPrint an error if trying a merged build without a system kerberos lib
Volker Lendecke [Wed, 1 Apr 2009 13:29:25 +0000 (15:29 +0200)]
Print an error if trying a merged build without a system kerberos lib

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agos3: fix the fix for bug #6195 - dont let smbd child processes panic
Michael Adam [Wed, 1 Apr 2009 10:23:07 +0000 (12:23 +0200)]
s3: fix the fix for bug #6195 - dont let smbd child processes panic

This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...

Michael

11 years agos3:build: add targets to show how libraries will be built / linked
Michael Adam [Wed, 1 Apr 2009 00:02:10 +0000 (02:02 +0200)]
s3:build: add targets to show how libraries will be built / linked

showlibtalloc, showlibtdb, ... and one overall showlibs target.

Michael

11 years agos3:build: don't build the static libs unconditionally
Michael Adam [Tue, 31 Mar 2009 23:58:22 +0000 (01:58 +0200)]
s3:build: don't build the static libs unconditionally

Michael

11 years agos3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile
Michael Adam [Tue, 31 Mar 2009 23:56:02 +0000 (01:56 +0200)]
s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile

for completeness

Michael

11 years agos3:build: no need to set LIBFOO_STATIC to the object collection any more
Michael Adam [Tue, 31 Mar 2009 23:46:57 +0000 (01:46 +0200)]
s3:build: no need to set LIBFOO_STATIC to the object collection any more

now that the @LIBFOO_STATIC@ entries have vanished from the object lists.
Just use the static library.

Michael

11 years agos3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification
Michael Adam [Tue, 31 Mar 2009 23:37:07 +0000 (01:37 +0200)]
s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification

Michael

11 years agos3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
Michael Adam [Tue, 31 Mar 2009 23:34:01 +0000 (01:34 +0200)]
s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@

just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.

Michael

11 years agos3:build: first cut at fixing linking of shared/static libs internally
Michael Adam [Tue, 31 Mar 2009 22:37:47 +0000 (00:37 +0200)]
s3:build: first cut at fixing linking of shared/static libs internally

This is based on a patch from the debian packages
by Steve Langasek <vorlon@debian.org>.

It removes the static libs from the object collections.
For those libs that are set up with SMB_LIBRARY().

Michael

11 years agos3 onefs: Add missing newlines to debug statements in the onefs module
Tim Prouty [Wed, 1 Apr 2009 00:25:57 +0000 (00:25 +0000)]
s3 onefs: Add missing newlines to debug statements in the onefs module

11 years agos3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while running many...
Zack Kirsch [Wed, 1 Apr 2009 00:00:40 +0000 (00:00 +0000)]
s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while running many of the LOCK torture tests.

Return true from the onefs cancel function if we've errored, which can happen
when the CBRL domain is configured to only give out 1 lock. :)

11 years agotdb: Remove unused variable
Tim Prouty [Tue, 31 Mar 2009 23:24:07 +0000 (16:24 -0700)]
tdb: Remove unused variable

11 years agoFix an uninitialized variable valgrind error
Volker Lendecke [Sun, 29 Mar 2009 19:35:57 +0000 (21:35 +0200)]
Fix an uninitialized variable valgrind error

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agotsocket: try to fix the build on solaris FIONREAD was missing
Stefan Metzmacher [Tue, 31 Mar 2009 18:33:33 +0000 (20:33 +0200)]
tsocket: try to fix the build on solaris FIONREAD was missing

metze

11 years agos3:build: fix build of pam_winbind.so with static linking
Michael Adam [Tue, 31 Mar 2009 14:45:07 +0000 (16:45 +0200)]
s3:build: fix build of pam_winbind.so with static linking

Static talloc libs were missing since conversion to talloc.

Michael

11 years agos3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebled
Michael Adam [Tue, 31 Mar 2009 06:50:57 +0000 (08:50 +0200)]
s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebled

Michael

11 years agos3:build: line-wrap assignment of FLAGS for readability
Michael Adam [Tue, 31 Mar 2009 06:50:16 +0000 (08:50 +0200)]
s3:build: line-wrap assignment of FLAGS for readability

Michael

11 years agopossibleInferiors is a generated attribute - we can't pull it over DRS
Andrew Tridgell [Tue, 31 Mar 2009 05:31:16 +0000 (16:31 +1100)]
possibleInferiors is a generated attribute - we can't pull it over DRS
or from ldb

11 years agoMerge branch 'master' into wspp-schema
Andrew Tridgell [Tue, 31 Mar 2009 04:53:17 +0000 (15:53 +1100)]
Merge branch 'master' into wspp-schema

11 years agochange ldb version number (as ldb_module structure has changed)
Andrew Tridgell [Tue, 31 Mar 2009 04:14:09 +0000 (15:14 +1100)]
change ldb version number (as ldb_module structure has changed)

11 years agouse the prepare_commit op in the partition code
Andrew Tridgell [Tue, 31 Mar 2009 04:08:36 +0000 (15:08 +1100)]
use the prepare_commit op in the partition code

This makes multi-partition ldb's much safer

11 years agoadded support for a prepare_commit() op in ldb modules
Andrew Tridgell [Tue, 31 Mar 2009 04:07:54 +0000 (15:07 +1100)]
added support for a prepare_commit() op in ldb modules

This op will be used by the partition module to give us good
transaction semantics across the 4 partitions that sam.ldb uses.

11 years agoup the version to 1.1.4 with the addition of
Andrew Tridgell [Tue, 31 Mar 2009 04:06:23 +0000 (15:06 +1100)]
up the version to 1.1.4 with the addition of
tdb_transaction_prepare_commit()

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Tue, 31 Mar 2009 02:59:56 +0000 (13:59 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoadded basic testing of tdb_transaction_prepare_commit() in tdbtorture
Andrew Tridgell [Tue, 31 Mar 2009 02:59:03 +0000 (13:59 +1100)]
added basic testing of tdb_transaction_prepare_commit() in tdbtorture

11 years agoAdd tdb_transaction_prepare_commit()
Howard Chu [Tue, 31 Mar 2009 02:15:54 +0000 (13:15 +1100)]
Add tdb_transaction_prepare_commit()

Using tdb_transaction_prepare_commit() gives us 2-phase commits. This
allows us to safely commit across multiple tdb databases at once, with
reasonable transaction semantics

Signed-off-by: tridge@samba.org
11 years agoMerge branch 'master' into wspp-schema
Andrew Tridgell [Tue, 31 Mar 2009 00:58:37 +0000 (11:58 +1100)]
Merge branch 'master' into wspp-schema

11 years agoEnsure files starting with multiple dots are hidden
Jeremy Allison [Mon, 30 Mar 2009 22:05:39 +0000 (15:05 -0700)]
Ensure files starting with multiple dots are hidden
if "hide dot files" is set. Thanks to Barry Kelly <bkelly.ie@gmail.com>
for pointing this one out.
Jeremy.

11 years agos3/cups: add documentation for new cups encrypt parameter
Björn Jacke [Fri, 27 Mar 2009 12:05:49 +0000 (13:05 +0100)]
s3/cups: add documentation for new cups encrypt parameter

11 years agos3/cups: add encryption support
Björn Jacke [Fri, 27 Mar 2009 12:05:00 +0000 (13:05 +0100)]
s3/cups: add encryption support

11 years agoFix a debug msg typo
Volker Lendecke [Sat, 28 Mar 2009 23:52:22 +0000 (00:52 +0100)]
Fix a debug msg typo

11 years agotsocket: more s/sun/un to make the build on solaris happy
Stefan Metzmacher [Sat, 28 Mar 2009 22:48:45 +0000 (23:48 +0100)]
tsocket: more s/sun/un to make the build on solaris happy

metze

11 years agos4:torture/smb2: Add torture tests for leases.
Zach Loafman [Sat, 28 Mar 2009 02:14:01 +0000 (19:14 -0700)]
s4:torture/smb2: Add torture tests for leases.

11 years agos4:smb2: Add rudimentary SMB2.1 lease support to libcli
Zach Loafman [Sat, 28 Mar 2009 02:12:43 +0000 (19:12 -0700)]
s4:smb2: Add rudimentary SMB2.1 lease support to libcli

Add the structures, constants, and marshalling for SMB2.1 leases.

11 years agoFix the problem of 3.0.x passdb databases being version
Jeremy Allison [Sat, 28 Mar 2009 04:29:37 +0000 (21:29 -0700)]
Fix the problem of 3.0.x passdb databases being version
3 but using a different hash calculation than 3.2.x passwd
databases (also version 3). Introduces a minor version
number.
Jeremy.

11 years agos3: added per-client statistics to onefs perfcount module
Scott Urban [Sat, 28 Mar 2009 00:33:26 +0000 (17:33 -0700)]
s3: added per-client statistics to onefs perfcount module

* we now track, uid, remote ip, and local ip per CIFS operation
* removed perfcount_set_client() from perfcount interface as it's
  unecessary

11 years agoEnsure parameter types match format string
Derrell Lipman [Fri, 27 Mar 2009 22:03:00 +0000 (18:03 -0400)]
Ensure parameter types match format string

11 years ago[Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errno
Derrell Lipman [Fri, 27 Mar 2009 22:02:46 +0000 (18:02 -0400)]
[Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errno

Fixed.

It turns out there were a number of places where cli_resolve_path() was called
and the error path upon that function failing did not set errno. There were a
couple of places the failure handling code did set errno to ENOENT, so I made
them all consistent, although I think better errno choices for this condition
exist, e.g.  EHOSTUNREACH.

Derrell

11 years agoFix external np read after conversion to tevent_req
Volker Lendecke [Fri, 27 Mar 2009 20:11:10 +0000 (21:11 +0100)]
Fix external np read after conversion to tevent_req

11 years agoFix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly...
Jeremy Allison [Fri, 27 Mar 2009 19:12:30 +0000 (12:12 -0700)]
Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. For the clustering case.
Clustered setups should have only ever used
the unsigned version of TDB_DATA in the
first place so they can't be in this mess :-).
Just do the normal upgrade in the clustered case.
Jeremy.

11 years agos3: ifdef sendfile code that's only used in other ifdef'ed sendfile code
Björn Jacke [Fri, 27 Mar 2009 09:24:18 +0000 (10:24 +0100)]
s3: ifdef sendfile code that's only used in other ifdef'ed sendfile code

This fixes a "defined but not used" compile warning.

11 years agos4:torture/smb2: fix compiler warnings and bugs
Stefan Metzmacher [Fri, 27 Mar 2009 12:25:26 +0000 (13:25 +0100)]
s4:torture/smb2: fix compiler warnings and bugs

metze

11 years agos4:torture/smb2: fix the build
Stefan Metzmacher [Fri, 27 Mar 2009 12:21:25 +0000 (13:21 +0100)]
s4:torture/smb2: fix the build

We move prototypes of _PUBLIC_ functions into /dev/null,
as we want public function to have handwritten prototypes.

see proto_header_template in build/make/templates.mk...

metze

11 years agos4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
Stefan Metzmacher [Fri, 27 Mar 2009 11:20:09 +0000 (12:20 +0100)]
s4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS

metze

11 years agos3:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
Stefan Metzmacher [Fri, 27 Mar 2009 11:19:10 +0000 (12:19 +0100)]
s3:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS

metze

11 years agotsocket: try to fix the build on solaris systems
Stefan Metzmacher [Fri, 27 Mar 2009 10:34:13 +0000 (11:34 +0100)]
tsocket: try to fix the build on solaris systems

It seems that 'sun' is somewhere defined and we can
use it as name for variables or struct/union members.

metze

11 years agoFix the build of nfsv4_acls.c
Volker Lendecke [Fri, 20 Mar 2009 15:09:17 +0000 (16:09 +0100)]
Fix the build of nfsv4_acls.c

.. after adding smb_iconv_convenience to ndr_size_security_descriptor()

11 years agoAdd durable open / oplock interaction test. Rather than give it a chance to disconnec...
Zach Loafman [Thu, 26 Mar 2009 20:35:39 +0000 (13:35 -0700)]
Add durable open / oplock interaction test. Rather than give it a chance to disconnect, Win7 will break a batch oplock immediately on contention.

11 years agoReorganize old persistent_handles test into durable_open.c, turn it into a suite...
Zach Loafman [Thu, 26 Mar 2009 16:32:50 +0000 (09:32 -0700)]
Reorganize old persistent_handles test into durable_open.c, turn it into a suite instead of a solo test (in anticipation of more tests).

11 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 26 Mar 2009 22:33:40 +0000 (15:33 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Thu, 26 Mar 2009 22:32:43 +0000 (09:32 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoadded a --wspp option
Andrew Tridgell [Thu, 26 Mar 2009 22:31:51 +0000 (09:31 +1100)]
added a --wspp option

Adding --wspp to possibleInferiors.py forces it to use the WSPP
documented algorithm, which doesn't match windows behaviour

11 years agoTry and fix the build farm RAW-STREAMS errors. Ordering of
Jeremy Allison [Thu, 26 Mar 2009 22:30:42 +0000 (15:30 -0700)]
Try and fix the build farm RAW-STREAMS errors. Ordering of
modules shouldn't matter, so as vfs_streams_depot doesn't
implement get/setxattrs then call into the full VFS stack
at the top.
Jeremy

11 years agoRevert 757d403dfff023fdb122a155f6a05d33daa76410 - module
Jeremy Allison [Thu, 26 Mar 2009 21:48:34 +0000 (14:48 -0700)]
Revert 757d403dfff023fdb122a155f6a05d33daa76410 - module
order shouldn't matter & I have a more correct fix for this.
Jeremy.

11 years agoThis should fix the build farm RAW-STREAMS failure. streams_depot.so
Jeremy Allison [Thu, 26 Mar 2009 21:34:25 +0000 (14:34 -0700)]
This should fix the build farm RAW-STREAMS failure. streams_depot.so
depends on xattrs, and xattr_tdb was pushed *first* in the stack...
Jeremy.

11 years agoFix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run...
Jeremy Allison [Thu, 26 Mar 2009 19:21:55 +0000 (12:21 -0700)]
Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run elections
Fix logic bug that causes nmbd to wait 5 minutes before
looking for a master browser. This one is *old* :-). Thanks
for Simo for bugging me on this.
Jeremy.

11 years agoconfigure: Use m4 defines for minimum library versions rather than shell
Jelmer Vernooij [Thu, 26 Mar 2009 15:28:45 +0000 (16:28 +0100)]
configure: Use m4 defines for minimum library versions rather than shell
variables, so the values rather than the variable names show up in
configure output.

11 years agoMerge branch 'copyright' of /home/jelmer/samba4
Jelmer Vernooij [Thu, 26 Mar 2009 14:31:35 +0000 (15:31 +0100)]
Merge branch 'copyright' of /home/jelmer/samba4

11 years agoMerge branch 'displaysec' of /home/jelmer/samba4
Jelmer Vernooij [Thu, 26 Mar 2009 14:31:27 +0000 (15:31 +0100)]
Merge branch 'displaysec' of /home/jelmer/samba4

11 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Thu, 26 Mar 2009 14:31:02 +0000 (15:31 +0100)]
Merge branch 'master' of git://git.samba.org/samba

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec
Jelmer Vernooij [Thu, 26 Mar 2009 14:28:18 +0000 (15:28 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec

11 years agos4:heimdal_build: provide heimdal_version and heimdal_long_version symbols
Stefan Metzmacher [Wed, 25 Mar 2009 10:22:01 +0000 (11:22 +0100)]
s4:heimdal_build: provide heimdal_version and heimdal_long_version symbols

metze

11 years agos4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP
Stefan Metzmacher [Wed, 25 Mar 2009 10:20:50 +0000 (11:20 +0100)]
s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP

metze

11 years agos4:kdc: use krb5_data_free()
Stefan Metzmacher [Wed, 25 Mar 2009 11:21:59 +0000 (12:21 +0100)]
s4:kdc: use krb5_data_free()

metze

11 years agos4:auth/credentials: use krb5_data_free()
Stefan Metzmacher [Wed, 25 Mar 2009 11:21:36 +0000 (12:21 +0100)]
s4:auth/credentials: use krb5_data_free()

metze

11 years agos4:auth/credentials: include gssapi/gssapi_krb5.h
Stefan Metzmacher [Wed, 25 Mar 2009 10:17:17 +0000 (11:17 +0100)]
s4:auth/credentials: include gssapi/gssapi_krb5.h

metze

11 years agoFix a talloc/malloc screwup in file_lines_pload
Volker Lendecke [Thu, 26 Mar 2009 13:54:18 +0000 (14:54 +0100)]
Fix a talloc/malloc screwup in file_lines_pload

Another bug due to careless merge to /lib :-(((

Volker

11 years agoerror-codes: add WERR_DS_DRA_SOURCE_DISABLED.
Günther Deschner [Thu, 26 Mar 2009 13:51:04 +0000 (14:51 +0100)]
error-codes: add WERR_DS_DRA_SOURCE_DISABLED.

Guenther

11 years agoFix a scary "fill_share_mode_lock failed" message
Volker Lendecke [Thu, 26 Mar 2009 11:24:50 +0000 (12:24 +0100)]
Fix a scary "fill_share_mode_lock failed" message

To me "fill_share_mode_lock failed" is a "can't happen" alert. There is
however a perfectly valid case in get_file_infos() when the file is not open.

Change the corresponding debug message to level 10 and explain more.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Thu, 26 Mar 2009 11:10:32 +0000 (22:10 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agofixed possibleinferiors.py so it matches windows behaviour
Andrew Tridgell [Thu, 26 Mar 2009 11:10:02 +0000 (22:10 +1100)]
fixed possibleinferiors.py so it matches windows behaviour

This test code builds the possibleInferiors for every class in the
schema on a target machine, and compares it to the servers
possibleInferiors attribute.

The MS-ADTS spec describes how to calculate possibleInferiors for a
object, but it seems to have some bugs. The spec says that we need to
use AUXCLASSES, and it does not mention the use of the SUBCLASS
tree. In trying to match windows behaviour, I found that I needed to
ignore the AUXCLASSES and build a SUBCLASSES tree.

11 years agos3-libnetapi: fix creds in libnetapi_open_ipc_connection().
Günther Deschner [Thu, 26 Mar 2009 09:26:59 +0000 (10:26 +0100)]
s3-libnetapi: fix creds in libnetapi_open_ipc_connection().

Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if
other users broke as well with that change.

Guenther

11 years agos3:rpc_parse: remove unused init_unistr().
Günther Deschner [Wed, 25 Mar 2009 22:23:06 +0000 (23:23 +0100)]
s3:rpc_parse: remove unused init_unistr().

Guenther

11 years agos3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong information.
Günther Deschner [Thu, 26 Mar 2009 09:11:59 +0000 (10:11 +0100)]
s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong information.

Guenther

11 years agoAvahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash
Volker Lendecke [Thu, 26 Mar 2009 09:03:59 +0000 (10:03 +0100)]
Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash

11 years agoEnsure we never enter VFS_CREATE without having initialized
Jeremy Allison [Thu, 26 Mar 2009 04:48:37 +0000 (21:48 -0700)]
Ensure we never enter VFS_CREATE without having initialized
sbuf as invalid (if not already read via stat()). Still trying
to find the build farm RAW-STREAM errors and it's happening
in a openX call....
Jeremy.

11 years agoRevert "s3/swat: don't link against zlib"
Michael Adam [Thu, 26 Mar 2009 00:30:00 +0000 (01:30 +0100)]
Revert "s3/swat: don't link against zlib"

This reverts commit 8532faffd08bbbcfaac60fd866fa5ab255913d4a.

swat needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.

Michael

11 years agoRevert "s3/smbd: don't link against zlib"
Michael Adam [Thu, 26 Mar 2009 00:25:40 +0000 (01:25 +0100)]
Revert "s3/smbd: don't link against zlib"

This reverts commit 1f265548e7d17a4ed83705149dd944fcdd31134d.

smbd needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.

Michael

11 years agos3/ldbtools: don't neddlessly link against wbinbind libs
Björn Jacke [Mon, 23 Mar 2009 17:22:45 +0000 (18:22 +0100)]
s3/ldbtools: don't neddlessly link against wbinbind libs

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3/cifs: don't link cifs mount helpers agains popt
Björn Jacke [Mon, 23 Mar 2009 18:14:45 +0000 (19:14 +0100)]
s3/cifs: don't link cifs mount helpers agains popt

the mount helpers don't use any popt symbols

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3/swat: don't link against zlib
Björn Jacke [Mon, 23 Mar 2009 18:24:35 +0000 (19:24 +0100)]
s3/swat: don't link against zlib

swat doesn't use any zlib symbolѕ

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3/smbd: don't link against zlib
Björn Jacke [Mon, 23 Mar 2009 18:25:42 +0000 (19:25 +0100)]
s3/smbd: don't link against zlib

smbd doesn't use any zlib symbolѕ

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3/pam_smbpass: don't link agains KRB5LIBS
Björn Jacke [Mon, 23 Mar 2009 18:35:53 +0000 (19:35 +0100)]
s3/pam_smbpass: don't link agains KRB5LIBS

pam_smbpass doesn't use the krb5 stuff

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3-rpc_parse: remove unused smb_io_domsid().
Günther Deschner [Wed, 25 Mar 2009 22:09:52 +0000 (23:09 +0100)]
s3-rpc_parse: remove unused smb_io_domsid().

Guenther

11 years agos3: remove unused rpc_parse/parse_sec.c file.
Günther Deschner [Wed, 25 Mar 2009 21:38:58 +0000 (22:38 +0100)]
s3: remove unused rpc_parse/parse_sec.c file.

Guenther

11 years agos3-registry: remove last sec_io_desc() caller.
Günther Deschner [Wed, 25 Mar 2009 21:37:21 +0000 (22:37 +0100)]
s3-registry: remove last sec_io_desc() caller.

This is a temporary solution while waiting for the regf merge from s4.

Guenther

11 years agodisplay_sec: Move to common libcli/security directory.
Jelmer Vernooij [Wed, 25 Mar 2009 20:29:13 +0000 (21:29 +0100)]
display_sec: Move to common libcli/security directory.