summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd:setup_new_vc_session: traverse sessions instead of connections to ↵Gregor Beck2012-10-191-10/+17
| | | | | | | shutdown other smbds Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:build: move sessionid_tdb.o and conn_tdb.o to SMBD_OBJ_BASEGregor Beck2012-10-192-56/+40
| | | | | | | | and use SMBD_OBJ_BASE for a couple of targets where sessionid_tdb and conn_tdb were used. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbXsrv_tcon: add smbXsrv_tcon_global_traverse()Gregor Beck2012-10-192-0/+74
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbXsrv_session: add smbXsrv_session_global_traverse()Gregor Beck2012-10-192-0/+75
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: use session_global_id as session number for pam and utmpGregor Beck2012-10-193-97/+15
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:configure: check that struct utmp.ut_line is large enough for our use caseStefan Metzmacher2012-10-192-0/+26
| | | | | | | | | We use "smb/%u" with a 32-bit number, "smb/4294967295\0" requires 15 chars (including the '\0'). metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: initialize session->global before calling session_claimGregor Beck2012-10-192-27/+27
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: remove smbd_server_connection argument from session_claim()Gregor Beck2012-10-194-6/+7
| | | | | | | retrieve the server connection from the smbXsrv_session argument instead. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: pass smbXsrv_session instead of user_struct to session_claim() and ↵Gregor Beck2012-10-195-8/+11
| | | | | | | session_yield() Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net_status_shares: use connections_forall_read for a read only traversalGregor Beck2012-10-191-3/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:count_current_connections: do not clear orphaned entries from connections.tdbGregor Beck2012-10-192-21/+9
| | | | | | | This removes one of the last callers of connetions_forall. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcontrol: don't do stack_trace by connection but by server_id.Gregor Beck2012-10-191-6/+7
| | | | | | | | Inparticular use serverid_traverse_read instead of connections_foralli to enumerate processes. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:lib: remove unused function connections_traverse()Gregor Beck2012-10-192-23/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:rpc_server/srvsvc: remove function net_enum_pipes()Gregor Beck2012-10-191-97/+0
| | | | | | | | The relevant records are not written to connections.tdb since commit a781b78417b6d7b875230dd2edcb932445aa4197 Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:auth: use const in smb_pam_xxx_session()Gregor Beck2012-10-192-6/+6
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:auth: remove duplicate propotypes for smb_pam_claim_session and ↵Michael Adam2012-10-191-2/+0
| | | | | | smb_pam_close_session Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd/utmp: remove ip address from utmp recordStefan Metzmacher2012-10-195-61/+8
| | | | | | | | | | | 1. This was broken since Samba 3.2. when ipv6 support was added, it only worked for ipv6 addresses. 2. userspace tools only display the hostname field. 3. This is not really portable metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: remove duplicate prototypes for sys_utmp_claim() an sys_utmp_yield()Michael Adam2012-10-191-6/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: add exit_server to the smbd_shim hooksStefan Metzmacher2012-10-196-7/+41
| | | | | | | | | This is in preparation of moving sessionid_tdb and conn_tdb to smbd exclusively. metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: move initialization of the smbd_shim from smbd_init_globals() to main()Michael Adam2012-10-192-16/+15
| | | | | | This is in preparation of adding server exit hooks to the shim. Signed-off-by: Michael Adam <obnox@samba.org>
* s3: fix comment header description for smbd_shimMichael Adam2012-10-192-2/+2
| | | | | | This was copy'n'pasted from "RPC pipe client"... Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: update sconn->remote_hostname after the netbios session requestStefan Metzmacher2012-10-191-0/+13
| | | | | | | | | Also update the info in the new smbXsrv structure. This way we can log the remote name in status outputs. metze Signed-off-by: Michael Adam <obnox@samba.org>
* build: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind are builtinAndrew Bartlett2012-10-181-0/+6
| | | | | | | | | | | | | | | | | These modules are used by default and for various reasons cannot be compiled into a .so The code setting up these lists is generic, so it is easier to just assert early, for this non-default configuration. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org> Address bug #9295 - Can't find guest.so module if auth_builtin is built as module. Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Thu Oct 18 13:14:38 CEST 2012 on sn-devel-104
* BUG #9295: Build standard auth modules as internal modules.Andreas Schneider2012-10-181-8/+4
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:smbd: fix brace placements in validate_my_share_entries() for readabilityMichael Adam2012-10-171-2/+4
| | | | | | | | | | according to coding guidelines Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Oct 17 14:37:58 CEST 2012 on sn-devel-104
* s3:smbd: also log the "offline" flag when debugging the dos-modeMichael Adam2012-10-171-0/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_getinfo ensure proper error for not yet present quota supportChristian Ambach2012-10-121-0/+4
| | | | | | | | non-existing quota support needs to be signaled by NT_STATUS_NOT_SUPPORTED, not NT_STATUS_INVALID_PARAMETER Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Oct 12 13:37:37 CEST 2012 on sn-devel-104
* s3:vfs_gpfs re-indent run-away linesChristian Ambach2012-10-121-4/+10
| | | | some lines added by the acl_blob additions were longer than 80 chars
* s3:vfs_gpfs fix the buildChristian Ambach2012-10-121-5/+11
| | | | make it compile again after the recent (untested) additions of the acl_blob functions
* s3:vfs_gpfs remove a trailing spaceChristian Ambach2012-10-121-1/+1
|
* s3:vfs_gpfs skip local flock when gpfs sharemodes are disabledChristian Ambach2012-10-121-2/+5
| | | | no sense in calling local flock when clustered sharemodes should be disabled
* s3fs-printing: Simplify the comment and location handling.Andreas Schneider2012-10-111-13/+17
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Oct 11 18:49:15 CEST 2012 on sn-devel-104
* smbd: Always free the talloc_stackframe() before leaving ↵Andrew Bartlett2012-10-111-0/+3
| | | | | | | smbd_do_query_security_desc Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 11 15:20:54 CEST 2012 on sn-devel-104
* rpc_server:srvsvc Remove psd variable that was no longer set by ↵Andrew Bartlett2012-10-111-5/+3
| | | | | | | | | | | SMB_VFS_FGET_NT_ACL This fixes up an error introduced by c8ade07760ae0ccfdf2d875c9f3027926e62321b. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 11 07:53:36 CEST 2012 on sn-devel-104
* vfs: Remove irixacl module (all the fucntions in it are unimplemented)Andrew Bartlett2012-10-117-197/+0
|
* vfs: Fix alternative posix and no-op sys acl implementations to take a mem_ctxAndrew Bartlett2012-10-114-31/+50
| | | | | | These were missed with the initial conversion to use a talloc context. Andrew Bartlett
* vfs: Improve formatting of vfs_fake_aclsAndrew Bartlett2012-10-111-2/+2
| | | | | | | | | This avoids this bad style being copied into new modules. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 11 05:10:16 CEST 2012 on sn-devel-104
* vfs: Improve formatting of vfs_defaultAndrew Bartlett2012-10-111-23/+23
| | | | | | This avoids this bad style being copied into new modules. Andrew Bartlett
* vfs: Use a blocking function in vfs_zfsacl for system ACL blobsAndrew Bartlett2012-10-111-0/+12
| | | | | | | This is so we do not query some other module for the ACL blob, as zfs ACLs are not posix ACLs. We may add a linearisation later. Andrew Bartlett
* vfs: Use posix_sys_acl_blob_get_file in vfs_tru64acl for posix ACLsAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_solarisacl for posix ACLsAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_posixacl for posix ACLsAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_irix for posix ACLsAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_hpux for posix ACLsAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_gpfs for posix ACLsAndrew Bartlett2012-10-111-0/+58
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_fake_acls for posix ACLsAndrew Bartlett2012-10-111-67/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_default for posix ACLsAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_aixacl2 for posix ACLsAndrew Bartlett2012-10-111-0/+38
|
* vfs: Use posix_sys_acl_blob_get_file in vfs_aixaclAndrew Bartlett2012-10-111-0/+2
|
* vfs: Use a blocking function in vfs_afsacl for system ACL blobsAndrew Bartlett2012-10-111-1/+17
| | | | | | | | This is important, as we need to avoid asking any lower module for a possible libear ACL blob. We may implement a linearisation in the future. Andrew Bartlett