summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-26s3-pdb_samba4: Allocate and free a talloc_stackframe() in ↵Andrew Bartlett1-3/+10
pdb_samba4_replace_by_sam()
2012-06-26s3: Restore async i/o with the "native" AIO interfaceVolker Lendecke2-4/+1
eff3609 moved the async signal handler initialization to later in the process to enable aio_fork and aio_pthread on platforms without realtime signals. This commit broke the use of the native aio interface. aio_pending_size is initialized to 0, so aio.c will not allow async i/0 at all if modules do not set that variable correctly. Initialize to 100 right from the start. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 26 14:08:22 CEST 2012 on sn-devel-104
2012-06-26s3:smbXsrv_tcon: pass max_tcons explicitly for smbXsrv_tcon_table_init()Stefan Metzmacher1-9/+24
metze
2012-06-26s3:smbXsrv_session: pass max_sessions explicitly for ↵Stefan Metzmacher1-9/+24
smbXsrv_session_table_init() metze
2012-06-26tdb: finish weaning off err.h.Rusty Russell7-23/+28
Commit 3c4263e7580143c69225729f5b67f09c00add2fd said it removed err.h from tdb, unfortuntely it didn't: tap-interface.h still included it. This finishes it properly! Reported-by:Stefan Metzmacher <metze@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Tue Jun 26 10:22:03 CEST 2012 on sn-devel-104
2012-06-26s3:test_net_registry_check: eliminate "local" keyword in shellBjörn Jacke1-15/+15
prefer to use function syntax with (...) to make variables local Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Jun 26 00:32:11 CEST 2012 on sn-devel-104
2012-06-25s3:Makefile: use our "$MAKE" instead of "make" in our own MakefileBjörn Jacke1-2/+2
2012-06-25s3:selftest: run SMB2-SESSION-RECONNECTStefan Metzmacher2-1/+2
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 25 22:42:03 CEST 2012 on sn-devel-104
2012-06-25selftest/known: samba3.smb2.session.*reconnect passes nowStefan Metzmacher1-1/+0
metze
2012-06-25s3:smb2_sesssetup: make use of smb2srv_session_close_previous_send/recvStefan Metzmacher1-0/+66
metze
2012-06-25s3:smbXsrv_session: react on MSG_SMBXSRV_SESSION_CLOSEStefan Metzmacher1-0/+154
metze
2012-06-25s3:smbXsrv_session: add smb2srv_session_close_previous_send/recvStefan Metzmacher2-0/+208
metze
2012-06-25s3:smbXsrv.idl: add smbXsrv_session_close*Stefan Metzmacher1-0/+26
metze
2012-06-25s3:messaging.idl: define MSG_SMBXSRV_SESSION_CLOSEStefan Metzmacher1-0/+3
metze
2012-06-25s3:smb2_sesssetup: inline gensec_session_info() callStefan Metzmacher1-25/+15
metze
2012-06-25s3:smb2_sesssetup: make use of gensec_update_send/recvStefan Metzmacher1-10/+35
metze
2012-06-25s3:smb2_sesssetup: inline most of smbd_smb2_session_setup()Stefan Metzmacher1-130/+99
metze
2012-06-25s3:selftest: run raw.sessionStefan Metzmacher2-2/+3
Note: raw.session.reauth2 still fails: failure: samba3.raw.session.reauth2(s3dc) [ _StringException: _StringException: ../source4/torture/raw/session.c:186: status was NT_STATUS_ACCESS_DENIED, expected NT_STATUS_OK: 2nd open failed But it's not critical as real clients won't reauth as anonymous. metze
2012-06-25s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2Stefan Metzmacher1-0/+1
metze
2012-06-25s3:smbd/sesssetup: implement dynamic re-authentication and expire session if ↵Stefan Metzmacher2-12/+113
client supports it metze
2012-06-25s3:selftest: run smbtorture3 SMB2-SESSION-REAUTHStefan Metzmacher2-0/+2
metze
2012-06-25s3:selftest: run smb2.session as ntlm and krb5Stefan Metzmacher2-2/+6
This activates the smb2.session.expire1 test, when krb5 is used. metze
2012-06-25selftest/knownfail: only reauth5 still failsStefan Metzmacher1-1/+1
metze
2012-06-25s3:smb2_sesssetup: implement dynamic re-authentication and expire sessionsStefan Metzmacher2-6/+129
metze
2012-06-25docs-xml: document "server max protocol" SMB3 and SMB3_00Stefan Metzmacher1-1/+10
metze
2012-06-25docs-xml: fix reference from "server min protocol" to "server max protocol"Stefan Metzmacher1-1/+1
metze
2012-06-25selftest/Samba3: 'server max protocol = SMB3'Stefan Metzmacher1-1/+1
metze
2012-06-25lib/param: add "SMB3" as alias for PROTOCOL_SMB3_00Stefan Metzmacher1-0/+1
metze
2012-06-25s3:smbd: remove now unused invalidate_all_vuids()Stefan Metzmacher2-10/+0
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-06-25s3:smbd: remove now unused conn_close_all()Michael Adam2-16/+0
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-25s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() ↵Michael Adam1-4/+32
in exit_server_common() This removes the use of conn_close_all() and invalidate_all_vuids() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-25s3:smbd: make use of smbXsrv_session for smb1Stefan Metzmacher6-274/+194
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-06-25s3:smbd: make use of smbXsrv_tcon for smb1Stefan Metzmacher10-170/+183
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-06-25s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2Stefan Metzmacher20-275/+180
The removes the protocol specific smbd_smb2_session and smbd_smb2_tcon. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-06-25s3:smb2_sesssetup: add support for SMB 2.24/3.00 signingStefan Metzmacher1-0/+29
metze
2012-06-25s3:smb2_sesssetup: make use of the smbXsrv_session infrastructureStefan Metzmacher4-63/+138
We still have smbd_smb2_session as primary structure, but that will went away once we got rid of smbd_smb2_tcon. metze
2012-06-25s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3Stefan Metzmacher1-0/+20
metze
2012-06-25s3:smbd: add smbXsrv_tcon infrastructureStefan Metzmacher5-1/+1180
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-06-25s3:smbXsrv.idl: add smbXsrv_tcon* structuresStefan Metzmacher1-0/+63
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
2012-06-25sq smbXsrv_session_global_store no connectionStefan Metzmacher1-6/+3
2012-06-25s3:smbd: add smbXsrv_session infrastructureStefan Metzmacher5-0/+1164
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2012-06-25s3:smbXsrv.idl: add smbXsrv_session* structuresStefan Metzmacher1-0/+92
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
2012-06-25s3:smbd: add smbXsrv_version_* infrastructureStefan Metzmacher5-0/+272
metze
2012-06-25s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structuresStefan Metzmacher1-1/+65
metze
2012-06-25s3:librpc: add smbXsrv.idlStefan Metzmacher6-2/+23
metze
2012-06-25s3:test: make shell code more porable by elimnating "local" keywordBjörn Jacke1-4/+4
don't use "local". That is BASH only. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Jun 25 19:02:13 CEST 2012 on sn-devel-104
2012-06-25s3: Fix a typoVolker Lendecke3-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 25 17:13:59 CEST 2012 on sn-devel-104
2012-06-25s3: Avoid a call to server_event_context()Volker Lendecke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-24s4-join: Setup correct DNS configurationAndrew Bartlett2-28/+76
This means we do not need to run samba_upgradedns any more. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Jun 24 18:10:10 CEST 2012 on sn-devel-104
2012-06-25s4-samba_upgradedns: Do not set DNS account for internal serverAndrew Bartlett1-32/+32
The internal DNS server does not need the samba-only NAME-dns account. Andrew Bartlett