Stefan Metzmacher
763fe4216b
s3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctx
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 16:08:59 CET 2011 on sn-devel-104
2011-12-12 16:08:59 +01:00
Stefan Metzmacher
7081d7e78f
s3:smb2_lock: avoid using server_event_context()
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
e7a100200b
s3:smbd/pipes: avoid passing server_event_context() as event context to np_{read,write}_send
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
bf8cce18c6
s3:smbd/process: avoid using server_event_context() for the forked echo handler
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
16cfc7243b
s3:smbd/process: avoid using server_event_context() for smbd_deferred_open_timer events
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
68a7be6ab4
s3:smbd/oplock: avoid using server_event_context() in add_oplock_timeout_handler()
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
6811b47c99
s3:smbd/service: avoid using server_event_context() for notify_init()
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
c7286f159a
s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
1df1e0fb56
s3:smbd/fileio: avoid usage of server_event_context()
...
metze
2011-12-12 14:35:43 +01:00
Stefan Metzmacher
61d8674727
s3:smbd/close: avoid usage of server_event_context()
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
1909cb0724
s3:smbd/blocking: avoid usage of server_event_context()
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
1ce9c0ea32
s3:smbd: remember the event context on smbd_server_connection
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
0b8eeb1edc
s3:smbd: pass down smbd_server_connection via smbd_echo_state
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
bf35606bbf
s3:smbd: remove references to the global smbd_server_conn
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
6d84b24d76
s3:smbd: make struct pending_message_list private
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
8b2b7d1c87
s3:smbd: remember the smbd_server_connection on pending_message_list
...
metze
2011-12-12 14:35:42 +01:00
Andrew Bartlett
8581f0b429
HEIMDAL: Supply krb5_context to _krb5_internal_hmac to allow logging
...
Without this, log messages from any abort are not printed to
the samba logs.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Dec 12 14:34:16 CET 2011 on sn-devel-104
2011-12-12 14:34:16 +01:00
Andrew Bartlett
47a4388b91
s4-torture Do not use a fixed password for forest trust tests
...
It is much better to always use random passwords.
Andrew Bartlett
2011-12-12 12:57:08 +01:00
Andrew Bartlett
29635c93d7
s4-torture cope with servers earlier than Windows 2008
...
Only Win2008 started to support new encryption types.
Andrew Bartlett
2011-12-12 12:57:08 +01:00
Andrew Bartlett
8d3e86d6ae
s4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2
...
This modification is required to pass against a domain in functional
level Windows 2003 or later.
Andrew Bartlett
2011-12-12 12:57:08 +01:00
Andrew Bartlett
5ae24e1cc0
s4-torture: Fix comment
2011-12-12 12:57:08 +01:00
Andrew Bartlett
62a66b00b6
testsuite: Remove unused and unlikely to be revived DejaGNU tests
2011-12-12 12:57:08 +01:00
Andrew Bartlett
c9d929af8b
s4-lsarpc handle more info levels in SetInfoTrustedDomain calls
...
This uses the very helpful conversion functions written for the s3 lsa server
and places these in common.
Andrew Bartlett
2011-12-12 12:57:07 +01:00
Andrew Bartlett
c79db40040
torture: do not reuse bindings between pipes
...
This avoids connecting to the netlogon server over \pipe\lsarpc
This works against windows because all pipes are implemented in the same
process, but not Samba4, and relying on this is not recommended in the WSPP docs.
Andrew Bartlett
2011-12-12 12:57:07 +01:00
Andrew Bartlett
e42e1ac089
s4-lsarpc Fix segfaults found by the samba4.rpc.lsa.forest test
...
This allows us to move this test to knownfail from skip
2011-12-12 12:57:07 +01:00
Stefan Metzmacher
3d7521c8ab
s3:smbd: call sub_set_socket_ids() in smbd_process() again
...
This got lost in commit b2511a280a
.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 10:23:44 CET 2011 on sn-devel-104
2011-12-12 10:23:43 +01:00
Rusty Russell
08019a0973
tdb2: don't use TDB2 versions of test tdb files.
...
Now tdb2 handles tdb1 files, we don't need most of commit
5eecc85423
which added TDB2 versions of
all the testing tdbs.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Dec 12 06:33:44 CET 2011 on sn-devel-104
2011-12-12 06:33:44 +01:00
Richard Sharpe
422494a8e6
vfs: Make function pointer names consistent. They all end in _fn
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-12-12 04:58:40 +01:00
Björn Jacke
f452add223
s3/doc: document the ignore system acls option of vfs_acl_xattr and vfs_acl_tdb
...
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Sat Dec 10 15:30:46 CET 2011 on sn-devel-104
2011-12-10 15:30:46 +01:00
Volker Lendecke
092f1b9744
tevent: tevent_schedule_immediate never fails
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 9 16:47:23 CET 2011 on sn-devel-104
2011-12-09 16:47:23 +01:00
Stefan Metzmacher
4e57bb0b36
s4:libcli/smb2: mark a request as error if we can't ship it
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 9 15:13:11 CET 2011 on sn-devel-104
2011-12-09 15:13:11 +01:00
Stefan Metzmacher
4486336bd8
s4:libcli/raw: mark a request as error if we can't ship it
...
metze
2011-12-09 13:38:37 +01:00
Volker Lendecke
ad5d315322
s3-dbwrap: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 9 13:37:51 CET 2011 on sn-devel-104
2011-12-09 13:37:51 +01:00
Matthias Dieter Wallnöfer
1b741b2bcc
s4:dsdb/common/util.c - test LDB result against LDB_SUCCESS as we are always doing
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 9 12:00:03 CET 2011 on sn-devel-104
2011-12-09 12:00:03 +01:00
Kai Blin
c01efc1207
s4 dns: Update requests with QCLASS != IN or ALL trigger NOTIMPLEMENTED errors
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Fri Dec 9 03:32:28 CET 2011 on sn-devel-104
2011-12-09 03:32:28 +01:00
Kai Blin
358a81eff5
s4 dns: Add test to prove two updates in one packet are a FORMERR
2011-12-09 01:59:28 +01:00
Kai Blin
509acc71dd
s4 dns: More explicitly use the first question of an update packet only
2011-12-09 01:59:28 +01:00
Kai Blin
3fbb76c119
s4 dns: Get rid of const qualifier for prereqs, we do need to allocate those
2011-12-09 01:59:28 +01:00
Jelmer Vernooij
85f8d97f51
Revert "Install (platform-independent) python scripts to the PYTHONDIR rather than PYTHONARCHDIR."
...
This reverts commit de4b8943bf
.
PYTHONDIR and PYTHONARCHDIR are both incorrect - they're the
distribution's python locations, rather than the python locations for
third party applications. For the moment, using PYTHONARCHDIR seems
better though, because it works around an issue on Fedora/RedHat.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 9 01:58:50 CET 2011 on sn-devel-104
2011-12-09 01:58:50 +01:00
Jelmer Vernooij
0e9b092531
Add 'make pep8' target.
2011-12-09 00:25:13 +01:00
Jelmer Vernooij
31eba612f4
Add test for PEP8 - currently all errors are ignored, but we warn about them - and can ratchet if we want to.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec 8 23:44:10 CET 2011 on sn-devel-104
2011-12-08 23:44:10 +01:00
Jelmer Vernooij
eae3e6230f
Add pep8.
2011-12-08 22:12:00 +01:00
Jelmer Vernooij
624a78d9f8
testtools: Update to new upstream revision.
2011-12-08 22:12:00 +01:00
Jelmer Vernooij
03e5f581ae
pyldb: Add more docstrings.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec 8 22:08:49 CET 2011 on sn-devel-104
2011-12-08 22:08:49 +01:00
Jelmer Vernooij
e76c981c80
samba.drs_utils: Use new style classes and exceptions, fix formatting of docstrings to make pydoctor happy.
2011-12-08 20:36:07 +01:00
Jelmer Vernooij
452d1ef8ef
samba.kcc_utils: Fix formatting to match PEP8, make pydoctor happy.
2011-12-08 20:36:07 +01:00
Volker Lendecke
664eb70e74
s3-dbwrap: & is not required when taking a function pointer
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Dec 8 16:39:29 CET 2011 on sn-devel-104
2011-12-08 16:39:28 +01:00
Volker Lendecke
4856033410
s3-dbwrap: Make dbwrap_fallback_wipe private
2011-12-08 15:03:43 +01:00
Volker Lendecke
d9e5368fcc
s3-dbwrap: Avoid an "else" by an early return
2011-12-08 15:03:43 +01:00
Volker Lendecke
5cda77d599
s3-dbwrap: Make dbwrap_fallback_parse_record private
...
We have the private fallback in dbwrap_parse_record anyway
2011-12-08 15:03:43 +01:00