summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* selftest/known: samba3.smb2.session.*reconnect passes nowStefan Metzmacher2012-06-251-1/+0
| | | | metze
* s3:smb2_sesssetup: make use of smb2srv_session_close_previous_send/recvStefan Metzmacher2012-06-251-0/+66
| | | | metze
* s3:smbXsrv_session: react on MSG_SMBXSRV_SESSION_CLOSEStefan Metzmacher2012-06-251-0/+154
| | | | metze
* s3:smbXsrv_session: add smb2srv_session_close_previous_send/recvStefan Metzmacher2012-06-252-0/+208
| | | | metze
* s3:smbXsrv.idl: add smbXsrv_session_close*Stefan Metzmacher2012-06-251-0/+26
| | | | metze
* s3:messaging.idl: define MSG_SMBXSRV_SESSION_CLOSEStefan Metzmacher2012-06-251-0/+3
| | | | metze
* s3:smb2_sesssetup: inline gensec_session_info() callStefan Metzmacher2012-06-251-25/+15
| | | | metze
* s3:smb2_sesssetup: make use of gensec_update_send/recvStefan Metzmacher2012-06-251-10/+35
| | | | metze
* s3:smb2_sesssetup: inline most of smbd_smb2_session_setup()Stefan Metzmacher2012-06-251-130/+99
| | | | metze
* s3:selftest: run raw.sessionStefan Metzmacher2012-06-252-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
* s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2Stefan Metzmacher2012-06-251-0/+1
| | | | metze
* s3:smbd/sesssetup: implement dynamic re-authentication and expire session if ↵Stefan Metzmacher2012-06-252-12/+113
| | | | | | client supports it metze
* s3:selftest: run smbtorture3 SMB2-SESSION-REAUTHStefan Metzmacher2012-06-252-0/+2
| | | | metze
* s3:selftest: run smb2.session as ntlm and krb5Stefan Metzmacher2012-06-252-2/+6
| | | | | | This activates the smb2.session.expire1 test, when krb5 is used. metze
* selftest/knownfail: only reauth5 still failsStefan Metzmacher2012-06-251-1/+1
| | | | metze
* s3:smb2_sesssetup: implement dynamic re-authentication and expire sessionsStefan Metzmacher2012-06-252-6/+129
| | | | metze
* docs-xml: document "server max protocol" SMB3 and SMB3_00Stefan Metzmacher2012-06-251-1/+10
| | | | metze
* docs-xml: fix reference from "server min protocol" to "server max protocol"Stefan Metzmacher2012-06-251-1/+1
| | | | metze
* selftest/Samba3: 'server max protocol = SMB3'Stefan Metzmacher2012-06-251-1/+1
| | | | metze
* lib/param: add "SMB3" as alias for PROTOCOL_SMB3_00Stefan Metzmacher2012-06-251-0/+1
| | | | metze
* s3:smbd: remove now unused invalidate_all_vuids()Stefan Metzmacher2012-06-252-10/+0
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbd: remove now unused conn_close_all()Michael Adam2012-06-252-16/+0
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() ↵Michael Adam2012-06-251-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>
* s3:smbd: make use of smbXsrv_session for smb1Stefan Metzmacher2012-06-256-274/+194
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbd: make use of smbXsrv_tcon for smb1Stefan Metzmacher2012-06-2510-170/+183
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2Stefan Metzmacher2012-06-2520-275/+180
| | | | | | | | | The removes the protocol specific smbd_smb2_session and smbd_smb2_tcon. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smb2_sesssetup: add support for SMB 2.24/3.00 signingStefan Metzmacher2012-06-251-0/+29
| | | | metze
* s3:smb2_sesssetup: make use of the smbXsrv_session infrastructureStefan Metzmacher2012-06-254-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
* s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3Stefan Metzmacher2012-06-251-0/+20
| | | | metze
* s3:smbd: add smbXsrv_tcon infrastructureStefan Metzmacher2012-06-255-1/+1180
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbXsrv.idl: add smbXsrv_tcon* structuresStefan Metzmacher2012-06-251-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
* sq smbXsrv_session_global_store no connectionStefan Metzmacher2012-06-251-6/+3
|
* s3:smbd: add smbXsrv_session infrastructureStefan Metzmacher2012-06-255-0/+1164
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbXsrv.idl: add smbXsrv_session* structuresStefan Metzmacher2012-06-251-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
* s3:smbd: add smbXsrv_version_* infrastructureStefan Metzmacher2012-06-255-0/+272
| | | | metze
* s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structuresStefan Metzmacher2012-06-251-1/+65
| | | | metze
* s3:librpc: add smbXsrv.idlStefan Metzmacher2012-06-256-2/+23
| | | | metze
* s3:test: make shell code more porable by elimnating "local" keywordBjörn Jacke2012-06-251-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
* s3: Fix a typoVolker Lendecke2012-06-253-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
* s3: Avoid a call to server_event_context()Volker Lendecke2012-06-251-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-join: Setup correct DNS configurationAndrew Bartlett2012-06-242-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
* s4-samba_upgradedns: Do not set DNS account for internal serverAndrew Bartlett2012-06-251-32/+32
| | | | | | | The internal DNS server does not need the samba-only NAME-dns account. Andrew Bartlett
* s4-join: Import DNS zones in AD DC joinAndrew Bartlett2012-06-253-20/+59
|
* selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett2012-06-243-18/+10
| | | | | | | | This also tests the comparison with LDAP on anonymous connections and marks this as knownfail, while we investigate the correct behaviour here. Andrew Bartlett
* s4-classicupgrade: Allow DNS backend to be specifiedAndrew Bartlett2012-06-242-6/+12
|
* s4-drepl: Ensure that the op->source does not get deallocated too earlyAndrew Bartlett2012-06-242-9/+25
| | | | | | | | | | | We need to have the struct dreplsrv_partition_source_dsa around until the end of the async op, so we use talloc_reference after carefully checking the callers and making the modifications required. This prevents a crash when replicating partitions in the vampire_dc test after adding DNS replication at join time. Andrew Bartlett
* selftest: schema is not automatically reloaded now so if you modify it you ↵Matthieu Patou2012-06-231-0/+9
| | | | | | | have to reload it Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Sat Jun 23 10:48:13 CEST 2012 on sn-devel-104
* s4-dsdb: operational handle modifyTimeStamp on the CN=aggregate DNMatthieu Patou2012-06-221-1/+37
| | | | | | | | | | | | | | | modifyTimeStamp is a generated attribute, for most object it's generated directly from the whenChanged attribute. But for the CN=aggregate object in the schema we have to handle it in a different way, that's because for this object whenChanged!=modifyTimeStamp (as checked against Windows 2003R2 DCs) instead the modifyTimeStamp reflect the timestamp of the most recently modified and loaded schema object (that is to the one with the highest USN before the schema was reload due to timeout or by the reloadSchemaNow command). Some third party are using this information to know if they have to update their schema cache and also to check that schema updates have been correctly reloaded by the DC, a good example of this behavior is exchange 2010.
* s4-schema: improve the documentation of the dsdb_schema structureMatthieu Patou2012-06-221-4/+6
|
* s4-dsdb: Check for key SCHEMA_SEQ_NUM in metadata.tdb updatesMatthieu Patou2012-06-222-3/+192
| | | | | | | If the value has changed then reload the schema, this means that now the schema is only reloaded on a periodical basis or if we have been asked explicitly to do it and not necesserly if the schema partition has changed.