Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-19 | s3:lib: remove unused connections_fetch_entry*() and connections_init() | Stefan Metzmacher | 2 | -68/+0 | |
metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: remove unused claim_connection/yield_connection | Stefan Metzmacher | 2 | -88/+0 | |
metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: don't call claim/yield_connection() in ↵ | Stefan Metzmacher | 2 | -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> | |||||
2012-10-19 | s3:lib/conn_tdb: implement connections_forall_read() based on ↵ | Gregor Beck | 2 | -38/+95 | |
smbXsrv_*_global_traverse() Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: fill tcon->global->session_global_id | Stefan Metzmacher | 2 | -0/+4 | |
metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbXsrv.idl: add session_global_id to smbXsrv_tcon_global | Stefan Metzmacher | 1 | -0/+4 | |
This is required for some debugging tools like smbstatus. metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:lib: remove function connections_forall() | Gregor Beck | 2 | -61/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | doc-xml: remove "net connections" documentation | Stefan Metzmacher | 1 | -39/+0 | |
metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:utils/net: remove unused "net connections" | Stefan Metzmacher | 5 | -286/+2 | |
The connections.tdb will go away. metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:net_serverid: remove connections_forall from "net serverid wipedbs" | Gregor Beck | 1 | -28/+3 | |
This tdb will go away. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:lib: remove unused sessionid_*() functions | Gregor Beck | 3 | -92/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:net_serverid: remove sessionid_traverse from "net serverid wipedbs" | Gregor Beck | 1 | -23/+0 | |
This tdb will go away. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: don't use (fill) sessionid.tdb in session_claim/yield any more. | Gregor Beck | 1 | -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> | |||||
2012-10-19 | s3:lib: implement sessionid_traverse_read with smb2srv_session_traverse_read | Gregor Beck | 1 | -25/+33 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd/connection: use smbXsrv_tcon_traverse to count connections | Gregor Beck | 1 | -18/+8 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd:setup_new_vc_session: traverse sessions instead of connections to ↵ | Gregor Beck | 1 | -10/+17 | |
shutdown other smbds Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:build: move sessionid_tdb.o and conn_tdb.o to SMBD_OBJ_BASE | Gregor Beck | 3 | -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> | |||||
2012-10-19 | s3:smbXsrv_tcon: add smbXsrv_tcon_global_traverse() | Gregor Beck | 2 | -0/+74 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbXsrv_session: add smbXsrv_session_global_traverse() | Gregor Beck | 2 | -0/+75 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: use session_global_id as session number for pam and utmp | Gregor Beck | 3 | -97/+15 | |
Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-10-19 | s3:configure: check that struct utmp.ut_line is large enough for our use case | Stefan Metzmacher | 2 | -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> | |||||
2012-10-19 | s3:smbd: initialize session->global before calling session_claim | Gregor Beck | 2 | -27/+27 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: remove smbd_server_connection argument from session_claim() | Gregor Beck | 4 | -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> | |||||
2012-10-19 | s3:smbd: pass smbXsrv_session instead of user_struct to session_claim() and ↵ | Gregor Beck | 5 | -8/+11 | |
session_yield() Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:net_status_shares: use connections_forall_read for a read only traversal | Gregor Beck | 1 | -3/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:count_current_connections: do not clear orphaned entries from connections.tdb | Gregor Beck | 2 | -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> | |||||
2012-10-19 | s3:smbcontrol: don't do stack_trace by connection but by server_id. | Gregor Beck | 1 | -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> | |||||
2012-10-19 | s3:lib: remove unused function connections_traverse() | Gregor Beck | 2 | -23/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:rpc_server/srvsvc: remove function net_enum_pipes() | Gregor Beck | 1 | -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> | |||||
2012-10-19 | s3:auth: use const in smb_pam_xxx_session() | Gregor Beck | 2 | -6/+6 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:auth: remove duplicate propotypes for smb_pam_claim_session and ↵ | Michael Adam | 1 | -2/+0 | |
smb_pam_close_session Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd/utmp: remove ip address from utmp record | Stefan Metzmacher | 5 | -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> | |||||
2012-10-19 | s3:smbd: remove duplicate prototypes for sys_utmp_claim() an sys_utmp_yield() | Michael Adam | 1 | -6/+0 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: add exit_server to the smbd_shim hooks | Stefan Metzmacher | 6 | -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> | |||||
2012-10-19 | s3:smbd: move initialization of the smbd_shim from smbd_init_globals() to main() | Michael Adam | 2 | -16/+15 | |
This is in preparation of adding server exit hooks to the shim. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3: fix comment header description for smbd_shim | Michael Adam | 2 | -2/+2 | |
This was copy'n'pasted from "RPC pipe client"... Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | s3:smbd: update sconn->remote_hostname after the netbios session request | Stefan Metzmacher | 1 | -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> | |||||
2012-10-19 | buildtools/wafsamba: only display 'ok' if the result is True | Stefan Metzmacher | 1 | -2/+2 | |
Otherwise we print the raw value. metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-10-19 | samba-tool user test: Fix expected output. | Jelmer Vernooij | 1 | -1/+1 | |
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 19 11:37:44 CEST 2012 on sn-devel-104 | |||||
2012-10-19 | samba.tests.docs: Ignore removed parameters. | Jelmer Vernooij | 1 | -0/+2 | |
2012-10-19 | smb.conf(5): Mark four removed parameters as such. | Jelmer Vernooij | 4 | -2/+6 | |
2012-10-19 | samba.tests.docs: Assume docs are generated by waf. | Jelmer Vernooij | 1 | -2/+6 | |
2012-10-19 | samba.tests.docs: Write error output from xsltproc to standard out. | Jelmer Vernooij | 1 | -1/+1 | |
2012-10-19 | samba.tests.docs: Skip tests if xsltproc is not present. | Jelmer Vernooij | 1 | -5/+24 | |
2012-10-19 | smb.conf(5): Consistent spelling of parameter names. | Jelmer Vernooij | 1 | -3/+3 | |
This includes spacing and casing. | |||||
2012-10-19 | samba.tests.docs: Support spaces before synonyms. | Jelmer Vernooij | 1 | -1/+1 | |
2012-10-19 | samba.tests.docs: Support synonyms. | Jelmer Vernooij | 1 | -0/+4 | |
2012-10-19 | samba.tests.docs: Distinguish between unknown and undocumened parameters. | Jelmer Vernooij | 1 | -1/+9 | |
2012-10-19 | tests: Convert find_missing_doc into a unit test. | Jelmer Vernooij | 4 | -85/+92 | |
2012-10-19 | smb.conf(5): Fix mixing of tabs and spaces. | Jelmer Vernooij | 12 | -28/+28 | |