metze/samba/wip.git
12 years agoTODO add MSG_SMBXSRV_SESSION_CLOSE
Stefan Metzmacher [Wed, 18 Apr 2012 10:44:12 +0000 (12:44 +0200)]
TODO add MSG_SMBXSRV_SESSION_CLOSE

12 years ago^samba3.smbtorture_s3.*\(s3dc\).SMB2-SESSION-REAUTH # fix me
Stefan Metzmacher [Fri, 18 May 2012 08:59:42 +0000 (10:59 +0200)]
^samba3.smbtorture_s3.*\(s3dc\).SMB2-SESSION-REAUTH # fix me

12 years agoREAUTH testing test SMB2-SESSION-REAUTH
Stefan Metzmacher [Mon, 14 May 2012 12:24:08 +0000 (14:24 +0200)]
REAUTH testing test SMB2-SESSION-REAUTH

12 years agoREAUTH smb1 reauth server
Stefan Metzmacher [Wed, 25 Apr 2012 17:36:20 +0000 (19:36 +0200)]
REAUTH smb1 reauth server

12 years agosmb2.session as ntlm and krb5 => expire1
Stefan Metzmacher [Thu, 17 May 2012 17:45:19 +0000 (19:45 +0200)]
smb2.session as ntlm and krb5 => expire1

12 years agoselftest/knownfail: only reauth5 still fails...
Stefan Metzmacher [Thu, 17 May 2012 17:28:06 +0000 (19:28 +0200)]
selftest/knownfail: only reauth5 still fails...

12 years agoREAUTH smb2 HACK pass SMB2-SESSION-REAUTH
Stefan Metzmacher [Mon, 14 May 2012 12:24:08 +0000 (14:24 +0200)]
REAUTH smb2 HACK pass SMB2-SESSION-REAUTH

12 years agoselftest/Samba3: set 'max protocol = SMB3_00'
Stefan Metzmacher [Fri, 18 May 2012 08:43:18 +0000 (10:43 +0200)]
selftest/Samba3: set 'max protocol = SMB3_00'

metze

12 years agoTODO destructor 6step:smb1 use smbXsrv_session: use smbXsrv_session for smb1
Stefan Metzmacher [Sun, 1 Apr 2012 19:19:53 +0000 (21:19 +0200)]
TODO destructor 6step:smb1 use smbXsrv_session: use smbXsrv_session for smb1

12 years ago5step:smb1 use smbXsrv_tcon_table: use smb1srv_tcon... smb1 TODO 'now'
Stefan Metzmacher [Wed, 28 Mar 2012 14:14:09 +0000 (16:14 +0200)]
5step:smb1 use smbXsrv_tcon_table: use smb1srv_tcon... smb1 TODO 'now'

12 years agoTODO SPLIT destructors ... 2step:smb2 use smbXsrv_tcon: make use of smbXsrv_tcon...
Stefan Metzmacher [Tue, 27 Mar 2012 09:09:05 +0000 (11:09 +0200)]
TODO SPLIT destructors ... 2step:smb2 use smbXsrv_tcon: make use of smbXsrv_tcon smb2 remove smbd_smb2_tcon

12 years agosmb2.24 signing on smbXsrv_session
Stefan Metzmacher [Fri, 16 Mar 2012 14:01:27 +0000 (15:01 +0100)]
smb2.24 signing on smbXsrv_session

12 years agosmbd_smb2_session_destructor
Stefan Metzmacher [Thu, 31 May 2012 22:08:00 +0000 (00:08 +0200)]
smbd_smb2_session_destructor

12 years ago1step:smb2 use smbXsrv_session:OK s3:smb2_sesssetup: make use of the smbXsrv_session...
Stefan Metzmacher [Fri, 16 Mar 2012 14:01:27 +0000 (15:01 +0100)]
1step:smb2 use smbXsrv_session:OK s3:smb2_sesssetup: make use of the smbXsrv_session infrastructure

We still have smbd_smb2_session as primary structure,
but that will went away once we got rid of smbd_smb2_tcon.

metze

12 years agoadd smbXsrv_session_logoff*
Michael Adam [Mon, 21 May 2012 15:07:27 +0000 (17:07 +0200)]
add smbXsrv_session_logoff*

12 years agofix it 3? skip set_current_service
Stefan Metzmacher [Tue, 29 May 2012 18:48:53 +0000 (20:48 +0200)]
fix it 3? skip set_current_service

12 years agofix it 2? skip change_to_user
Stefan Metzmacher [Tue, 29 May 2012 18:47:16 +0000 (20:47 +0200)]
fix it 2? skip change_to_user

12 years agoTODO sq smb2srv_tcon_disconnect pass vuid
Stefan Metzmacher [Fri, 1 Jun 2012 04:58:39 +0000 (06:58 +0200)]
TODO sq smb2srv_tcon_disconnect pass vuid

12 years agoTODO sq smb2srv_tcon_disconnect pass vuid
Stefan Metzmacher [Tue, 29 May 2012 13:46:22 +0000 (15:46 +0200)]
TODO sq smb2srv_tcon_disconnect pass vuid

12 years agos3:smbd: add smbXsrv_tcon_disconnect*
Michael Adam [Mon, 21 May 2012 14:03:27 +0000 (16:03 +0200)]
s3:smbd: add smbXsrv_tcon_disconnect*

This is destructor code for tree connects.

* smbXsrv_tcon_disconnect() is called by smbXsrv_tcon_destructor()
  but it is handy to be able to call it separately.
* smbXsrv_tcon_disconnect_all() removes disconnects all tcons
  in a tcon table
* smb1srv_tcon_disconnect_all()

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

12 years agoRevert "IGNORE add smbXsrv_tcon_global_lookup"
Stefan Metzmacher [Fri, 13 Apr 2012 11:05:22 +0000 (13:05 +0200)]
Revert "IGNORE add smbXsrv_tcon_global_lookup"

This reverts commit 8d148c4e8555f48ae80c10affbef7797c92b7c39.

12 years agoIGNORE add smbXsrv_tcon_global_lookup
Stefan Metzmacher [Fri, 13 Apr 2012 11:05:03 +0000 (13:05 +0200)]
IGNORE add smbXsrv_tcon_global_lookup

12 years agoTODO fix callers s3:smbXsrv_tcon: for now truncate to tcon_ids to UINT16_MAX
Stefan Metzmacher [Sat, 28 Apr 2012 09:09:55 +0000 (11:09 +0200)]
TODO fix callers s3:smbXsrv_tcon: for now truncate to tcon_ids to UINT16_MAX

Currently all callers use 'uint16_t cnum'.

metze

12 years agoTODO s3:smbd: add smbXsrv_tcon infrastructure TODO idle
Stefan Metzmacher [Fri, 16 Mar 2012 15:32:28 +0000 (16:32 +0100)]
TODO s3:smbd: add smbXsrv_tcon infrastructure TODO idle

metze

12 years agoTODO s3:smbXsrv.idl: add smbXsrv_tcon* structures
Stefan Metzmacher [Fri, 16 Mar 2012 15:18:40 +0000 (16:18 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_tcon* structures

struct smbXsrv_tcon will represent a SMB 1 or SMB 2
tree connect. It will replace 'struct smbd_smb2_tcon' and
'connection_struct' will be changed to handle just the protocol
independent glue for the SMB_VFS layer.

metze

12 years agoRevert "IGNORE add smbXsrv_session_global_lookup""
Stefan Metzmacher [Fri, 20 Apr 2012 14:30:18 +0000 (16:30 +0200)]
Revert "IGNORE add smbXsrv_session_global_lookup""

This reverts commit 3e7711f986a3343adf280eb797875f6798d14559.

12 years agoIGNORE add smbXsrv_session_global_lookup"
Stefan Metzmacher [Fri, 13 Apr 2012 11:57:41 +0000 (13:57 +0200)]
IGNORE add smbXsrv_session_global_lookup"

12 years agoTODO fix callers s3:smbXsrv_session: for now truncate to session_ids to UINT16_MAX
Stefan Metzmacher [Sat, 28 Apr 2012 09:09:25 +0000 (11:09 +0200)]
TODO fix callers s3:smbXsrv_session: for now truncate to session_ids to UINT16_MAX

Currently all callers use 'uint16_t vuid'.

metze

12 years agoTODO s3:smbd: add smbXsrv_session infrastructure TODO
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
TODO s3:smbd: add smbXsrv_session infrastructure TODO

with obnox

metze

12 years agoTODO s3:smbXsrv.idl: add smbXsrv_session* structures
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_session* structures

struct smbXsrv_session will represent a SMB 1 or SMB 2
session. It will replace 'struct smbd_smb2_session' and
'user_struct' will be changed to handle just the protocol
independent glue for the SMB_VFS layer.

metze

12 years agoTODO s3:smbd: add smbXsrv_version_* infrastructure
Stefan Metzmacher [Tue, 8 May 2012 14:01:21 +0000 (16:01 +0200)]
TODO s3:smbd: add smbXsrv_version_* infrastructure

metze

12 years agos3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structures
Stefan Metzmacher [Tue, 8 May 2012 13:57:22 +0000 (15:57 +0200)]
s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structures

metze

12 years agos3:librpc: add smbXsrv.idl
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
s3:librpc: add smbXsrv.idl

metze

12 years agoTODO discuss s3:smb2_server: remember the request_time on an incoming request
Stefan Metzmacher [Wed, 11 Apr 2012 14:54:17 +0000 (16:54 +0200)]
TODO discuss s3:smb2_server: remember the request_time on an incoming request

metze

12 years agoTODO discuss s3:smbd: remember the request_time on an incoming request
Stefan Metzmacher [Wed, 11 Apr 2012 14:54:17 +0000 (16:54 +0200)]
TODO discuss s3:smbd: remember the request_time on an incoming request

metze

12 years agoRevert "tdb_log... TODO"
Stefan Metzmacher [Thu, 31 May 2012 10:12:04 +0000 (12:12 +0200)]
Revert "tdb_log... TODO"

This reverts commit 2a8a18462163f6b44a4656190fe2f2e84d37b275.

12 years agotdb_log... TODO
Stefan Metzmacher [Tue, 22 May 2012 18:45:53 +0000 (20:45 +0200)]
tdb_log... TODO

12 years agoRevert "run rpc.samba3.smb2-pipe-read-close"
Stefan Metzmacher [Wed, 2 May 2012 13:59:17 +0000 (15:59 +0200)]
Revert "run rpc.samba3.smb2-pipe-read-close"

This reverts commit cfc17e5806a4714a24129645bd5a99c3c463404b.

12 years agorun rpc.samba3.smb2-pipe-read-close
Stefan Metzmacher [Wed, 2 May 2012 13:59:04 +0000 (15:59 +0200)]
run rpc.samba3.smb2-pipe-read-close

12 years agoRevert "UNUSED gensec: add gensec_*requested_life_time()"
Stefan Metzmacher [Mon, 23 Apr 2012 11:59:15 +0000 (13:59 +0200)]
Revert "UNUSED gensec: add gensec_*requested_life_time()"

This reverts commit ca54fdae23ccebad701f4d56bd9b8fe27cc5a5a1.

12 years agoUNUSED gensec: add gensec_*requested_life_time()
Stefan Metzmacher [Mon, 23 Apr 2012 07:10:18 +0000 (09:10 +0200)]
UNUSED gensec: add gensec_*requested_life_time()

metze

12 years agoRevert "TODO s3:gse: gensec_gssapi", "requested_life_time"
Stefan Metzmacher [Mon, 23 Apr 2012 11:58:55 +0000 (13:58 +0200)]
Revert "TODO s3:gse: gensec_gssapi", "requested_life_time"

This reverts commit c276841b8271a7e60b30b319394a6dc911132d55.

12 years agoTODO s3:gse: gensec_gssapi", "requested_life_time
Stefan Metzmacher [Fri, 20 Apr 2012 11:50:55 +0000 (13:50 +0200)]
TODO s3:gse: gensec_gssapi", "requested_life_time

12 years agostart source3/smbd/tevent_impersonate.c
Stefan Metzmacher [Fri, 11 May 2012 13:51:42 +0000 (15:51 +0200)]
start source3/smbd/tevent_impersonate.c

12 years agoTODO tevent 0.9.16: expose tevent_context_init_ops
Stefan Metzmacher [Fri, 11 May 2012 13:19:55 +0000 (15:19 +0200)]
TODO tevent 0.9.16: expose tevent_context_init_ops

12 years agoRevert "s3: Fix bug 8371"
Stefan Metzmacher [Sat, 26 May 2012 09:04:16 +0000 (11:04 +0200)]
Revert "s3: Fix bug 8371"

This reverts commit 2642f385887fbd3aecd4286a4d6223a21d981714.

This is not needed anymore, as 035342c11719d1daa647c0b2ae7cec27a969f83a
"Fix bug #8373 - Can't join XP Pro workstations to 3.6.1 DC." is
the more generic fix for the problem.

metze

12 years agoTODO FSCTL_QUERY_NETWORK_INTERFACE_INFO:
Stefan Metzmacher [Tue, 29 May 2012 08:14:06 +0000 (10:14 +0200)]
TODO FSCTL_QUERY_NETWORK_INTERFACE_INFO:

12 years agowaf: check for krb5_create_checksum and krb5_creds.flags for some Heimdal versions
Alexander Bokovoy [Thu, 31 May 2012 09:44:50 +0000 (12:44 +0300)]
waf: check for krb5_create_checksum and krb5_creds.flags for some Heimdal versions

Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Fri Jun  1 11:23:21 CEST 2012 on sn-devel-104

12 years agowaf-mitkrb5: enable dcerpc_server library to support OpenChange client code
Alexander Bokovoy [Thu, 31 May 2012 07:32:01 +0000 (10:32 +0300)]
waf-mitkrb5: enable dcerpc_server library to support OpenChange client code

Signed-off-by: Andreas Schneider <asn@samba.org>
12 years ago.gitignore: remove already-gone gen-8bit-gap.sh
Andrew Bartlett [Fri, 1 Jun 2012 00:38:55 +0000 (10:38 +1000)]
.gitignore: remove already-gone gen-8bit-gap.sh

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jun  1 04:53:53 CEST 2012 on sn-devel-104

12 years agobuild: Add automatic compare of config.h files to recursive waf build
Andrew Bartlett [Thu, 31 May 2012 23:48:20 +0000 (09:48 +1000)]
build: Add automatic compare of config.h files to recursive waf build

This uses the fact that we have both build systems running at the same time.

The krb5 checks are skipped because we typically are comparing internal Heimdal
with the system krb5, so they do not make sense.

The required checks for krb5 are pretty well understood in any case, as
we have a limited set of supported libraries.

Andrew Bartlett

12 years agoRemove an unused variable.
Jeremy Allison [Thu, 31 May 2012 23:06:17 +0000 (16:06 -0700)]
Remove an unused variable.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jun  1 03:03:12 CEST 2012 on sn-devel-104

12 years agoForward port of Richard Sharpe's <realrichardsharpe@gmail.com> fix for bug #8970...
Jeremy Allison [Thu, 31 May 2012 22:06:58 +0000 (15:06 -0700)]
Forward port of Richard Sharpe's <realrichardsharpe@gmail.com> fix for bug #8970 - Possible memory leaks in the samba master process.

12 years agoWe are triggering the cleanup_timeout_fn() too often, on exiting when an smbd is...
Jeremy Allison [Thu, 31 May 2012 19:35:04 +0000 (12:35 -0700)]
We are triggering the cleanup_timeout_fn() too often, on exiting when an smbd is idle.

Calls to exit_server_cleanly() should be treated as a "clean" shutdown,
and not trigger the master smbd to call cleanup_timeout_fn.

12 years agos3:smbd: use server_messaging_context() instead of sconn->msg_ctx in exit_server_common()
Stefan Metzmacher [Thu, 31 May 2012 13:28:11 +0000 (15:28 +0200)]
s3:smbd: use server_messaging_context() instead of sconn->msg_ctx in exit_server_common()

sconn is not available in the parent anymore.

Thanks to Volker Lendecke <vl@samba.org> for finding this!

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu May 31 18:08:06 CEST 2012 on sn-devel-104

12 years agos3:vfs_hpuxacl: remove unused file_find_fd() calls
Stefan Metzmacher [Thu, 31 May 2012 07:28:31 +0000 (09:28 +0200)]
s3:vfs_hpuxacl: remove unused file_find_fd() calls

metze

12 years agowintest: use (renamed) smbclient4 tool as smbclient
Michael Adam [Wed, 30 May 2012 13:24:18 +0000 (15:24 +0200)]
wintest: use (renamed) smbclient4 tool as smbclient

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu May 31 13:23:34 CEST 2012 on sn-devel-104

12 years agowintest: introduce a variable to contain the (relative) path of smbclient
Michael Adam [Wed, 30 May 2012 13:22:52 +0000 (15:22 +0200)]
wintest: introduce a variable to contain the (relative) path of smbclient

12 years agos3: Fix some 64-bit warnings
Volker Lendecke [Wed, 30 May 2012 07:08:49 +0000 (09:08 +0200)]
s3: Fix some 64-bit warnings

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu May 31 10:06:56 CEST 2012 on sn-devel-104

12 years agobuild: rename build targets smbclient -> smbclient4 and smbclient3 -> smbclient
Michael Adam [Wed, 30 May 2012 11:10:57 +0000 (13:10 +0200)]
build: rename build targets smbclient -> smbclient4 and smbclient3 -> smbclient

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu May 31 06:36:55 CEST 2012 on sn-devel-104

12 years agos4:selftest: change the blackbox.samba_tool_demote test to use a binary mapping for...
Michael Adam [Wed, 30 May 2012 10:21:42 +0000 (12:21 +0200)]
s4:selftest: change the blackbox.samba_tool_demote test to use a binary mapping for smbclient

12 years agos4:selftest: change the blackbox.passwords test to use a binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 10:18:35 +0000 (12:18 +0200)]
s4:selftest: change the blackbox.passwords test to use a binary mapping for smbclient

12 years agos4:selftest: change the blackbox.pkinit test to use a binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 10:16:49 +0000 (12:16 +0200)]
s4:selftest: change the blackbox.pkinit test to use a binary mapping for smbclient

12 years agos4:selftest: change the blackbox.kinit test to use a binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 10:15:10 +0000 (12:15 +0200)]
s4:selftest: change the blackbox.kinit test to use a binary mapping for smbclient

12 years agos4:selftest: change the blackbox.export.keytab test to use a binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 10:09:25 +0000 (12:09 +0200)]
s4:selftest: change the blackbox.export.keytab test to use a binary mapping for smbclient

12 years agos4:selftest: change the blackbox.chgdcpass test to use a binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 10:07:18 +0000 (12:07 +0200)]
s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for smbclient

12 years agos4:selftest: change the blackbox.samba_tool test to use a binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 10:04:30 +0000 (12:04 +0200)]
s4:selftest: change the blackbox.samba_tool test to use a binary mapping for smbclient

12 years agos4:selftets: change the blackbox.bogusdomain test to use binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 09:57:16 +0000 (11:57 +0200)]
s4:selftets: change the blackbox.bogusdomain test to use binary mapping for smbclient

12 years agos4:selftest: change the blackbox.smbclient test to use binary mapping for smbclient
Michael Adam [Wed, 30 May 2012 09:48:02 +0000 (11:48 +0200)]
s4:selftest: change the blackbox.smbclient test to use binary mapping for smbclient

12 years agos3:selftest: add a binary mapping for smbclient4
Michael Adam [Thu, 24 May 2012 23:40:58 +0000 (01:40 +0200)]
s3:selftest: add a binary mapping for smbclient4

12 years agoselftest: add a binary mapping for smbclient4
Michael Adam [Thu, 24 May 2012 23:40:32 +0000 (01:40 +0200)]
selftest: add a binary mapping for smbclient4

12 years agobuild: rename build targets nmblookup -> nmblookup4 and nmblookup3 -> nmblookup
Michael Adam [Wed, 30 May 2012 11:09:57 +0000 (13:09 +0200)]
build: rename build targets nmblookup -> nmblookup4 and nmblookup3 -> nmblookup

12 years agobuild: add a build suffix ("4") for s4-binaries
Michael Adam [Wed, 30 May 2012 11:01:18 +0000 (13:01 +0200)]
build: add a build suffix ("4") for s4-binaries

12 years agos4:selftest: determine nmblookup via binary mapping for blackbox test in tests.py
Michael Adam [Tue, 29 May 2012 14:35:18 +0000 (16:35 +0200)]
s4:selftest: determine nmblookup via binary mapping for blackbox test in tests.py

12 years agoselftest:Samba4: use the nmblookup4 binary mapping
Michael Adam [Thu, 24 May 2012 23:44:17 +0000 (01:44 +0200)]
selftest:Samba4: use the nmblookup4 binary mapping

12 years agos3:selftest: add a binary mapping for nmblookup4
Michael Adam [Thu, 24 May 2012 23:42:37 +0000 (01:42 +0200)]
s3:selftest: add a binary mapping for nmblookup4

12 years agoselftest: add a binary mapping for nmblookup4
Michael Adam [Thu, 24 May 2012 23:42:20 +0000 (01:42 +0200)]
selftest: add a binary mapping for nmblookup4

12 years agos3:selftest: improve strange linebreaks for blackbox tests in tests.py for readability
Michael Adam [Tue, 29 May 2012 11:59:14 +0000 (13:59 +0200)]
s3:selftest: improve strange linebreaks for blackbox tests in tests.py for readability

12 years agos3:selftest: introduce a variable for binpath('dbwrap_tool') in tests.py
Michael Adam [Tue, 29 May 2012 11:51:05 +0000 (13:51 +0200)]
s3:selftest: introduce a variable for binpath('dbwrap_tool') in tests.py

12 years agos3:selftest: introduce a variable for binpath('ntlm_auth3') in tests.py
Michael Adam [Tue, 29 May 2012 11:47:32 +0000 (13:47 +0200)]
s3:selftest: introduce a variable for binpath('ntlm_auth3') in tests.py

12 years agos3:selftest: introduce a variable for binpath('smbtorture3') in tests.py
Michael Adam [Tue, 29 May 2012 11:45:49 +0000 (13:45 +0200)]
s3:selftest: introduce a variable for binpath('smbtorture3') in tests.py

12 years agos3:selftest: introduce a variable for binpath('net') in tests.py
Michael Adam [Tue, 29 May 2012 11:44:03 +0000 (13:44 +0200)]
s3:selftest: introduce a variable for binpath('net') in tests.py

12 years agos3:selftest: introduce a variable for binpath('wbinfo') in tests.py
Michael Adam [Tue, 29 May 2012 10:18:19 +0000 (12:18 +0200)]
s3:selftest: introduce a variable for binpath('wbinfo') in tests.py

to remove explicit calls to binpath('wbinfo')

12 years agos3:selftest: introduce a variable for binpath('smbclient3') to test.py
Michael Adam [Tue, 29 May 2012 10:16:12 +0000 (12:16 +0200)]
s3:selftest: introduce a variable for binpath('smbclient3') to test.py

to remove manual calls to binpath("smbclient3")

12 years agos3:selftest: introduce a variable for binpath('nmblookup3') in tests.py
Michael Adam [Tue, 29 May 2012 10:10:16 +0000 (12:10 +0200)]
s3:selftest: introduce a variable for binpath('nmblookup3') in tests.py

12 years agos3:build: fix some spacing in wscript_build
Michael Adam [Fri, 18 May 2012 13:02:31 +0000 (15:02 +0200)]
s3:build: fix some spacing in wscript_build

12 years agoStop spamming the logs with "Could not remove pid XX from serverid.tdb" messages...
Jeremy Allison [Thu, 31 May 2012 00:12:10 +0000 (17:12 -0700)]
Stop spamming the logs with "Could not remove pid XX from serverid.tdb" messages and initiating the cleanup function on every process death.

We now have many sub-processes from smbd that don't serve SMB1/SMB2 requests and
don't register themselves in the serverid.tdb. Only initiate the cleanup
from processes that were explicitly in the child list.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu May 31 04:44:09 CEST 2012 on sn-devel-104

12 years agolib/dbwrap: make it possible to delete/store the current record during traverse
Stefan Metzmacher [Wed, 30 May 2012 13:06:12 +0000 (15:06 +0200)]
lib/dbwrap: make it possible to delete/store the current record during traverse

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu May 31 02:50:09 CEST 2012 on sn-devel-104

12 years agolib/dbwrap: don't alter the record on failure in db_rbt_store()
Stefan Metzmacher [Wed, 30 May 2012 14:50:06 +0000 (16:50 +0200)]
lib/dbwrap: don't alter the record on failure in db_rbt_store()

metze

12 years agolib/dbwrap: fix db_rbt_store and update the per record node pointer
Stefan Metzmacher [Wed, 30 May 2012 14:48:39 +0000 (16:48 +0200)]
lib/dbwrap: fix db_rbt_store and update the per record node pointer

metze

12 years agolib/dbwrap: remove unused per db_record pointer in dbwrap_rbt
Stefan Metzmacher [Wed, 30 May 2012 14:05:03 +0000 (16:05 +0200)]
lib/dbwrap: remove unused per db_record pointer in dbwrap_rbt

metze

12 years agoFix bad bugfix for bug #8910 - resolve_ads() code can return zero addresses and miss...
Ira Cooper [Wed, 30 May 2012 18:50:06 +0000 (11:50 -0700)]
Fix bad bugfix for bug #8910 - resolve_ads() code can return zero addresses and miss valid DC IP addresses

Original code incorrectly used a while() instead of a for() loop.
We need to iterate over the entire array here.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed May 30 23:29:03 CEST 2012 on sn-devel-104

12 years agoFix metze's complaint about the bugfix for bug #8953 - winbind can hang as nbt_getdc...
Jeremy Allison [Tue, 29 May 2012 22:25:39 +0000 (15:25 -0700)]
Fix metze's complaint about the bugfix for bug #8953 - winbind can hang as nbt_getdc() has no timeout.

This code explicitly isn't needed as the tevent code will take
care of this.

12 years agos3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for port 139
Stefan Metzmacher [Wed, 30 May 2012 11:20:19 +0000 (13:20 +0200)]
s3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for port 139

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed May 30 20:51:51 CEST 2012 on sn-devel-104

12 years agoselftest: bug #8373 is fixed and we should always test this now.
Günther Deschner [Wed, 30 May 2012 12:54:27 +0000 (14:54 +0200)]
selftest: bug #8373 is fixed and we should always test this now.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed May 30 18:56:38 CEST 2012 on sn-devel-104

12 years agodsdb: Fix error checking conditions in partition_metadata module
Amitay Isaacs [Wed, 30 May 2012 11:07:38 +0000 (21:07 +1000)]
dsdb: Fix error checking conditions in partition_metadata module

Thanks to Matthieu Patou <mat@matws.net> for pointing it out.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed May 30 17:00:01 CEST 2012 on sn-devel-104

12 years agolibrpc: Fix an incompatible pointer type warning
Volker Lendecke [Wed, 30 May 2012 11:01:33 +0000 (21:01 +1000)]
librpc: Fix an incompatible pointer type warning

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
12 years agos4-provision: Use the s3fs file server by default in migrations
Andrew Bartlett [Wed, 30 May 2012 06:40:03 +0000 (16:40 +1000)]
s4-provision: Use the s3fs file server by default in migrations

This covers both migrations from s3 and joining a domain as a new DC.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed May 30 14:57:22 CEST 2012 on sn-devel-104

12 years agos3-build: Fix configure checks for Heimdal
Andrew Bartlett [Wed, 30 May 2012 07:44:42 +0000 (17:44 +1000)]
s3-build: Fix configure checks for Heimdal

A series of small errors meant that all Heimdal versions became
unsupported, when for the autoconf build, some versions have what we
need.

Andrew Bartlett

12 years agobuild: Make gss_wrap_iov mandatory for krb5 build
Andrew Bartlett [Wed, 30 May 2012 09:21:12 +0000 (19:21 +1000)]
build: Make gss_wrap_iov mandatory for krb5 build

This isn't in Heimdal 1.1, so we still fail on that version, but at
least we fail for the right reasons.

Andrew Bartlett