summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* waf: Create a libnss_wins.so symlink.Andreas Schneider2012-10-221-0/+1
| | | | | | | | | | | | The last 3 patches fixe bug #9299 - nsswitch modules under Linux need a symbolic to their so version library. https://bugzilla.samba.org/show_bug.cgi?id=9299 Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Mon Oct 22 10:48:16 CEST 2012 on sn-devel-104
* waf: Create a libnss_winbind.so symlink.Andreas Schneider2012-10-221-0/+1
| | | | This fixes bug #9299.
* wafsamba: If we define a realname and a soname create a symlink.Andreas Schneider2012-10-221-0/+2
| | | | | This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a corresponding symlinks.
* pyglue: Make all_interfaces argumen to interface_ips() optional.Jelmer Vernooij2012-10-211-2/+2
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Oct 21 21:26:01 CEST 2012 on sn-devel-104
* pyglue: Mention parameters in interface_ips() docstring.Jelmer Vernooij2012-10-211-0/+2
|
* s3:rpc_server: avoid a level 0 DEBUG if tstream_npa_connect_recv fails (bug ↵Stefan Metzmacher2012-10-201-1/+5
| | | | | | | | | #9309) metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Oct 20 12:56:23 CEST 2012 on sn-devel-104
* s3: Fix some blank line endingsVolker Lendecke2012-10-201-5/+5
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sat Oct 20 09:06:12 CEST 2012 on sn-devel-104
* s3: Use talloc_stackframe in token_contains_name_in_listVolker Lendecke2012-10-201-13/+8
|
* s3: Remove a call to procid_self()Volker Lendecke2012-10-191-1/+1
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Oct 19 23:15:04 CEST 2012 on sn-devel-104
* s3: Add "msg_ctx" param to winbindd_register_handlers()Volker Lendecke2012-10-191-12/+13
|
* s3: Make winbindd_register_handlers staticVolker Lendecke2012-10-192-2/+1
|
* s3: Fix a typoVolker Lendecke2012-10-191-1/+1
|
* s3: Remove some calls to procid_selfVolker Lendecke2012-10-193-9/+11
| | | | | | | | | The goal is to have procid_self handling completely in the messaging_context. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Oct 19 20:39:56 CEST 2012 on sn-devel-104
* s3:smbd:durable: store stat info for disconnected durables and check at ↵Michael Adam2012-10-191-0/+456
| | | | | | | | | | | | | | | | | | reconnect. At durable reconnect, we check the stat info stored in the cookie against the current stat data from the file we just opened. If any detail differs, we deny the durable reconnect, because in that case it is very likely that someone opened the file while the handle was disconnected, which has to be interpreted as an oplock break. Pair-programmed-with: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Oct 19 18:56:19 CEST 2012 on sn-devel-104
* s3:open_files.idl: add stat-info to vfs_default_durable_cookie.Michael Adam2012-10-191-0/+23
| | | | | | | Pair-programmed-with: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd/durable: remove an extra blank line from vfs_default_durable_reconnect()Michael Adam2012-10-191-1/+0
| | | | | | | Pair-programmed-with: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd/durable: add write_time specific stuff to vfs_default_durable_cookieStefan Metzmacher2012-10-191-0/+12
| | | | | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Oct 19 17:12:29 CEST 2012 on sn-devel-104
* s3:open_files.idl: add write_time specific stuff to vfs_default_durable_cookieStefan Metzmacher2012-10-191-0/+4
| | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:smbd/durable: update the low level write_time before disconnecting the file.Stefan Metzmacher2012-10-191-0/+19
| | | | | | | | | | | | | | | | | If we close the low level FD, we should better update the write_time if needed. It's not unlikely that the client doesn't reclaim the durable handle, in that case we may not close the after the durable timeout. In such a case we should make sure that we at least update the write time on disconnect, this makes sure backup applications notice that the file was changed. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:smbd/durable: trigger pending write_time updates before disconnecting the ↵Stefan Metzmacher2012-10-191-0/+8
| | | | | | | | | | | | | file We need to call the pending write time update handler immediately. Which means we don't wait exactly 2 seconds before updating the write time after the first write. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* docs-xml:smbd.8: document new smbXsrv_*_global.tdb filesStefan Metzmacher2012-10-191-5/+9
| | | | | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Oct 19 14:00:39 CEST 2012 on sn-devel-104
* s3:lib: remove unused connections_fetch_entry*() and connections_init()Stefan Metzmacher2012-10-192-68/+0
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: remove unused claim_connection/yield_connectionStefan Metzmacher2012-10-192-88/+0
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: don't call claim/yield_connection() in ↵Stefan Metzmacher2012-10-192-19/+0
| | | | | | | | | make_connection_snum/close_cnum() This was used to maintain the connections.tdb database which is being removed. We use info from the smbXsrv_tcon instead. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:lib/conn_tdb: implement connections_forall_read() based on ↵Gregor Beck2012-10-192-38/+95
| | | | | | | smbXsrv_*_global_traverse() Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: fill tcon->global->session_global_idStefan Metzmacher2012-10-192-0/+4
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbXsrv.idl: add session_global_id to smbXsrv_tcon_globalStefan Metzmacher2012-10-191-0/+4
| | | | | | | | This is required for some debugging tools like smbstatus. metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:lib: remove function connections_forall()Gregor Beck2012-10-192-61/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* doc-xml: remove "net connections" documentationStefan Metzmacher2012-10-191-39/+0
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:utils/net: remove unused "net connections"Stefan Metzmacher2012-10-195-286/+2
| | | | | | | | The connections.tdb will go away. metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net_serverid: remove connections_forall from "net serverid wipedbs"Gregor Beck2012-10-191-28/+3
| | | | | | | This tdb will go away. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:lib: remove unused sessionid_*() functionsGregor Beck2012-10-193-92/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net_serverid: remove sessionid_traverse from "net serverid wipedbs"Gregor Beck2012-10-191-23/+0
| | | | | | | This tdb will go away. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd: don't use (fill) sessionid.tdb in session_claim/yield any more.Gregor Beck2012-10-191-99/+33
| | | | | | | We use data from new smbXsrv_session instead. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:lib: implement sessionid_traverse_read with smb2srv_session_traverse_readGregor Beck2012-10-191-25/+33
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd/connection: use smbXsrv_tcon_traverse to count connectionsGregor Beck2012-10-191-18/+8
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* 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-193-57/+41
| | | | | | | | 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>