samba.git
13 years agopackaging/RHEL-CTDB: add the pam_winbind.conf manpage
Michael Adam [Tue, 18 Jan 2011 00:06:18 +0000 (01:06 +0100)]
packaging/RHEL-CTDB: add the pam_winbind.conf manpage

13 years agopackaging/RHEL-CTDB: do not use an external docs tarball but build the manpages
Michael Adam [Thu, 9 Sep 2010 15:56:03 +0000 (17:56 +0200)]
packaging/RHEL-CTDB: do not use an external docs tarball but build the manpages

13 years agopackaging/RHEL-CTDB: untangle the various %doc entries to single lines
Michael Adam [Thu, 9 Sep 2010 15:14:20 +0000 (17:14 +0200)]
packaging/RHEL-CTDB: untangle the various %doc entries to single lines

13 years agodocs: Remove template "itemizedlist/listitem" from man.xsl
Michael Adam [Tue, 18 Jan 2011 12:00:51 +0000 (13:00 +0100)]
docs: Remove template "itemizedlist/listitem" from man.xsl

This seems to have been basically taken from the manpages/lists.xls
from the docbook-xsl stylesheets. But it references a variable list-indent
that older versions of docbook-xsl (e.g. 1.69) do not provide.
This makes the manpage build break on older systems. Removing
the definition lets the build succeed, using the system-definition
of the itemizedlist/listitem.

The diff between the docbook's (version 1.75.1) definition of
itemizedlist/listitem and the definition in our man.xls is this:

-- with this patch
-- without this patch
@@ -53,5 +53,7 @@
   <!-- * seems to require the extra space. -->
   <xsl:call-template name="roff-if-end"/>
   <xsl:apply-templates/>
-  <xsl:text>.RE&#10;</xsl:text>
+  <xsl:if test=" following-sibling::listitem">
+        <xsl:text>&#10;.RE&#10;</xsl:text>
+  </xsl:if>
 </xsl:template>

I.e. the version of man.xsl made insertion if ".RE" conditional.
I hope this does not break anything severely.
The diff for e.g. the resulting winbindd.8 manpage is this:

--- with this patch
+++ witout this patch:
@@ -375,7 +375,6 @@

 \m[blue]\fBwinbind: rpc only\fR\m[]
 Setting this parameter forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers\&.
-.RE
 .SH "EXAMPLE SETUP"
 .PP
 To setup winbindd for user and group lookups plus authentication from a domain controller use something like the following setup\&. This was tested on an early Red Hat Linux box\&.

Cheers

13 years agos3-auth: Fixed account lockout check.
Andreas Schneider [Mon, 17 Jan 2011 11:53:40 +0000 (12:53 +0100)]
s3-auth: Fixed account lockout check.
(cherry picked from commit ad6560564350616b2925d097460876bd56555acf)

13 years agos3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.
Andreas Schneider [Mon, 17 Jan 2011 12:40:12 +0000 (13:40 +0100)]
s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.

Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104

13 years agos3-rpc_client: Fixed return values of dcerpc_lsa_lookup_sids_generic.
Andreas Schneider [Mon, 17 Jan 2011 12:39:21 +0000 (13:39 +0100)]
s3-rpc_client: Fixed return values of dcerpc_lsa_lookup_sids_generic.

13 years agos3: Make sure we call wbcAuthenticateUserEx correctly
Volker Lendecke [Fri, 14 Jan 2011 12:14:22 +0000 (05:14 -0700)]
s3: Make sure we call wbcAuthenticateUserEx correctly

There are cases where we fill in params.password.response.lm_data with non-NULL
where params.password.response.lm_length is 0. wbcAuthenticateUserEx does not
like that.

I haven't been able to reproduce this with smbclient yet, I've seen it with a
proprietary smb client implementation.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jan 17 16:30:11 CET 2011 on sn-devel-104

13 years agos3: Avoid a few calls to cli_errstr
Volker Lendecke [Sun, 16 Jan 2011 20:13:29 +0000 (21:13 +0100)]
s3: Avoid a few calls to cli_errstr

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jan 17 08:47:25 CET 2011 on sn-devel-104

13 years agos3: Remove some unused code
Volker Lendecke [Sun, 16 Jan 2011 19:16:25 +0000 (20:16 +0100)]
s3: Remove some unused code

13 years agos3: Convert cli_lock64 to cli_smb
Volker Lendecke [Sun, 16 Jan 2011 19:09:17 +0000 (20:09 +0100)]
s3: Convert cli_lock64 to cli_smb

13 years agos3: Convert cli_lock to use cli_locktype
Volker Lendecke [Sun, 16 Jan 2011 19:04:17 +0000 (20:04 +0100)]
s3: Convert cli_lock to use cli_locktype

13 years agos3: Convert cli_locktype to cli_smb
Volker Lendecke [Sun, 16 Jan 2011 18:50:46 +0000 (19:50 +0100)]
s3: Convert cli_locktype to cli_smb

13 years agos3: Make passing up "result_parent" from cli_smb optional
Volker Lendecke [Sun, 16 Jan 2011 18:20:43 +0000 (19:20 +0100)]
s3: Make passing up "result_parent" from cli_smb optional

13 years agos3: Remove unused cli_send_keepalive
Volker Lendecke [Sun, 16 Jan 2011 18:11:45 +0000 (19:11 +0100)]
s3: Remove unused cli_send_keepalive

13 years agos3: Remove unused cli_send/receive_trans
Volker Lendecke [Sun, 16 Jan 2011 12:13:20 +0000 (13:13 +0100)]
s3: Remove unused cli_send/receive_trans

13 years agos3: Convert try_trans2 to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 12:12:16 +0000 (13:12 +0100)]
s3: Convert try_trans2 to cli_trans

13 years agos3: Convert cli_api to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 12:07:35 +0000 (13:07 +0100)]
s3: Convert cli_api to cli_trans

13 years agos3: Make cli_setpathinfo_basic use cli_setpathinfo
Volker Lendecke [Sun, 16 Jan 2011 11:56:09 +0000 (12:56 +0100)]
s3: Make cli_setpathinfo_basic use cli_setpathinfo

13 years agos3: Add cli_setpathinfo
Volker Lendecke [Sun, 16 Jan 2011 11:49:59 +0000 (12:49 +0100)]
s3: Add cli_setpathinfo

13 years agos3: Rename cli_setpathinfo->cli_setpathinfo_basic
Volker Lendecke [Sun, 16 Jan 2011 11:45:22 +0000 (12:45 +0100)]
s3: Rename cli_setpathinfo->cli_setpathinfo_basic

13 years agos3: Remove unused cli_send/receive_nt_trans
Volker Lendecke [Sun, 16 Jan 2011 11:34:43 +0000 (12:34 +0100)]
s3: Remove unused cli_send/receive_nt_trans

13 years agos3: Convert try_nttrans to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 11:33:24 +0000 (12:33 +0100)]
s3: Convert try_nttrans to cli_trans

13 years agos3: Move dump_ntquota* to smbcquotas.c
Volker Lendecke [Sun, 16 Jan 2011 11:26:45 +0000 (12:26 +0100)]
s3: Move dump_ntquota* to smbcquotas.c

13 years agos3: Convert cli_set_fs_quota_info to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 11:14:26 +0000 (12:14 +0100)]
s3: Convert cli_set_fs_quota_info to cli_trans

13 years agos3: Convert cli_get_fs_quota_info to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 11:03:07 +0000 (12:03 +0100)]
s3: Convert cli_get_fs_quota_info to cli_trans

13 years agos3: Convert cli_list_user_quota to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 10:53:03 +0000 (11:53 +0100)]
s3: Convert cli_list_user_quota to cli_trans

13 years agos3: Convert cli_set_user_quota to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 10:33:35 +0000 (11:33 +0100)]
s3: Convert cli_set_user_quota to cli_trans

13 years agos3: Convert cli_get_user_quota to cli_trans
Volker Lendecke [Sun, 16 Jan 2011 07:34:58 +0000 (08:34 +0100)]
s3: Convert cli_get_user_quota to cli_trans

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Sat, 15 Jan 2011 15:07:31 +0000 (16:07 +0100)]
s3: Fix some nonempty blank lines

13 years agos3: Fix a C++ warning
Volker Lendecke [Sun, 9 Jan 2011 18:54:33 +0000 (19:54 +0100)]
s3: Fix a C++ warning

13 years agos3: Remove cli_send_trans from cli_qpathinfo_alt_name
Volker Lendecke [Sun, 9 Jan 2011 18:44:13 +0000 (19:44 +0100)]
s3: Remove cli_send_trans from cli_qpathinfo_alt_name

13 years agos3: Remove cli_send_trans from cli_oem_change_password
Volker Lendecke [Sun, 9 Jan 2011 18:13:15 +0000 (19:13 +0100)]
s3: Remove cli_send_trans from cli_oem_change_password

13 years agos3: Avoid some calls to cli_errstr
Volker Lendecke [Sat, 15 Jan 2011 15:32:00 +0000 (16:32 +0100)]
s3: Avoid some calls to cli_errstr

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 15 17:18:54 CET 2011 on sn-devel-104

13 years agos3: Convert cli_set_secdesc to cli_trans
Volker Lendecke [Sat, 15 Jan 2011 15:20:37 +0000 (16:20 +0100)]
s3: Convert cli_set_secdesc to cli_trans

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Sat, 15 Jan 2011 15:07:31 +0000 (16:07 +0100)]
s3: Fix some nonempty blank lines

13 years agoAdd OPLOCK4 test which explores how Windows copes with oplock and share mode breaks...
Jeremy Allison [Fri, 14 Jan 2011 23:15:01 +0000 (15:15 -0800)]
Add OPLOCK4 test which explores how Windows copes with oplock and share mode breaks on hard links.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 15 00:59:46 CET 2011 on sn-devel-104
(cherry picked from commit dbaeb52ebe4056fc50a1533fc66fe58442c57ac5)

13 years agos3: Fix bug 7917: Yet another bug in chain_reply
Volker Lendecke [Fri, 14 Jan 2011 15:43:00 +0000 (16:43 +0100)]
s3: Fix bug 7917: Yet another bug in chain_reply

Found by Michael Hanscho <samba@micha.priv.at> with a WinCE client.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 14 17:42:05 CET 2011 on sn-devel-104
(cherry picked from commit 109cbe37a2cf819f297b1ebf63f1817579bedf02)

13 years agos3-waf: fix the build after rpc_winreg removal.
Günther Deschner [Fri, 14 Jan 2011 09:53:17 +0000 (10:53 +0100)]
s3-waf: fix the build after rpc_winreg removal.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 14 11:38:40 CET 2011 on sn-devel-104
(cherry picked from commit d7af8753abf7dfea6af334e2a6eb9e175127a139)

13 years agos3:vfs aio_fork children do not go away
Christian Ambach [Thu, 13 Jan 2011 15:04:36 +0000 (16:04 +0100)]
s3:vfs aio_fork children do not go away

on RHEL 5.5, recvmsg() does not return when it is reading
from the socket and the process on the other side closes
its connection. This left aio children around that should
have gone already and were just wasting system resources.

This patch makes the child go away by writing invalid
data to it so that the child exits.

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 14 09:57:18 CET 2011 on sn-devel-104

13 years agos3:vfs fix children cleanup in aio_fork
Christian Ambach [Thu, 13 Jan 2011 14:59:18 +0000 (15:59 +0100)]
s3:vfs fix children cleanup in aio_fork

the cleanup loop in aio_fork always stopped operation
on the first inactive child it found. In case lots of
children need to be reaped, it will take multiple runs
before all children are gone

13 years agos3-build: remove RPCCLI_WINREG subsystem.
Günther Deschner [Wed, 12 Jan 2011 21:55:43 +0000 (22:55 +0100)]
s3-build: remove RPCCLI_WINREG subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Thu Jan 13 15:06:36 CET 2011 on sn-devel-104
(cherry picked from commit a556896d1e2c79c39e95f0903fb365fe3a308a2c)

13 years agos3-waf: remove RPCCLI_WINREG subsystem.
Günther Deschner [Wed, 12 Jan 2011 21:55:34 +0000 (22:55 +0100)]
s3-waf: remove RPCCLI_WINREG subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 2e54b01bde9af9df1a00a7b3df5cf6270b3fe56a)

13 years agos3-net_registry: prefer dcerpc_winreg_X functions.
Günther Deschner [Wed, 12 Jan 2011 21:53:52 +0000 (22:53 +0100)]
s3-net_registry: prefer dcerpc_winreg_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 166504adb711e0bf582d71c38f5b08beb2806978)

13 years agos3-net: prefer dcerpc_winreg_X functions.
Günther Deschner [Wed, 12 Jan 2011 20:59:23 +0000 (21:59 +0100)]
s3-net: prefer dcerpc_winreg_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit da433458e5ba82e9cf94aed04ecfcda89b287331)

13 years agos3-spoolss: no need to include cli_winreg header anymore.
Günther Deschner [Wed, 12 Jan 2011 20:11:44 +0000 (21:11 +0100)]
s3-spoolss: no need to include cli_winreg header anymore.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit a451c54b3db9da5f0cfda0b72c7af1eae3ada6f8)

13 years agos3-rpcclient: prefer dcerpc_winreg_X functions.
Günther Deschner [Wed, 12 Jan 2011 20:11:17 +0000 (21:11 +0100)]
s3-rpcclient: prefer dcerpc_winreg_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit d97eb89c2a0f7ab4543922a417f1fb9fcd8fbaec)

13 years agos3-build: remove RPCCLI_SRVSVC subsystem.
Günther Deschner [Wed, 12 Jan 2011 12:25:51 +0000 (13:25 +0100)]
s3-build: remove RPCCLI_SRVSVC subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 7e959004d790536cc932285c2d38a566ea130b5d)

13 years agos3-waf: remove RPCCLI_SRVSVC subsystem.
Günther Deschner [Wed, 12 Jan 2011 12:25:42 +0000 (13:25 +0100)]
s3-waf: remove RPCCLI_SRVSVC subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 9204e04f274b69b34dd3da8bf63e4eeb7050cb50)

13 years agos3-rpcclient: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 12:22:08 +0000 (13:22 +0100)]
s3-rpcclient: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit bded49f5d637c30ae33564d0642d1e58adddaaec)

13 years agos3-net: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 12:11:41 +0000 (13:11 +0100)]
s3-net: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 8aa5b067b9dfa1897dc12316987686d1e1c5946d)

13 years agos3-smbtree: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 12:01:57 +0000 (13:01 +0100)]
s3-smbtree: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1ea6dd35f4ebca968e23602ba009f45e4f914161)

13 years agos3-lanman: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 12:00:49 +0000 (13:00 +0100)]
s3-lanman: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 4189c00caeaa9cdd71d9e5cbb35e2efdd9ad3ac6)

13 years agos3-libsmbclient: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 11:58:44 +0000 (12:58 +0100)]
s3-libsmbclient: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 44e048f7a89a2fd26cca680cb9e53c02103d7750)

13 years agos3-smbclient: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 11:56:55 +0000 (12:56 +0100)]
s3-smbclient: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit fccfd29283154d9ec252fcb4c26f21301150dc5f)

13 years agos3-libnetapi: prefer dcerpc_srvsvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 11:51:07 +0000 (12:51 +0100)]
s3-libnetapi: prefer dcerpc_srvsvc_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1ef94dffe6e0b86e0ff30f7d37dc81fc251f6d95)

13 years agos3-build: remove RPCCLI_NETLOGON subsystem.
Günther Deschner [Wed, 12 Jan 2011 11:12:32 +0000 (12:12 +0100)]
s3-build: remove RPCCLI_NETLOGON subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit aa4efa154f9f7b2d152a99f822c3970f3b736705)

13 years agos3-waf: remove RPCCLI_NETLOGON subsystem.
Günther Deschner [Wed, 12 Jan 2011 11:12:22 +0000 (12:12 +0100)]
s3-waf: remove RPCCLI_NETLOGON subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 9a9ee03ae8331e81281c12b159df1dd66b5cc851)

13 years agos3-rpcclient: prefer dcerpc_netr_X functions.
Günther Deschner [Wed, 12 Jan 2011 11:08:42 +0000 (12:08 +0100)]
s3-rpcclient: prefer dcerpc_netr_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 5e4b327c4f1a9a09cb46514e7ed5c213031f1218)

13 years agos3-winbind: prefer dcerpc_netr_X functions.
Günther Deschner [Wed, 12 Jan 2011 10:55:34 +0000 (11:55 +0100)]
s3-winbind: prefer dcerpc_netr_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit c9b3404c68b0b5b1f2f3008736d77c476cc0e398)

13 years agos3-rpc_client: prefer dcerpc_netr_X functions.
Günther Deschner [Wed, 12 Jan 2011 10:36:06 +0000 (11:36 +0100)]
s3-rpc_client: prefer dcerpc_netr_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 232378c6e5b1db9facd3c74b7fa82ed9a3b4ef67)

13 years agos3-net: prefer dcerpc_netr_X functions.
Günther Deschner [Wed, 12 Jan 2011 10:27:26 +0000 (11:27 +0100)]
s3-net: prefer dcerpc_netr_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1259e93ac07fa86eacf0870744b7c6a056a30c57)

13 years agos3-libnet: prefer dcerpc_netr_X functions.
Günther Deschner [Wed, 12 Jan 2011 10:21:18 +0000 (11:21 +0100)]
s3-libnet: prefer dcerpc_netr_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit f3eb5c234e3c4e07c9839c940c4558a169087dbf)

13 years agos3-libnetapi: prefer dcerpc_netr_X functions.
Günther Deschner [Wed, 12 Jan 2011 10:17:48 +0000 (11:17 +0100)]
s3-libnetapi: prefer dcerpc_netr_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 425753ebe3e85e1e7ea939937269c10bc5f7fd73)

13 years agos3-net: remove some pointless fstrings in "net rpc service".
Günther Deschner [Wed, 12 Jan 2011 18:12:07 +0000 (19:12 +0100)]
s3-net: remove some pointless fstrings in "net rpc service".

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit f9ca6904a474e8c33532708977878940ad5696e0)

13 years agos3-net: restructure "net rpc service" and add open_scm().
Günther Deschner [Wed, 12 Jan 2011 18:08:48 +0000 (19:08 +0100)]
s3-net: restructure "net rpc service" and add open_scm().

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit d0c05ab2ec5af5090048091d65a48736dcc2ba6b)

13 years agos3-net: restructure "net rpc service" and add open_service().
Günther Deschner [Wed, 12 Jan 2011 18:00:16 +0000 (19:00 +0100)]
s3-net: restructure "net rpc service" and add open_service().

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 3e2821acda1dd2197b82048e80ef190f46068832)

13 years agos3-build: remove RPCCLI_SVCCTL subsystem.
Günther Deschner [Tue, 11 Jan 2011 22:22:18 +0000 (23:22 +0100)]
s3-build: remove RPCCLI_SVCCTL subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 5ad7d6aaa8f0067e23ce5ef892026a0898fc1068)

13 years agos3-waf: remove RPCCLI_SVCCTL subsystem.
Günther Deschner [Tue, 11 Jan 2011 22:22:07 +0000 (23:22 +0100)]
s3-waf: remove RPCCLI_SVCCTL subsystem.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 067e54881846baf35a456fcc546a7cc9e3180ac4)

13 years agos3-svcctl: prefer dcerpc_svcctl_X functions.
Günther Deschner [Tue, 11 Jan 2011 22:21:41 +0000 (23:21 +0100)]
s3-svcctl: prefer dcerpc_svcctl_X functions.

Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 8e588550b9c373b0be50c27978782a4574b92728)

13 years agoFix bug #7909 - map SYNCHRONIZE acl permission statically in zfs_acl vfs module.
Paul B. Henson [Thu, 13 Jan 2011 18:16:13 +0000 (10:16 -0800)]
Fix bug #7909 - map SYNCHRONIZE acl permission statically in zfs_acl vfs module.
(cherry picked from commit 75132a58c77257da5c90b92f08941dadb6aab00c)

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Wed, 12 Jan 2011 17:12:29 +0000 (18:12 +0100)]
s3: Fix some nonempty blank lines

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
(cherry picked from commit 8c6b0b61e5a19de3b1d710e84a7a773321b8a257)

13 years agos3: Remove a pointless else
Volker Lendecke [Wed, 12 Jan 2011 09:26:49 +0000 (10:26 +0100)]
s3: Remove a pointless else

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 12 11:12:56 CET 2011 on sn-devel-104
(cherry picked from commit 35f08a2958455dfe747d068fad9b383d07c9e9eb)

13 years agom4: Don't AC_MSG_ERROR when too old python is found
Volker Lendecke [Mon, 10 Jan 2011 09:06:37 +0000 (10:06 +0100)]
m4: Don't AC_MSG_ERROR when too old python is found

This broke the pure S3 build with an old python

Matthias Dieter Wallnöfer, please check!

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jan 10 11:26:18 CET 2011 on sn-devel-104
(cherry picked from commit 1c6d89660ea6687df55248e1f45699e59562792a)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agos3-docs: Typos in rpcclient man page
Björn Baumbach [Tue, 11 Jan 2011 13:28:26 +0000 (14:28 +0100)]
s3-docs: Typos in rpcclient man page

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 12 18:13:54 CET 2011 on sn-devel-104
(cherry picked from commit 4fe0765d911c2a08351805f4a953dc0cd512200d)

13 years agos3-docs: Typos in smbclient man page
Björn Baumbach [Tue, 11 Jan 2011 11:43:59 +0000 (12:43 +0100)]
s3-docs: Typos in smbclient man page

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 98af6738f6d006c58fca8560a2b78a60cdbefaa8)

13 years agos3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() returned without checking...
Björn Baumbach [Wed, 22 Dec 2010 14:20:29 +0000 (15:20 +0100)]
s3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() returned without checking all architectures.

Continues now with next architecture if no driver is available.

Because of the broken behavior of the rpccli_*() functions,
we need special error code handling.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit f5af66e67d7c6d62315671c0cf57f47973316226)

13 years agos3/docs: Remove superfluous bracket.
Karolin Seeger [Tue, 11 Jan 2011 20:18:57 +0000 (21:18 +0100)]
s3/docs: Remove superfluous bracket.

Karolin
(cherry picked from commit 3bf51a9e2853d8ce4f8c573eda7fb1d2ede6f8cb)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agos3-net: fix query_service_state() error handling.
Günther Deschner [Wed, 12 Jan 2011 12:57:08 +0000 (13:57 +0100)]
s3-net: fix query_service_state() error handling.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 15:22:56 CET 2011 on sn-devel-104
(cherry picked from commit dac7ccee9ff01407bfadbfe466425f0266eafd52)

13 years agos3-net: add missing breaks in switch statement in get_share_info().
Günther Deschner [Wed, 12 Jan 2011 12:10:28 +0000 (13:10 +0100)]
s3-net: add missing breaks in switch statement in get_share_info().

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104
(cherry picked from commit 9bad1507050046de553c842e2ca0112437b705c1)

13 years agos3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.
Günther Deschner [Wed, 12 Jan 2011 12:41:16 +0000 (13:41 +0100)]
s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.

Guenther
(cherry picked from commit 1cd7f6c0e1c52ad09f3c66d89809bae859285880)

13 years agos3-libnetapi: add missing error check after switchting to dcerpc_wkssvc_X functions.
Günther Deschner [Wed, 12 Jan 2011 12:32:10 +0000 (13:32 +0100)]
s3-libnetapi: add missing error check after switchting to dcerpc_wkssvc_X functions.

Guenther
(cherry picked from commit 415a390ba87f2227eee5312eb3838beb9a7abc30)

13 years agos3-waf: finally enable large file support.
Günther Deschner [Wed, 12 Jan 2011 09:34:45 +0000 (10:34 +0100)]
s3-waf: finally enable large file support.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
(cherry picked from commit fa5fdb1a4e1033944f3fdb5584e950b7ed9ee632)

13 years agos3-waf: add check for SO_PEERCRED.
Günther Deschner [Tue, 11 Jan 2011 23:56:29 +0000 (00:56 +0100)]
s3-waf: add check for SO_PEERCRED.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 02:29:48 CET 2011 on sn-devel-104
(cherry picked from commit e2a3ff184e7e6133b3536c5a40c9f05849b1f196)

13 years agos3-waf: add checks for Linux readahead.
Günther Deschner [Tue, 11 Jan 2011 23:49:53 +0000 (00:49 +0100)]
s3-waf: add checks for Linux readahead.

Guenther
(cherry picked from commit 4c8b9bee14ba9bcf4cc0a00985247fda3a29deef)

13 years agos3-waf: more fallocate checks stolen from autoconf.
Günther Deschner [Tue, 11 Jan 2011 23:43:26 +0000 (00:43 +0100)]
s3-waf: more fallocate checks stolen from autoconf.

Guenther
(cherry picked from commit 4412eb9d008d259cebafa7062d4826d69e67d89c)

13 years agos3-waf: add checks for fallocate fallocate64.
Günther Deschner [Tue, 11 Jan 2011 10:43:28 +0000 (11:43 +0100)]
s3-waf: add checks for fallocate fallocate64.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 12 00:56:57 CET 2011 on sn-devel-104
(cherry picked from commit b0f4f6f464c36e987eaaaccdbd8a49d18dd5d28f)

13 years agos3-build: remove RPCCLI_DRSUAPI subsystem.
Günther Deschner [Tue, 11 Jan 2011 17:04:19 +0000 (18:04 +0100)]
s3-build: remove RPCCLI_DRSUAPI subsystem.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 11 23:01:24 CET 2011 on sn-devel-104
(cherry picked from commit 6f39c3b52663ee9e4b1c1d1e4fd0377d4fdb17f7)

13 years agos3-waf: remove RPCCLI_DRSUAPI subsystem.
Günther Deschner [Tue, 11 Jan 2011 17:04:04 +0000 (18:04 +0100)]
s3-waf: remove RPCCLI_DRSUAPI subsystem.

Guenther
(cherry picked from commit 9fe0cfef6ac408396e2415faa91f9ee8ae5e3774)

13 years agos3-drsuapi: prefer dcerpc_drsuapi_X functions.
Günther Deschner [Tue, 11 Jan 2011 16:46:11 +0000 (17:46 +0100)]
s3-drsuapi: prefer dcerpc_drsuapi_X functions.

Guenther
(cherry picked from commit 4f057230ca979021dfa0b279392ff820599e54a0)

13 years agos3-build: remove RPCCLI_INITSHUTDOWN subsystem.
Günther Deschner [Tue, 11 Jan 2011 15:48:52 +0000 (16:48 +0100)]
s3-build: remove RPCCLI_INITSHUTDOWN subsystem.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 11 17:59:21 CET 2011 on sn-devel-104
(cherry picked from commit a76dde61bc88ee139d92f4e00f5f390a105e064b)

13 years agos3-waf: remove RPCCLI_INITSHUTDOWN subsystem.
Günther Deschner [Tue, 11 Jan 2011 15:48:40 +0000 (16:48 +0100)]
s3-waf: remove RPCCLI_INITSHUTDOWN subsystem.

Guenther
(cherry picked from commit 5473d1b81c8b1374bef8a537091454a53128dfaa)

13 years agos3-initshutdown: prefer dcerpc_initshutdown_X functions.
Günther Deschner [Tue, 11 Jan 2011 15:47:34 +0000 (16:47 +0100)]
s3-initshutdown: prefer dcerpc_initshutdown_X functions.

Guenther
(cherry picked from commit d1954ce8e7bf80c19366dd8313ab616b583c9fe7)

13 years agos3-build: remove RPCCLI_EVENTLOG subsystem.
Günther Deschner [Tue, 11 Jan 2011 15:24:01 +0000 (16:24 +0100)]
s3-build: remove RPCCLI_EVENTLOG subsystem.

Guenther
(cherry picked from commit 2a05561e354dd8b6e96deca7243e49e1168a6951)

13 years agos3-waf: remove RPCCLI_EVENTLOG subsystem.
Günther Deschner [Tue, 11 Jan 2011 15:23:49 +0000 (16:23 +0100)]
s3-waf: remove RPCCLI_EVENTLOG subsystem.

Guenther
(cherry picked from commit 6cbe4da599bd892b0ddcafe85de23a867c683453)

13 years agos3-eventlog: prefer dcerpc_eventlog_X functions.
Günther Deschner [Tue, 11 Jan 2011 15:22:55 +0000 (16:22 +0100)]
s3-eventlog: prefer dcerpc_eventlog_X functions.

Guenther
(cherry picked from commit fe2b89edee0ced4c4995a0db49128329c7d7f7f2)

13 years agos3-build: remove RPCCLI_WKSSVC subsystem.
Günther Deschner [Tue, 11 Jan 2011 16:11:48 +0000 (17:11 +0100)]
s3-build: remove RPCCLI_WKSSVC subsystem.

Guenther
(cherry picked from commit e5c4f69d40d4a6161a83195253122594000bde70)

13 years agos3-waf: remove RPCCLI_WKSSVC subsystem.
Günther Deschner [Tue, 11 Jan 2011 15:05:27 +0000 (16:05 +0100)]
s3-waf: remove RPCCLI_WKSSVC subsystem.

Guenther
(cherry picked from commit 7c14048f94ba3a26a9832326521f57e72a13446f)

13 years agos3-wkssvc: prefer dcerpc_wkssvc_X functions.
Günther Deschner [Tue, 11 Jan 2011 15:03:24 +0000 (16:03 +0100)]
s3-wkssvc: prefer dcerpc_wkssvc_X functions.

Guenther
(cherry picked from commit 4920390913f8b9eb8601a318be56fb272cc9a43b)

13 years agos3:winbindd: use ndr_wbint_c.h instead of cli_wbint.h
Stefan Metzmacher [Tue, 11 Jan 2011 12:38:16 +0000 (13:38 +0100)]
s3:winbindd: use ndr_wbint_c.h instead of cli_wbint.h

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 11 15:40:22 CET 2011 on sn-devel-104
(cherry picked from commit 4f305f438b69b24f803d1b4f27b90d2c81794471)