summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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 Metzmacher5-1/+22
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-24selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett1-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-22s3-vfs_gpfs: Fix bug #9003, posix acl on gpfsVolker Lendecke1-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-22s3: Give machine password changes 10 minutes of timeVolker Lendecke1-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-22s3:torture:smb2: pass smb2-session-reconnect test (add generosity in error case)Michael Adam1-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-22s3: Remove reduce_windows_lock_ref_count, used only onceVolker Lendecke1-8/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-22s3: Make reduce_windows_lock_ref_count staticVolker Lendecke2-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-22s3: Use dbwrap_util for windows_lock_ref_countVolker Lendecke1-94/+21
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-22s3:smbd: fix warning in smbd_tevent_trace_callback() without profile supportStefan Metzmacher1-0/+5
metze
2012-06-22s3:serverid: don't ignore the result of dbwrap_parse_record()Stefan Metzmacher1-1/+6
metze
2012-06-22dbwrap: dbwrap_local_open()Rusty Russell2-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-22dbwrap: remove get_flags().Rusty Russell2-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-22util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.cRusty Russell3-89/+24
We're about to use them for dbwrap. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-21Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process).Jeremy Allison2-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-21s3:idmap_cache: also store negative entries for unknown sidsStefan Metzmacher1-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-21s3:winbindd: do not expose negative cache idmap entries as valid mappings ↵Stefan Metzmacher1-6/+19
(bug #9002) metze
2012-06-21s3:winbindd: discard the expired gid cache if we're online (bug #9002)Stefan Metzmacher1-1/+1
This matches the uid case... metze
2012-06-21s3: Remove an unnecessary ()Volker Lendecke1-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-21s3: Use string_term_tdb_data where appropriateVolker Lendecke1-2/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-21s3: Fix const warningsVolker Lendecke1-2/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-21s4-provision: Give better clues on what Samba needs for s3fs ACL supportAndrew Bartlett1-0/+15
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 21 14:07:55 CEST 2012 on sn-devel-104
2012-06-21s3-rpcclient: support all known netr_LogonControl2 variants properlyAlexander Bokovoy1-3/+35
logonctrl2 function in rpcclient did not allow to specify arguments to most of netr_LogonControl2 function code points. In addition, make descriptive help to show what is expected at each function code point. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Thu Jun 21 12:11:19 CEST 2012 on sn-devel-104
2012-06-21s3:move serverid_equal() to serverid.cMichael Adam3-21/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3:util: rename procid_equal() to serverid_equal()Michael Adam16-27/+27
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3:util: remove (now) unused cluster_id_equal()Michael Adam2-8/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3:smbstatus: use procid_equal() instead of equivalent cluster_id_equal()Michael Adam1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3: Remove a user of procid_is_meVolker Lendecke1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3: Remove a user of procid_is_meVolker Lendecke1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3:util: reformat procid_equal() to adhere to coding guidelinesMichael Adam1-7/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3:util: also compare the unique_id in procid_equal().Michael Adam1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-20s4-torture: Expand whoami test to confirm the user token.Andrew Bartlett1-1/+1
This uses the tokenGroups attribute on LDAP and the posix whoami call to confirm that user token matches between LDAP and CIFS. I have a seperate patch for the anonymous case, because this isn't consistent at this stage, and we need to study and fix that. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 20 18:43:43 CEST 2012 on sn-devel-104
2012-06-20s3:smbd: fix the build with the --with-profiling-data optionStefan Metzmacher2-3/+9
metze
2012-06-20s3:include: add START/END_PROFILE_STAMP()Stefan Metzmacher1-7/+23
This is needed when the profiling spans multiple functions. metze
2012-06-20idmap-hash: Attempt to fix Coverity ID 709116 Overflowed array index writeVolker Lendecke1-1/+6
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Jun 20 12:53:59 CEST 2012 on sn-devel-104
2012-06-20idmap-hash: Fix Coverity ID 709117 Dereference before null checkVolker Lendecke1-5/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-20idmap-hash: Fix Coverity 709118 Dereference before null checkVolker Lendecke1-5/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-20idmap-hash: Adapt mapfile_read_line to README.CodingVolker Lendecke1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>