Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-25 | s3:smbXsrv_session: add smb2srv_session_close_previous_send/recv | Stefan Metzmacher | 2 | -0/+208 | |
metze | |||||
2012-06-25 | s3:smbXsrv.idl: add smbXsrv_session_close* | Stefan Metzmacher | 1 | -0/+26 | |
metze | |||||
2012-06-25 | s3:messaging.idl: define MSG_SMBXSRV_SESSION_CLOSE | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: inline gensec_session_info() call | Stefan Metzmacher | 1 | -25/+15 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: make use of gensec_update_send/recv | Stefan Metzmacher | 1 | -10/+35 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: inline most of smbd_smb2_session_setup() | Stefan Metzmacher | 1 | -130/+99 | |
metze | |||||
2012-06-25 | s3:selftest: run raw.session | Stefan Metzmacher | 1 | -2/+2 | |
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-25 | s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2 | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-06-25 | s3:smbd/sesssetup: implement dynamic re-authentication and expire session if ↵ | Stefan Metzmacher | 2 | -12/+113 | |
client supports it metze | |||||
2012-06-25 | s3:selftest: run smbtorture3 SMB2-SESSION-REAUTH | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-06-25 | s3:selftest: run smb2.session as ntlm and krb5 | Stefan Metzmacher | 1 | -0/+4 | |
This activates the smb2.session.expire1 test, when krb5 is used. metze | |||||
2012-06-25 | s3:smb2_sesssetup: implement dynamic re-authentication and expire sessions | Stefan Metzmacher | 2 | -6/+129 | |
metze | |||||
2012-06-25 | s3:smbd: remove now unused invalidate_all_vuids() | Stefan Metzmacher | 2 | -10/+0 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: remove now unused conn_close_all() | Michael Adam | 2 | -16/+0 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-25 | s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() ↵ | Michael Adam | 1 | -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-25 | s3:smbd: make use of smbXsrv_session for smb1 | Stefan Metzmacher | 6 | -274/+194 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_tcon for smb1 | Stefan Metzmacher | 10 | -170/+183 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 | Stefan Metzmacher | 20 | -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-25 | s3:smb2_sesssetup: add support for SMB 2.24/3.00 signing | Stefan Metzmacher | 1 | -0/+29 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: make use of the smbXsrv_session infrastructure | Stefan Metzmacher | 4 | -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-25 | s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3 | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2012-06-25 | s3:smbd: add smbXsrv_tcon infrastructure | Stefan Metzmacher | 5 | -1/+1180 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbXsrv.idl: add smbXsrv_tcon* structures | Stefan Metzmacher | 1 | -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-25 | sq smbXsrv_session_global_store no connection | Stefan Metzmacher | 1 | -6/+3 | |
2012-06-25 | s3:smbd: add smbXsrv_session infrastructure | Stefan Metzmacher | 5 | -0/+1164 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbXsrv.idl: add smbXsrv_session* structures | Stefan Metzmacher | 1 | -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-25 | s3:smbd: add smbXsrv_version_* infrastructure | Stefan Metzmacher | 5 | -0/+272 | |
metze | |||||
2012-06-25 | s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structures | Stefan Metzmacher | 1 | -1/+65 | |
metze | |||||
2012-06-25 | s3:librpc: add smbXsrv.idl | Stefan Metzmacher | 5 | -1/+22 | |
metze | |||||
2012-06-25 | s3:test: make shell code more porable by elimnating "local" keyword | Björn Jacke | 1 | -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-25 | s3: Fix a typo | Volker Lendecke | 3 | -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-25 | s3: Avoid a call to server_event_context() | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-24 | selftest: Test unix.whoami with kerberos on plugin_s4_dc | Andrew Bartlett | 1 | -2/+5 | |
This also tests the comparison with LDAP on anonymous connections and marks this as knownfail, while we investigate the correct behaviour here. Andrew Bartlett | |||||
2012-06-22 | s3-vfs_gpfs: Fix bug #9003, posix acl on gpfs | Volker Lendecke | 1 | -2/+2 | |
gpfs2smb_acl can leave errno!=0 around even if it returned a correct result!=NULL. We can only rely on errno being set if another error condition (in this case result==NULL) indicates an error. If result!=NULL, errno is undefined and can be anything. This leads to SAFE_FREE(result) further down even in the success case. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 22 19:27:39 CEST 2012 on sn-devel-104 | |||||
2012-06-22 | s3: Give machine password changes 10 minutes of time | Volker Lendecke | 1 | -0/+13 | |
This is what we do at domain join time as well, see lib/netapi/joindomain.c:141 Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-22 | s3:torture:smb2: pass smb2-session-reconnect test (add generosity in error case) | Michael Adam | 1 | -7/+21 | |
samba checks tree before file, so we get a STATUS_NETWORK_NAME_DELETED instead STATUS_FILE_CLOSED when operating on a file handle on a invalid tree id. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-22 | s3: Remove reduce_windows_lock_ref_count, used only once | Volker Lendecke | 1 | -8/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-22 | s3: Make reduce_windows_lock_ref_count static | Volker Lendecke | 2 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-22 | s3: Use dbwrap_util for windows_lock_ref_count | Volker Lendecke | 1 | -94/+21 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-22 | s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2012-06-22 | s3:serverid: don't ignore the result of dbwrap_parse_record() | Stefan Metzmacher | 1 | -1/+6 | |
metze | |||||
2012-06-22 | dbwrap: dbwrap_local_open() | Rusty Russell | 2 | -3/+4 | |
This simply opens a tdb: it will eventually switch depending on the extension. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-06-22 | dbwrap: remove get_flags(). | Rusty Russell | 2 | -25/+2 | |
The flags returned were TDB-specific: this was only used for detecting the endianness of obsolete databases (the conversion code was put in in 2003, with reference to Samba 2.3). It's easier to remove it than to translate the NTDB flags to TDB flags, and it's a really weird thing to ask for anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-06-22 | util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.c | Rusty Russell | 3 | -89/+24 | |
We're about to use them for dbwrap. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-06-21 | Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process). | Jeremy Allison | 2 | -5/+13 | |
Based on a fix from "Etienne Dechamps " <e-t172@akegroup.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 21 21:53:58 CEST 2012 on sn-devel-104 | |||||
2012-06-21 | s3:idmap_cache: also store negative entries for unknown sids | Stefan Metzmacher | 1 | -0/+7 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 21 18:04:05 CEST 2012 on sn-devel-104 | |||||
2012-06-21 | s3:winbindd: do not expose negative cache idmap entries as valid mappings ↵ | Stefan Metzmacher | 1 | -6/+19 | |
(bug #9002) metze | |||||
2012-06-21 | s3:winbindd: discard the expired gid cache if we're online (bug #9002) | Stefan Metzmacher | 1 | -1/+1 | |
This matches the uid case... metze | |||||
2012-06-21 | s3: Remove an unnecessary () | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jun 21 16:05:30 CEST 2012 on sn-devel-104 | |||||
2012-06-21 | s3: Use string_term_tdb_data where appropriate | Volker Lendecke | 1 | -2/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> |