Michael Adam [Fri, 10 Feb 2012 23:49:45 +0000 (00:49 +0100)]
smbXsrv_open.c: fix a return code (by copy from smbXsrv_session.c)
Michael Adam [Fri, 10 Feb 2012 23:05:34 +0000 (00:05 +0100)]
s3:smbd:smb2: add smb2srv_open_global_lookup() - look up in global open db by persistent id
Michael Adam [Fri, 10 Feb 2012 23:03:06 +0000 (00:03 +0100)]
smbXsrv_open.c - some space fix
Michael Adam [Fri, 10 Feb 2012 23:11:17 +0000 (00:11 +0100)]
smbXsrv.idl: add file_id to the open_global structure
so that we can look up the backend info in the locking.tdb
This is a preliminary hack. Later we should use a
"DATA_BLOB backend_info" with pack/unpack functions
so that the implementation is hidden from the
smb layer.
Stefan Metzmacher [Fri, 10 Feb 2012 12:43:17 +0000 (13:43 +0100)]
open... printer
Stefan Metzmacher [Fri, 10 Feb 2012 09:02:40 +0000 (10:02 +0100)]
TODO open_time / open_path
Stefan Metzmacher [Fri, 10 Feb 2012 08:50:51 +0000 (09:50 +0100)]
don't limit global persistent open ids to 16bit
Stefan Metzmacher [Fri, 10 Feb 2012 08:45:59 +0000 (09:45 +0100)]
lock ...
Stefan Metzmacher [Fri, 10 Feb 2012 08:35:25 +0000 (09:35 +0100)]
split persistene and volatile ids
Stefan Metzmacher [Fri, 10 Feb 2012 08:23:59 +0000 (09:23 +0100)]
others persistent check
Stefan Metzmacher [Fri, 10 Feb 2012 07:12:16 +0000 (08:12 +0100)]
write check persistent_id
Michael Adam [Thu, 9 Feb 2012 23:55:59 +0000 (00:55 +0100)]
smb2_create: hand out the persistent and volatile IDs gotten from the smbXsrv open code
(instead of the fnum)
Michael Adam [Thu, 9 Feb 2012 21:28:40 +0000 (22:28 +0100)]
update (C) smbXsrv_session.c
(ich hab da ja auch bisschn mitgemacht bei den letzten änderungen...:)
Stefan Metzmacher [Thu, 9 Feb 2012 21:06:28 +0000 (22:06 +0100)]
hack durable open...
Stefan Metzmacher [Thu, 9 Feb 2012 18:34:07 +0000 (19:34 +0100)]
smb2 works
Stefan Metzmacher [Thu, 9 Feb 2012 17:47:31 +0000 (18:47 +0100)]
use it...
Stefan Metzmacher [Tue, 13 Mar 2012 10:09:17 +0000 (11:09 +0100)]
smb1 add open table
Michael Adam [Thu, 9 Feb 2012 11:14:14 +0000 (12:14 +0100)]
s3:smbd: make smbXsrv_open.c compile
Michael Adam [Thu, 9 Feb 2012 11:13:08 +0000 (12:13 +0100)]
s3:smbd: add a smbXsrv_open_table member to smbXsrv_connection (for now)
Ultimately, for SMB2 at least, the open table could be subordinate to
the session. For SMB1, it needs to be subordinate to the connection.
Michael Adam [Thu, 9 Feb 2012 11:12:29 +0000 (12:12 +0100)]
s3:smbd: define struct smbXsrv_open_table
Michael Adam [Wed, 8 Feb 2012 23:30:35 +0000 (00:30 +0100)]
TODO - smbXsrv_open : some changes
Stefan Metzmacher [Wed, 8 Feb 2012 18:31:08 +0000 (19:31 +0100)]
change it ...
Stefan Metzmacher [Wed, 8 Feb 2012 18:28:32 +0000 (19:28 +0100)]
build smbd/smbXsrv_open.c
Michael Adam [Tue, 7 Feb 2012 11:01:05 +0000 (12:01 +0100)]
UNFINISHED - add smbXsrv_open.c - adapt from smbXsrv_session.c
Stefan Metzmacher [Mon, 6 Feb 2012 22:06:41 +0000 (23:06 +0100)]
TODO - s3:smbXsrv.idl: add structures for open files
especialy contains the persistent file id.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Stefan Metzmacher [Mon, 6 Feb 2012 22:05:03 +0000 (23:05 +0100)]
TODO: s3:smbXsrv.idl: comment out some (yet) unused session struct members
Michael Adam [Mon, 6 Feb 2012 22:04:16 +0000 (23:04 +0100)]
s3:smbXsrv.idl: add a comment
Stefan Metzmacher [Mon, 6 Feb 2012 22:02:08 +0000 (23:02 +0100)]
TMP: source3/smbd/smb2_close.c - add some DEBUG
Michael Adam [Mon, 6 Feb 2012 00:15:25 +0000 (01:15 +0100)]
TODO: some comments in preparation of durable handle open hack
Stefan Metzmacher [Fri, 3 Feb 2012 16:58:38 +0000 (17:58 +0100)]
TODO s3:smbd: implement the smb2_create durable-handle request
Stefan Metzmacher [Tue, 7 Feb 2012 09:12:30 +0000 (10:12 +0100)]
Revert "vuid => session_id"
This reverts commit
f75fc237481172b58460e1c1b54d4e9bc16f24ee.
Stefan Metzmacher [Fri, 3 Feb 2012 15:00:04 +0000 (16:00 +0100)]
vuid => session_id
Stefan Metzmacher [Fri, 3 Feb 2012 09:57:50 +0000 (10:57 +0100)]
use smbXsrv_session step1
Stefan Metzmacher [Fri, 3 Feb 2012 09:33:53 +0000 (10:33 +0100)]
s3:smb2:sesssetup: s/session/smb2sess
This prepares the following commits.
metze
Stefan Metzmacher [Fri, 3 Feb 2012 12:37:31 +0000 (13:37 +0100)]
HACK: smbXsrv_session limit to UINT16_MAX for now
Stefan Metzmacher [Fri, 3 Feb 2012 12:37:02 +0000 (13:37 +0100)]
smbXsrv_session_update and lookup fixes
Stefan Metzmacher [Fri, 3 Feb 2012 10:33:09 +0000 (11:33 +0100)]
smbXsrv_session destructor
Stefan Metzmacher [Wed, 1 Feb 2012 12:15:50 +0000 (13:15 +0100)]
impove session setup code: functions for finding free session ids
Stefan Metzmacher [Tue, 31 Jan 2012 10:30:10 +0000 (11:30 +0100)]
smbXsrv_session...
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
HACK use smbXsrv_session
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
smbXsrv_session.c
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
smbXsrv.idl
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:32 +0000 (19:26 +0100)]
Revert "s3:smbd: introduce struct smbXsrv_connection"
This reverts commit
8d459aa9fba80782d8f3a1fc179702c0067d4ba1.
Stefan Metzmacher [Fri, 20 Apr 2012 12:36:31 +0000 (14:36 +0200)]
Revert "s3:librpc: add smbXsrv.idl"
This reverts commit
443dad4f14ec0bccf882da669c4c375b35acec15.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:14 +0000 (19:26 +0100)]
Revert "TODO s3:smbXsrv.idl: add smbXsrv_session* structures"
This reverts commit
373a179f78da4fbe3984045b33ee32d800cc64cb.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:10 +0000 (19:26 +0100)]
Revert "TODO NDR_SMBXSRV before? s3:smbd: add smbXsrv_session infrastructure"
This reverts commit
99a1ee657d6a70a7f3036999ed068cc19a31be31.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:06 +0000 (19:26 +0100)]
Revert "s3:smbd: call file_close_user() before removing tree connects in conn_close_all()"
This reverts commit
a36c813660e79e5717f987f5f74d95931696e09d.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:02 +0000 (19:26 +0100)]
Revert "TODO s3:smbXsrv.idl: add smbXsrv_open*"
This reverts commit
3425903e3dc2a0393856d49becccf582bab0f0ad.
Stefan Metzmacher [Mon, 12 Mar 2012 18:25:59 +0000 (19:25 +0100)]
Revert "TODO s3:smbd: add smbXsrv_open* infrastructure"
This reverts commit
a5354e180bddf0a2523d11836e3e08366a27fcab.
Stefan Metzmacher [Mon, 12 Mar 2012 18:25:57 +0000 (19:25 +0100)]
Revert "sq smbXsrv_session infra"
This reverts commit
13fb10dfe9821a659b73279402e3ca105a27fc8e.
Stefan Metzmacher [Mon, 12 Mar 2012 18:25:54 +0000 (19:25 +0100)]
Revert "sq smbXsrv_open infra"
This reverts commit
724acd825b8b47906c55e7b643bea4c72141e095.
Stefan Metzmacher [Thu, 10 May 2012 16:40:56 +0000 (18:40 +0200)]
Revert "source3/smbd"
This reverts commit
53ad9d4726deef7c94b6062a19d6057453ddabf9.
Stefan Metzmacher [Mon, 12 Mar 2012 18:25:23 +0000 (19:25 +0100)]
source3/smbd
Stefan Metzmacher [Tue, 13 Mar 2012 10:40:37 +0000 (11:40 +0100)]
Stefan Metzmacher [Tue, 13 Mar 2012 10:09:17 +0000 (11:09 +0100)]
smb1 add open table
Stefan Metzmacher [Tue, 13 Mar 2012 10:08:28 +0000 (11:08 +0100)]
smb1 session table check status
Stefan Metzmacher [Tue, 13 Mar 2012 10:24:49 +0000 (11:24 +0100)]
smb2 session table init
Stefan Metzmacher [Mon, 6 Feb 2012 22:06:41 +0000 (23:06 +0100)]
TODO s3:smbd: add smbXsrv_open* infrastructure
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
was
2f3a019148b2bbcee7273a281cc4f4cafb7baf46
Stefan Metzmacher [Mon, 12 Mar 2012 17:38:07 +0000 (18:38 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_open*
metze
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
TODO s3:smbd: add smbXsrv_session infrastructure
metze
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_session* structures
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
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
s3:librpc: add smbXsrv.idl
metze
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
s3:smbd: introduce struct smbXsrv_connection
This will represent a transport connection for SMB 1 or 2
in the server. smbd_server_connection will slowly be moved
to the SMB_VFS layer to satisfy the existing modules,
but it will hopefully be protocol independend in future.
metze
Stefan Metzmacher [Wed, 11 Apr 2012 14:54:17 +0000 (16:54 +0200)]
TODO discuss s3:smb2_server: remember the request_time on an incoming request
metze
Stefan Metzmacher [Wed, 11 Apr 2012 14:54:17 +0000 (16:54 +0200)]
TODO discuss s3:smbd: remember the request_time on an incoming request
metze
Stefan Metzmacher [Sat, 3 Mar 2012 03:34:19 +0000 (04:34 +0100)]
s3:gse: implement gensec_gse_expire_time()
metze
Stefan Metzmacher [Sat, 3 Mar 2012 03:33:55 +0000 (04:33 +0100)]
s4:auth/gensec: implement gensec_gssapi_expire_time()
metze
Stefan Metzmacher [Sat, 3 Mar 2012 03:33:15 +0000 (04:33 +0100)]
auth/gensec: implement gensec_spnego_expire_time()
metze
Stefan Metzmacher [Sat, 3 Mar 2012 03:32:45 +0000 (04:32 +0100)]
auth/gensec: add gensec_expire_time()
metze
Stefan Metzmacher [Fri, 2 Mar 2012 21:02:36 +0000 (22:02 +0100)]
s4:auth/gensec_gssapi: remember the expire time
metze
Stefan Metzmacher [Thu, 26 Jan 2012 16:32:12 +0000 (17:32 +0100)]
s3:gse: remember the expire time
metze
Volker Lendecke [Wed, 15 Feb 2012 14:08:29 +0000 (15:08 +0100)]
s3-dbwrap: Add dbwrap_set_stored_callback
This is a per-db function that is called whenever some record is modified
Stefan Metzmacher [Thu, 10 May 2012 16:33:12 +0000 (18:33 +0200)]
s3:smb2_ioctl: FSCTL_SRV_ENUMERATE_SNAPSHOTS is handles in SMB_VFS_FSCTL()
metze
Stefan Metzmacher [Thu, 10 May 2012 15:43:36 +0000 (17:43 +0200)]
s3:smb2_ioctl: call SMB_VFS_FSCTL() as fallback for non SMB2 specific functions
metze
Alejandro Escanero Blanco [Wed, 9 May 2012 09:35:51 +0000 (11:35 +0200)]
s3:auth/server_info: the primary rid should be in the groups rid array (bug #8798)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed May 9 19:36:01 CEST 2012 on sn-devel-104
Günther Deschner [Wed, 9 May 2012 13:33:04 +0000 (15:33 +0200)]
allow to use system iniparser library.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed May 9 17:38:33 CEST 2012 on sn-devel-104
Günther Deschner [Tue, 8 May 2012 12:45:02 +0000 (14:45 +0200)]
waf: remove pointless WINBIND_KRB5_LOCATOR env.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed May 9 15:16:34 CEST 2012 on sn-devel-104
Andrew Bartlett [Wed, 9 May 2012 04:35:55 +0000 (14:35 +1000)]
s3-smbd: Fix the creation of duplicate SMB_ACL_GROUP entries
The issue was a simple copy and paste bug, which casued a duplicate SMB_ACL_GROUP
to be added when we already had one.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed May 9 13:17:29 CEST 2012 on sn-devel-104
Andreas Schneider [Mon, 7 May 2012 07:36:35 +0000 (09:36 +0200)]
s3-spoolss: Set DWORD values correctly.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed May 9 11:13:00 CEST 2012 on sn-devel-104
Andrew Bartlett [Tue, 8 May 2012 13:39:35 +0000 (23:39 +1000)]
s3-lib/sysacls: Do not include an embedded \0 between ACL entries in sys_acl_to_text()
This makes it possible to print the entire string again.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed May 9 06:07:06 CEST 2012 on sn-devel-104
Andrew Bartlett [Tue, 8 May 2012 04:11:27 +0000 (14:11 +1000)]
s3-lib: Add const to sys_acl_to_text
Andrew Bartlett [Tue, 8 May 2012 04:02:27 +0000 (14:02 +1000)]
s3-vfs: Show the invalid ACL when we say it is invalid for set
Andrew Bartlett [Tue, 8 May 2012 04:02:07 +0000 (14:02 +1000)]
s3-lib: Fix indentation in sys_acl_to_text()
Stefan Metzmacher [Mon, 7 May 2012 15:01:08 +0000 (17:01 +0200)]
Revert "selftest: mark ^samba4.raw.context.session1 as flapping, the test was wrong"
This reverts commit
794a9da38fbd88eb3d358d453cc5d21998604caa.
The test is fixed now.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed May 9 02:53:24 CEST 2012 on sn-devel-104
Stefan Metzmacher [Sun, 6 May 2012 19:09:47 +0000 (21:09 +0200)]
s4:smb_server/smb: only create a new session with vuid == 0
metze
Stefan Metzmacher [Tue, 1 May 2012 11:33:14 +0000 (13:33 +0200)]
s4:torture/raw/context: test a session setup with a given invalid vuid
On a session setup with EXTENDED_SECURITY we'll get ERRSRV:ERRbaduid,
while a session setup without EXTENDED_SECURITY ignores the given vuid.
Before this test was doing a reauth of a given vuid, which works for newer
Windows versions, but Windows 2000 gives INVALID_PARAMETER.
metze
Stefan Metzmacher [Mon, 7 May 2012 10:32:28 +0000 (12:32 +0200)]
selftest: mark ^samba4.raw.context.session1 as flapping, the test was wrong
metze
Stefan Metzmacher [Mon, 7 May 2012 10:33:45 +0000 (12:33 +0200)]
s3:libsmb: remove unused var in smb2cli_set_info_done
Christian Ambach [Tue, 8 May 2012 15:16:49 +0000 (17:16 +0200)]
s3:winbindd:autorid check that transaction start did work
this fixes Coverity #700172 CHECKED_RETURN
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Wed May 9 00:27:08 CEST 2012 on sn-devel-104
Christian Ambach [Tue, 8 May 2012 14:03:13 +0000 (16:03 +0200)]
s3:smbd fix some compiler warnings
Alexander Werth [Fri, 20 Jan 2012 18:17:21 +0000 (19:17 +0100)]
s3:vfs/gpfs: Have inherited deny ACE's show up in ACLs
Don't use the mode for the get_acl call that surpresses
inherited deny ACE's. This is now possible since
the inherited ACE flag exists now in GPFS and Samba.
Michael Adam [Tue, 8 May 2012 14:46:03 +0000 (16:46 +0200)]
s4:libcli:raw: fix a comment typo in smb_setfileinfo()
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue May 8 20:45:16 CEST 2012 on sn-devel-104
Michael Adam [Tue, 8 May 2012 14:45:10 +0000 (16:45 +0200)]
s4:torture: add a new smb2.session.reauth5 test: rename after reauth to anon - fails
Michael Adam [Tue, 8 May 2012 14:44:06 +0000 (16:44 +0200)]
s4:torture: add a new smb2.session.reauth4 test: setting security descriptor after reauth to anon - works
Karolin Seeger [Tue, 8 May 2012 14:33:07 +0000 (16:33 +0200)]
s3-docs: Fix bug #7930.
Add hint that setting "profile acls = yes" on normal shares can cause trouble.
Karolin
Autobuild-User: Karolin Seeger <kseeger@samba.org>
Autobuild-Date: Tue May 8 18:47:59 CEST 2012 on sn-devel-104
Karolin Seeger [Tue, 8 May 2012 14:03:18 +0000 (16:03 +0200)]
s3-po: Fix typo in comment.
Karolin
Karolin Seeger [Tue, 8 May 2012 14:01:14 +0000 (16:01 +0200)]
s3-net: Fix typo in comment.
Karolin
Kai Blin [Wed, 28 Mar 2012 10:19:51 +0000 (12:19 +0200)]
s4 dns: unify error handling when bailing out
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Tue May 8 15:48:25 CEST 2012 on sn-devel-104
Kai Blin [Tue, 13 Mar 2012 07:04:14 +0000 (08:04 +0100)]
s4 dns: Add TSIG and TKEY records to idl
Karolin Seeger [Tue, 8 May 2012 10:01:28 +0000 (12:01 +0200)]
s3-docs: Fix several typos.
Part of a fix for bug #7938. Based on a patch provided by John Bradshaw
<john@johnbradshaw.org>.
Karolin
Autobuild-User: Karolin Seeger <kseeger@samba.org>
Autobuild-Date: Tue May 8 13:56:32 CEST 2012 on sn-devel-104