summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3-ntlmssp Remove unused auth_ntlmssp_get_domain()Andrew Bartlett2011-08-031-6/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Remove unused auth_ntlmssp_get_clientAndrew Bartlett2011-08-031-5/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-rpc_server use session_info to print user detailsAndrew Bartlett2011-08-031-4/+3
| | | | | | | | | | | | | | | This is the authoritative source for what the user was actually authenticated as. The previous message printed only what they claimed, and the DC might map this. The workstation is no longer printed in the logs, as it allows auth_ntlmssp_get_client() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Use else if in do_map_to_guest_server_infoAndrew Bartlett2011-08-031-3/+1
| | | | | | | | This means we can't ever call make_server_info_guest() twice. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Move map to guest to directly after the check_password callsAndrew Bartlett2011-08-035-97/+49
| | | | | | | | | This means we no longer need two different map to guest functions and have consistent logic with fewer layering violations. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett2011-08-031-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:libsmb/clifile: make use of cli_set_timeout()Stefan Metzmacher2011-08-031-12/+22
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 3 10:16:18 CEST 2011 on sn-devel-104
* s3:cli_np_tstream: make use of cli_set_timeout()Stefan Metzmacher2011-08-031-1/+2
| | | | metze
* s3:torture: make use of cli_set_timeout()Stefan Metzmacher2011-08-031-2/+2
| | | | metze
* s3:winbindd_cm: make use of cli_set_timeout()Stefan Metzmacher2011-08-031-1/+1
| | | | metze
* s3:libsmb/clidfs: make use of cli_state_encryption_on()Stefan Metzmacher2011-08-031-2/+2
| | | | metze
* We don't need check_name() here. All possible paths to dptr_create()Jeremy Allison2011-08-031-4/+0
| | | | | | | have already called check_name. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Aug 3 03:00:55 CEST 2011 on sn-devel-104
* s3: Fix smb2 handling error returns from aioVolker Lendecke2011-08-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found when reading with aio_fork beyond the end of file. Metze, Jeremy, please check! Without this we get [2011/08/02 21:02:54.082661, 0] lib/util.c:778(smb_panic_s3) PANIC (pid 2302): smbd/smb2_read.c:593: Type mismatch: name[NULL] expected[struct smbd_smb2_read_state] [2011/08/02 21:02:54.094316, 0] lib/util.c:882(log_stack_trace) BACKTRACE: 23 stack frames: #0 bin/smbd(log_stack_trace+0x2d) [0xb72873d8] #1 bin/smbd(smb_panic_s3+0x7c) [0xb7287529] #2 bin/smbd(smb_panic+0x2f) [0xb7277e1f] #3 /root/git/s3-work/source3/bin/libtalloc.so.2 [0xb6c6bc48] #4 /root/git/s3-work/source3/bin/libtalloc.so.2 [0xb6c6ec79] #5 /root/git/s3-work/source3/bin/libtalloc.so.2(_talloc_get_type_abort+0x34) [0xb6c6ecb3] #6 bin/smbd [0xb6fbc405] #7 bin/smbd(_tevent_req_notify_callback+0x4a) [0xb729a85a] #8 bin/smbd [0xb729a888] #9 bin/smbd(_tevent_req_done+0x19) [0xb729aa73] #10 bin/smbd [0xb6fae517] #11 bin/smbd [0xb6fad258] #12 bin/smbd(smbd_aio_complete_aio_ex+0xf5) [0xb6fad6e8] #13 /root/git/inst/modules/vfs/aio_fork.so [0xb66d4992] #14 bin/smbd(run_events_poll+0x400) [0xb7297df2] #15 bin/smbd(smbd_process+0xd75) [0xb6f9d3a7] #16 bin/smbd [0xb756f07b] #17 bin/smbd(run_events_poll+0x400) [0xb7297df2] #18 bin/smbd [0xb7298254] #19 bin/smbd(_tevent_loop_once+0x9e) [0xb72986ac] #20 bin/smbd(main+0x185c) [0xb7570e59] #21 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6b08455] #22 bin/smbd [0xb6f14e01] Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 2 22:33:15 CEST 2011 on sn-devel-104
* s3: Remove unused ERROR_FORCE_NT macroVolker Lendecke2011-08-021-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 2 20:32:08 CEST 2011 on sn-devel-104
* s3: Remove unused ERROR_DOS macroVolker Lendecke2011-08-021-1/+0
|
* s3: Move deferred_open_queue to smbd_server_connectionVolker Lendecke2011-08-023-10/+12
|
* s3: Pass sconn explicitly to get_deferred_open_message_smbVolker Lendecke2011-08-021-4/+6
|
* s3: Pass sconn explicitly to open_was_deferredVolker Lendecke2011-08-027-18/+18
|
* s3: Pass sconn explicitly to schedule_deferred_open_message_smbVolker Lendecke2011-08-024-7/+22
|
* s3: Explicitly pass sconn to remove_deferred_open_message_smbVolker Lendecke2011-08-023-6/+8
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-024-13/+13
|
* s3:server Consolidate printing related initializationSimo Sorce2011-08-023-9/+9
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Aug 2 17:37:44 CEST 2011 on sn-devel-104
* s3:smbd - Move printing queue stuffSimo Sorce2011-08-0211-166/+339
| | | | | | | | This way we can properly deal with pcap updates in the background queue process if it is enabled (on by default) and not perform these actions in the main smbd process. Signed-off-by: Günther Deschner <gd@samba.org>
* s3:libsmb/libsmb_server: make use of cli_set_timeout()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:libsmb/cli*: make use of cli_state_protocol()Stefan Metzmacher2011-08-024-14/+14
| | | | metze
* s3:client: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:auth_server: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:spoolss: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:masktest: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:net_rpc: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:winbindd_cm: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:libsmb: add cli_state_protocol()Stefan Metzmacher2011-08-022-0/+6
| | | | metze
* s3:include: change cli->protocol to enum protocol_typesStefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher2011-08-026-18/+18
| | | | metze
* s3:libsmb/libsmb_*: make use of cli_state_capabilities()Stefan Metzmacher2011-08-023-3/+3
| | | | metze
* s3:torture: make use of cli_state_capabilities()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:winbindd_cm: make use of cli_state_capabilities()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:libsmb: add cli_state_capabilities()Stefan Metzmacher2011-08-022-0/+6
| | | | metze
* s3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on errorStefan Metzmacher2011-08-021-1/+1
| | | | metze
* Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share ↵Alban Browaeys2011-08-021-1/+2
| | | | | | | | | via an uri Fix null deref. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 2 02:58:26 CEST 2011 on sn-devel-104
* s3:rpc_transport_tstream: call tstream_cli_np_use_trans() before ↵Stefan Metzmacher2011-08-011-4/+9
| | | | | | | | | | | | tstream_writev_queue_send() This will be needed when tstream_writev_queue_send() changes it's behavior and avoids using an immediate event when the queue is empty. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Aug 1 14:55:00 CEST 2011 on sn-devel-104
* s3-rpc_server: Only setup tcpip ports if epmapper is enabled.Andreas Schneider2011-08-011-2/+4
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Aug 1 12:31:59 CEST 2011 on sn-devel-104
* s3-rpc_server: Use rpc_spoolss_mode().Andreas Schneider2011-08-012-14/+11
|
* s3-rpc_server: Add rpc_spoolss_mode().Andreas Schneider2011-08-012-0/+30
|
* s3-rpc_server: Enable endpoint mapper as daemon by default.Andreas Schneider2011-08-011-1/+1
|
* s3-rpc_server: Use rpc_epmapper_mode().Andreas Schneider2011-08-012-134/+32
| | | | | Remove embedded mode cause this will not work. It was only there for testing.
* s3-rpc_server: Add rpc_epmapper_mode().Andreas Schneider2011-08-012-0/+35
|
* s3-rpc_server: Disable listening on tcpip ports by default.Andreas Schneider2011-08-011-8/+17
|
* s3-torture: Run epmapper as daemon and the tests over ncalrpc.Andreas Schneider2011-08-011-1/+8
|