abartlet/samba.git/.git
11 years agos4-dsdb: Fill in lastKnownParent when moving to lostAndFound drs-lost-and-found
Andrew Bartlett [Sat, 28 Jul 2012 05:27:26 +0000 (15:27 +1000)]
s4-dsdb: Fill in lastKnownParent when moving to lostAndFound

11 years agos4-dsdb: Change move to lostAndFound to use container in this partiion and add debugging
Andrew Bartlett [Fri, 27 Jul 2012 23:40:39 +0000 (09:40 +1000)]
s4-dsdb: Change move to lostAndFound to use container in this partiion and add debugging

The logic looking for LostAndFound failed for a user, so add extensive
debugging to make this eaiser to trace down in future.

Andrew Bartlett

11 years agos4-dsdb: Do not strip base components off DN before searching for NC root
Andrew Bartlett [Sun, 29 Jul 2012 05:03:21 +0000 (15:03 +1000)]
s4-dsdb: Do not strip base components off DN before searching for NC root

11 years agos4-dsdb: Provide a way to force incoming renames to take priority
Andrew Bartlett [Fri, 8 Jun 2012 02:26:32 +0000 (12:26 +1000)]
s4-dsdb: Provide a way to force incoming renames to take priority

This should mean that a samba-tool drs replicate --full-sync forces a
replication of all objects, regardless of if we think the local name
is newer and regards any local name as being in conflict.

Andrew Bartlett

11 years agos4-dsdb: Provide a way to handle conflicts due to rename
Andrew Bartlett [Fri, 8 Jun 2012 02:25:29 +0000 (12:25 +1000)]
s4-dsdb: Provide a way to handle conflicts due to rename

This allows us to proceed with replication when the source DC is sending us an object
which has a matching object in this NC (by name) but not by GUID.

Andrew Bartlett

11 years agos4-librpc: Fix private context for dcerpc_connect_timeout_handler
Andrew Bartlett [Sun, 29 Jul 2012 10:37:39 +0000 (20:37 +1000)]
s4-librpc: Fix private context for dcerpc_connect_timeout_handler

This was incorrect in 02a356ea775a3ba589cb50af3c861ab86aaffa0b.

Andrew Bartlett

11 years agos4-repl: Use ldb_dn_new() to create the rootDSE DN
Andrew Bartlett [Sun, 29 Jul 2012 08:47:24 +0000 (18:47 +1000)]
s4-repl: Use ldb_dn_new() to create the rootDSE DN

Based on a patch proposal by Matthieu Patou <mat@matws.net>.

Andrew Bartlett

11 years agos4-repl: Use NULL for pointer test when checking for ldb_msg_new() failure
Andrew Bartlett [Sun, 29 Jul 2012 08:46:40 +0000 (18:46 +1000)]
s4-repl: Use NULL for pointer test when checking for ldb_msg_new() failure

11 years agos3-libsmbclient: Add missing talloc_stackframe() calls
Andrew Bartlett [Sun, 29 Jul 2012 01:25:04 +0000 (11:25 +1000)]
s3-libsmbclient: Add missing talloc_stackframe() calls

These caused a panic with the new assertion on the talloc stackframe being
in place.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 05:21:24 CEST 2012 on sn-devel-104

11 years agos4-dbcheck: Add lastKnownParent when moving an object to lostAndFound
Andrew Bartlett [Sat, 28 Jul 2012 00:59:09 +0000 (10:59 +1000)]
s4-dbcheck: Add lastKnownParent when moving an object to lostAndFound

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Jul 28 05:40:43 CEST 2012 on sn-devel-104

11 years agolib/param: Rename "socket address" to "nbt client socket address" to clarify role
Andrew Bartlett [Fri, 27 Jul 2012 02:56:22 +0000 (12:56 +1000)]
lib/param: Rename "socket address" to "nbt client socket address" to clarify role

This parameter is only used in our NBT client code and in nmbd as a
fallback when we fail to select a better interface from "interfaces"
to use directly.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104

11 years agolib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server
Andrew Bartlett [Fri, 27 Jul 2012 02:31:28 +0000 (12:31 +1000)]
lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server

In these other cases, control of the sockets to bind to can be obtained using
"bind interfaces only = yes" and "interfaces = ".

Andrew Bartlett

11 years agolib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *
Andrew Bartlett [Fri, 27 Jul 2012 01:11:58 +0000 (11:11 +1000)]
lib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *

This matters as we sync up the declarations with the source3/param code.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 27 05:26:45 CEST 2012 on sn-devel-104

11 years agolib/param: Remove unused "paranoid server security"
Andrew Bartlett [Fri, 27 Jul 2012 00:34:05 +0000 (10:34 +1000)]
lib/param: Remove unused "paranoid server security"

This became unused when security=server went away.

Andrew Bartlett

11 years agodocs: Mark "socket address" as deprecated
Andrew Bartlett [Mon, 23 Jul 2012 03:15:23 +0000 (13:15 +1000)]
docs: Mark "socket address" as deprecated

11 years agoparam: Make socket_address common, Revert 611ef42053eb99f4c29d4efa86eaea9f1ca06286
Andrew Bartlett [Sun, 22 Jul 2012 23:23:04 +0000 (09:23 +1000)]
param: Make socket_address common, Revert 611ef42053eb99f4c29d4efa86eaea9f1ca06286

This essentially reverts the commit 611ef42053eb99f4c29d4efa86eaea9f1ca06286
Author: Yasuma Takeda <yasuma@osstech.co.jp>
Date:   Fri Dec 5 13:37:51 2008 -0800

    Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf

Intead, the documentation is fixed so that the correct default is
recorded.  Removing the special case handling here allows this to be
dealt with in the same way as all other parameters.

Andrew Bartlett

11 years agolib/param: Merge parameter tables into a common file
Andrew Bartlett [Mon, 23 Jul 2012 03:53:16 +0000 (13:53 +1000)]
lib/param: Merge parameter tables into a common file

This file is then included into both loadparm systems.

Andrew Bartlett

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

11 years agolib/param: Merge in source3 parameters into parmeter table
Andrew Bartlett [Thu, 26 Jul 2012 23:07:19 +0000 (09:07 +1000)]
lib/param: Merge in source3 parameters into parmeter table

This finishes the series to remove the various warnings from smb.conf
loading when a source3 parameter is used.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Security Options" section from source3/param
Andrew Bartlett [Fri, 27 Jul 2012 00:15:10 +0000 (10:15 +1000)]
lib/param: Merge "Security Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Logging Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 23:54:39 +0000 (09:54 +1000)]
lib/param: Merge "Logging Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agos3-param: Merge "log file" parameter with lib/param
Andrew Bartlett [Fri, 27 Jul 2012 00:01:44 +0000 (10:01 +1000)]
s3-param: Merge "log file" parameter with lib/param

The lib/param code uses a special handler for setting the log file.

We need to set this here, so that we can make this table common.

Andrew Bartlett

11 years agolib/param: Merge "Protocol Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:45:59 +0000 (16:45 +1000)]
lib/param: Merge "Protocol Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Tuning Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:37:21 +0000 (16:37 +1000)]
lib/param: Merge "Tuning Options" section from source3/param

This will reduced the weight of the eventual merge of all of source3/param.

Andrew Bartlett

11 years agolib/param: Merge "Printing Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:33:47 +0000 (16:33 +1000)]
lib/param: Merge "Printing Options" section from source3/param

This will reduced the weight of the eventual merge of all of source3/param.

Andrew Bartlett

11 years agos3-build: Make recursive waf build a developer build again (to build developer test...
Andrew Bartlett [Thu, 26 Jul 2012 22:53:54 +0000 (08:53 +1000)]
s3-build: Make recursive waf build a developer build again (to build developer test facilities)

My commit f446506608ba93303b9c671bdaacd692f72bad28 was to work around the automatic ABI check
in the waf developer build.  However, now that the validity of loadparm options depends on
this being a developer build, we need to change back, but disable the ABI check.

Andrew Bartlett

11 years agos3:vlp: fix build on OS X
Björn Jacke [Thu, 26 Jul 2012 23:04:33 +0000 (01:04 +0200)]
s3:vlp: fix build on OS X

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Jul 27 03:13:59 CEST 2012 on sn-devel-104

11 years agobuildtools: use egrep when we need the "-f patternfile" option
Björn Jacke [Thu, 26 Jul 2012 16:55:43 +0000 (18:55 +0200)]
buildtools: use egrep when we need the "-f patternfile" option

Solaris' default grep doesn't know the -f option

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jul 26 20:49:18 CEST 2012 on sn-devel-104

11 years agos3/aio_fork: fix build on irix
Björn Jacke [Thu, 26 Jul 2012 16:27:40 +0000 (18:27 +0200)]
s3/aio_fork: fix build on irix

IRIX needs _XOPEN_SOURCE defined for SCM_RIGHTS to be available

11 years agos3: use libreplace in pthreadpooltest to fix some builds
Björn Jacke [Thu, 26 Jul 2012 16:07:29 +0000 (18:07 +0200)]
s3: use libreplace in pthreadpooltest to fix some builds

11 years agos3: add Darwin sendfile support and merge with the FreeBSD code
Björn Jacke [Fri, 29 Jun 2012 18:16:18 +0000 (20:16 +0200)]
s3: add Darwin sendfile support and merge with the FreeBSD code

This is based on the adpotion of the FreeBSD sendfile code that was done by
James Peach for Darwin.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jul 26 17:19:09 CEST 2012 on sn-devel-104

11 years agos3:waf: add Darwin sendfile() test
Björn Jacke [Mon, 2 Jul 2012 10:47:06 +0000 (12:47 +0200)]
s3:waf: add Darwin sendfile() test

11 years agos3:configure: add Darwin sendfile() test
Björn Jacke [Fri, 29 Jun 2012 18:13:57 +0000 (20:13 +0200)]
s3:configure: add Darwin sendfile() test

11 years agolib/param: Merge "Filename Handling" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:32:11 +0000 (16:32 +1000)]
lib/param: Merge "Filename Handling" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jul 26 14:16:02 CEST 2012 on sn-devel-104

11 years agolib/param: Merge "Domain Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:28:51 +0000 (16:28 +1000)]
lib/param: Merge "Domain Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Logon Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:25:29 +0000 (16:25 +1000)]
lib/param: Merge "Logon Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Browse Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:03:09 +0000 (16:03 +1000)]
lib/param: Merge "Browse Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "WINS Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:00:40 +0000 (16:00 +1000)]
lib/param: Merge "WINS Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Locking Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 05:58:54 +0000 (15:58 +1000)]
lib/param: Merge "Locking Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Ldap Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 05:56:15 +0000 (15:56 +1000)]
lib/param: Merge "Ldap Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "EventLog Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 05:54:25 +0000 (15:54 +1000)]
lib/param: Merge "EventLog Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge "Miscellaneous Options" section from source3/param
Andrew Bartlett [Mon, 23 Jul 2012 23:44:03 +0000 (09:44 +1000)]
lib/param: Merge "Miscellaneous Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agos3:smb2_negprot: return the current system time in the SMB2 NEGPROT response
Stefan Metzmacher [Thu, 26 Jul 2012 07:55:29 +0000 (09:55 +0200)]
s3:smb2_negprot: return the current system time in the SMB2 NEGPROT response

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul 26 11:56:02 CEST 2012 on sn-devel-104

11 years agos3:smbd: fix compiler warnings in notify_internal.c
Stefan Metzmacher [Thu, 26 Jul 2012 06:37:43 +0000 (08:37 +0200)]
s3:smbd: fix compiler warnings in notify_internal.c

metze

11 years agolibcli/smb: add basic session->smb2.channel_sequence handling
Stefan Metzmacher [Wed, 25 Jul 2012 23:54:33 +0000 (01:54 +0200)]
libcli/smb: add basic session->smb2.channel_sequence handling

metze

11 years agolibcli/smb: add SMB2_HDR_CHANNEL_SEQUENCE
Stefan Metzmacher [Wed, 25 Jul 2012 23:54:02 +0000 (01:54 +0200)]
libcli/smb: add SMB2_HDR_CHANNEL_SEQUENCE

metze

11 years agolibcli/smb: introduce a smb2cli_session
Stefan Metzmacher [Thu, 26 Jul 2012 00:36:37 +0000 (02:36 +0200)]
libcli/smb: introduce a smb2cli_session

This maintains the shared state between multiple session
channels.

metze

11 years agos3:smb2_sesssetup: reject SMB2_SESSION_FLAG_BINDING requests
Stefan Metzmacher [Wed, 25 Jul 2012 22:11:13 +0000 (00:11 +0200)]
s3:smb2_sesssetup: reject SMB2_SESSION_FLAG_BINDING requests

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul 26 02:08:56 CEST 2012 on sn-devel-104

11 years agos3:libcli/smb: add SMB2_SESSION_FLAG_BINDING
Stefan Metzmacher [Wed, 25 Jul 2012 22:10:38 +0000 (00:10 +0200)]
s3:libcli/smb: add SMB2_SESSION_FLAG_BINDING

metze

11 years agos3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFO
Stefan Metzmacher [Wed, 25 Jul 2012 14:43:58 +0000 (16:43 +0200)]
s3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFO

metze

11 years agos3:smb2_ioctl: allow clients to send padding at the end of FSCTL_VALIDATE_NEGOTIATE_INFO
Stefan Metzmacher [Wed, 25 Jul 2012 14:38:45 +0000 (16:38 +0200)]
s3:smb2_ioctl: allow clients to send padding at the end of FSCTL_VALIDATE_NEGOTIATE_INFO

metze

11 years agos3:smb2_ioctl: remove FSCTL_VALIDATE_NEGOTIATE_INFO_224 implementation
Stefan Metzmacher [Wed, 25 Jul 2012 21:29:28 +0000 (23:29 +0200)]
s3:smb2_ioctl: remove FSCTL_VALIDATE_NEGOTIATE_INFO_224 implementation

Only Windows8 Beta uses this and it's broken, the client send wrong
capabilities. Just returning an error seems to be fine for the Windows8 Beta
client.

metze

11 years agolibcli/smb: setup tcon->smb2.should_encrypt in smb2cli_tcon_set_values()
Stefan Metzmacher [Wed, 25 Jul 2012 10:34:20 +0000 (12:34 +0200)]
libcli/smb: setup tcon->smb2.should_encrypt in smb2cli_tcon_set_values()

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 25 16:44:22 CEST 2012 on sn-devel-104

11 years agolibcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()
Stefan Metzmacher [Wed, 25 Jul 2012 10:33:39 +0000 (12:33 +0200)]
libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()

metze

11 years agos4:libcli/smb2: remove unused smb2_session->pid
Stefan Metzmacher [Wed, 25 Jul 2012 09:40:54 +0000 (11:40 +0200)]
s4:libcli/smb2: remove unused smb2_session->pid

metze

11 years agos3:libsmb: remove unused cli_state->smb2.pid
Stefan Metzmacher [Wed, 25 Jul 2012 09:26:22 +0000 (11:26 +0200)]
s3:libsmb: remove unused cli_state->smb2.pid

metze

11 years agos4:libcli/smb2: remove unused variable
Stefan Metzmacher [Wed, 25 Jul 2012 08:59:12 +0000 (10:59 +0200)]
s4:libcli/smb2: remove unused variable

metze

11 years agolibcli/smb: there's no PID field in the SMB2/3 header anymore
Stefan Metzmacher [Wed, 25 Jul 2012 08:58:34 +0000 (10:58 +0200)]
libcli/smb: there's no PID field in the SMB2/3 header anymore

It's a reserved field...

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()
Stefan Metzmacher [Wed, 25 Jul 2012 08:36:27 +0000 (10:36 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()

metze

11 years agos4:libcli/smb2: remove unused elements from smb2_tree
Stefan Metzmacher [Wed, 25 Jul 2012 07:31:15 +0000 (09:31 +0200)]
s4:libcli/smb2: remove unused elements from smb2_tree

metze

11 years agos4:torture/smb2: create temporary smbXcli_tcon/session structures instead of changing...
Stefan Metzmacher [Wed, 25 Jul 2012 07:29:00 +0000 (09:29 +0200)]
s4:torture/smb2: create temporary smbXcli_tcon/session structures instead of changing them

metze

11 years agos4:torture/smb2: use smb2cli_tcon_capabilities()
Stefan Metzmacher [Wed, 25 Jul 2012 07:27:34 +0000 (09:27 +0200)]
s4:torture/smb2: use smb2cli_tcon_capabilities()

metze

11 years agolibcli/smb: add smb2cli_tcon_capabilities()
Stefan Metzmacher [Wed, 25 Jul 2012 07:27:00 +0000 (09:27 +0200)]
libcli/smb: add smb2cli_tcon_capabilities()

metze

11 years agos3:libsmb: remove unused tcon specific elements from cli_state->smb2
Stefan Metzmacher [Wed, 25 Jul 2012 07:05:32 +0000 (09:05 +0200)]
s3:libsmb: remove unused tcon specific elements from cli_state->smb2

metze

11 years agos3:libsmb: remove cli_state->smb2.tid
Stefan Metzmacher [Wed, 25 Jul 2012 07:01:02 +0000 (09:01 +0200)]
s3:libsmb: remove cli_state->smb2.tid

metze

11 years agos4:torture: remove unused shm_setup()
Stefan Metzmacher [Wed, 25 Jul 2012 06:36:10 +0000 (08:36 +0200)]
s4:torture: remove unused shm_setup()

metze

11 years agos4:torture: replace shm_setup() with anonymous_shared_allocate()
Stefan Metzmacher [Wed, 25 Jul 2012 06:35:44 +0000 (08:35 +0200)]
s4:torture: replace shm_setup() with anonymous_shared_allocate()

metze

11 years agos3:torture: remove unused shm_setup()
Stefan Metzmacher [Wed, 25 Jul 2012 06:35:17 +0000 (08:35 +0200)]
s3:torture: remove unused shm_setup()

metze

11 years agos3:torture: replace shm_setup() with anonymous_shared_allocate()
Stefan Metzmacher [Wed, 25 Jul 2012 06:33:31 +0000 (08:33 +0200)]
s3:torture: replace shm_setup() with anonymous_shared_allocate()

metze

11 years agos3:smb2_server: simplify the talloc_pool handling for smbd_smb2_request
Stefan Metzmacher [Mon, 23 Jul 2012 16:22:59 +0000 (18:22 +0200)]
s3:smb2_server: simplify the talloc_pool handling for smbd_smb2_request

metze

11 years agoFix bug 9065: source3/registry/regfio.c: bad call to memcpy
David Binderman [Tue, 24 Jul 2012 22:46:10 +0000 (15:46 -0700)]
Fix bug 9065: source3/registry/regfio.c: bad call to memcpy
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 25 02:42:32 CEST 2012 on sn-devel-104

11 years agos3:torture/test_smb2: make a copy of smbXcli_tcon
Stefan Metzmacher [Tue, 24 Jul 2012 18:11:25 +0000 (20:11 +0200)]
s3:torture/test_smb2: make a copy of smbXcli_tcon

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 25 00:10:47 CEST 2012 on sn-devel-104

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_query_info*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_set_info*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_flush*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_flush*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_write*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_write*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_read*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_read*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_close*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_close*()

metze

11 years agolibcli/smb: pass smbXcli_tcon to smb2cli_create*()
Stefan Metzmacher [Mon, 23 Jul 2012 20:32:49 +0000 (22:32 +0200)]
libcli/smb: pass smbXcli_tcon to smb2cli_create*()

metze

11 years agos3:libsmb: setup a smbXcli_tcon for SMB2
Stefan Metzmacher [Mon, 23 Jul 2012 20:22:02 +0000 (22:22 +0200)]
s3:libsmb: setup a smbXcli_tcon for SMB2

metze

11 years agos4:libcli/smb2: setup a smbXcli_tcon for each smb2_tree
Stefan Metzmacher [Mon, 23 Jul 2012 20:11:19 +0000 (22:11 +0200)]
s4:libcli/smb2: setup a smbXcli_tcon for each smb2_tree

metze

11 years agolibcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and smb1cli_trans*
Stefan Metzmacher [Mon, 23 Jul 2012 19:34:58 +0000 (21:34 +0200)]
libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and smb1cli_trans*

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 24 21:22:44 CEST 2012 on sn-devel-104

11 years agos4:libcli/raw: setup a smbXcli_tcon for each smbcli_tree
Stefan Metzmacher [Mon, 23 Jul 2012 18:57:23 +0000 (20:57 +0200)]
s4:libcli/raw: setup a smbXcli_tcon for each smbcli_tree

metze

11 years agos3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tid
Stefan Metzmacher [Mon, 23 Jul 2012 18:27:58 +0000 (20:27 +0200)]
s3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tid

metze

11 years agolibcli/smb: add smbXcli_tcon structure
Luk Claes [Sat, 2 Jun 2012 16:03:20 +0000 (18:03 +0200)]
libcli/smb: add smbXcli_tcon structure

Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agos3:libsmb: make use of cli_state_[g|s]et_tid()
Stefan Metzmacher [Mon, 23 Jul 2012 18:38:33 +0000 (20:38 +0200)]
s3:libsmb: make use of cli_state_[g|s]et_tid()

metze

11 years agos4:libcli/raw: parse extended SMBtconX responses
Stefan Metzmacher [Tue, 24 Jul 2012 06:56:02 +0000 (08:56 +0200)]
s4:libcli/raw: parse extended SMBtconX responses

metze

11 years agos4:libcli/raw: fix SMBtconX response parsing
Stefan Metzmacher [Tue, 24 Jul 2012 06:54:02 +0000 (08:54 +0200)]
s4:libcli/raw: fix SMBtconX response parsing

metze

11 years agowaf: Update to newer upstream snapshot.
Andrew Bartlett [Tue, 24 Jul 2012 11:40:35 +0000 (21:40 +1000)]
waf: Update to newer upstream snapshot.

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 24 16:42:44 CEST 2012 on sn-devel-104

11 years agos3-pdb: remove unused variables.
Günther Deschner [Tue, 24 Jul 2012 08:48:34 +0000 (10:48 +0200)]
s3-pdb: remove unused variables.

Guenther

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Jul 24 14:49:42 CEST 2012 on sn-devel-104

11 years agolib/param: Merge VFS and MSDFS parameters from source3 into lib/param
Andrew Bartlett [Mon, 23 Jul 2012 23:42:03 +0000 (09:42 +1000)]
lib/param: Merge VFS and MSDFS parameters from source3 into lib/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 24 12:53:17 CEST 2012 on sn-devel-104

11 years agolib/param: Merge Winbind parameters from source3 into lib/param
Andrew Bartlett [Mon, 23 Jul 2012 23:06:43 +0000 (09:06 +1000)]
lib/param: Merge Winbind parameters from source3 into lib/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Merge DNS parameters with source3 param
Andrew Bartlett [Mon, 23 Jul 2012 23:04:35 +0000 (09:04 +1000)]
lib/param: Merge DNS parameters with source3 param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Rearrange AD DC options to make a merge with the source3 table easier
Andrew Bartlett [Mon, 23 Jul 2012 22:59:05 +0000 (08:59 +1000)]
lib/param: Rearrange AD DC options to make a merge with the source3 table easier

Andrew Bartlett

11 years agolib/param: Re-arrange TLS parameters into their own section
Andrew Bartlett [Mon, 23 Jul 2012 03:51:18 +0000 (13:51 +1000)]
lib/param: Re-arrange TLS parameters into their own section

This makes the merge with the source3 table less disruptive

Based on an earlier patch:
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

11 years agolib/param: Add handler overrides
Andrew Bartlett [Mon, 23 Jul 2012 23:48:32 +0000 (09:48 +1000)]
lib/param: Add handler overrides

These #defines allow us to merge the parameter table without providing the
handler functions quite yet.  This helps us do this task in stages.

Andrew Bartlett

11 years agolib/param: Merge handling of security/domain master/domain logons/server role
Andrew Bartlett [Mon, 23 Jul 2012 03:32:31 +0000 (13:32 +1000)]
lib/param: Merge handling of security/domain master/domain logons/server role

This ensures that the same input parameters always gives the same
output values in both loadparm systems.

Andrew Bartlett

11 years agolib/param: Make lp_usershare_max_shares() a common parameter
Andrew Bartlett [Mon, 23 Jul 2012 02:47:41 +0000 (12:47 +1000)]
lib/param: Make lp_usershare_max_shares() a common parameter

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

11 years agolib/param: Move all enum declarations to lib/param
Andrew Bartlett [Mon, 23 Jul 2012 02:47:01 +0000 (12:47 +1000)]
lib/param: Move all enum declarations to lib/param

This is in preperation for the parameter table being made common.

Andrew Bartlett

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>