summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-05-31s3-param split service.c into param and smbd componentsAndrew Bartlett7-262/+319
The dependency chain of find_service can't be satisfied sensibly outside smbd, so don't include this in the main 'param' subsystem. Also remove the duplicate find_service() and conn_snum_used() from dummysmbd.c: The WAF build does not need these dummies any more, but file. Andrew Bartlett
2011-05-31s3-smbd Split conn.c into 3 filesAndrew Bartlett7-236/+303
The idea with this split is to make it easier to handle dependencies, avoiding having the loadparm code depend on the global server variables, without resorting to dummy functions and linker tricks. conn_clear_vuid_cache() is brought in from uid.c to make it static Andrew Bartlett
2011-05-31s3-build: Move user_util.c into it's own subsystemAndrew Bartlett1-4/+6
2011-05-31s3-lib Move string_init functions into their own fileAndrew Bartlett4-54/+82
These have not been moved in common, as they are not talloc-based, but it helps with dependencies if these are seperated from the rest of util_str.c Andrew Bartlett
2011-05-31s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett12-21/+33
This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett
2011-05-30s3: Safely mark our sconn as smb2 if we have that protocolVolker Lendecke1-0/+2
Otherwise smbd will crash at an unclean exit. Without this conn_close_all will do a close_cnum() on all connection_struct's. In smb2, those are talloc children of the smbd_smb2_tcon's. sconn is talloc_free'ed after the conn_close_all, but the smbd_smb2_tcon destructor will still reference tcon->compat_conn, referencing then free'ed (and null'ed out) memory. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 30 22:49:53 CEST 2011 on sn-devel-104
2011-05-30Improve documentation for net rpc trustSumit Bose1-13/+16
Add man pages entries and fix usage output. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 20:05:34 CEST 2011 on sn-devel-104
2011-05-30s3:net: registry export: close key after recursion returnsGregor Beck1-1/+3
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 30 18:53:28 CEST 2011 on sn-devel-104
2011-05-30s3:net registry: polish output of net registry enumerate[_recursive]Michael Adam1-11/+15
so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely
2011-05-30s3:net: registry: use recursive implementation for enumerateGregor Beck1-63/+41
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3:net: registry: add new command enumerate_recursiveGregor Beck1-0/+107
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30nfs4_acls: pass ACE_FLAG_INHERITED_ACE down from the clientGregor Beck1-0/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30nfs4_acls: pass ACE_FLAG_INHERITED_ACE up to the clientGregor Beck2-1/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3:smbcacls: fix parsing of multiple flagsGregor Beck1-1/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner4-12/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
2011-05-30s3: Add ioctl code to smbd_smb2_ioctl_send debugVolker Lendecke1-2/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 30 12:47:27 CEST 2011 on sn-devel-104
2011-05-29s3: Remove unused cli_session_requestVolker Lendecke2-131/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104
2011-05-29s3: Remove unused cli_connectVolker Lendecke2-180/+0
2011-05-29s3: Use cli_connect_nb in SMBC_server_internalVolker Lendecke1-81/+20
2011-05-29s3: Run BAD-NBT-SESSION in make testVolker Lendecke1-0/+1
2011-05-29s3: Reply correctly to a bad nbt session requestVolker Lendecke1-1/+15
2011-05-29s3: Fix cli_bad_session_requestVolker Lendecke1-2/+19
We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message
2011-05-29s3: Simplify run_bad_nbt_sessionVolker Lendecke1-40/+26
2011-05-29s3: Simplify cli_bad_session_requestVolker Lendecke1-12/+4
For this purpose we don't need the full cli_state
2011-05-29s3: Add set_socket_options to cli_connect_sock()Volker Lendecke1-0/+1
A leftover of stuff that cli_connect() does Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 15:47:17 CEST 2011 on sn-devel-104
2011-05-29s3: Use cli_connect_nb in nmbd sync_childVolker Lendecke1-18/+4
2011-05-29s3: Remove unused attempt_netbios_session_requestVolker Lendecke2-67/+0
2011-05-29s3: Use cli_connect_nb in do_connectVolker Lendecke1-45/+6
2011-05-29s3: Use the correct guest_login field in auth_serverVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 13:57:21 CEST 2011 on sn-devel-104
2011-05-29s3: Extract the guest_login field in sesssetupVolker Lendecke2-4/+18
2011-05-29s3: Fix wct check in cli_sesssetup_blob_doneVolker Lendecke1-1/+1
2011-05-29s3: Use cli_connect_nb in auth_serverVolker Lendecke1-16/+4
2011-05-29s3: Fix a type-punned warningVolker Lendecke1-1/+1
2011-05-29s3: Check password server loop earlierVolker Lendecke1-4/+6
We do that in the loop for the ip address anyway
2011-05-29s3: Use cli_connect_nb in do_message_opVolker Lendecke1-33/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 10:11:54 CEST 2011 on sn-devel-104
2011-05-28s3: Use cli_connect_nb in smbtorture open_nbt_connectionVolker Lendecke1-36/+2
2011-05-28s3: Use cli_connect_nb in net_rpc_checkVolker Lendecke1-8/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
2011-05-28s3: Use cli_connect_nb in smbd_running()Volker Lendecke1-7/+3
2011-05-28s3: Use cli_connect_nb in cli_servertimeVolker Lendecke1-18/+2
2011-05-28s3: Use cli_connect_nb in remote_password_changeVolker Lendecke1-31/+2
2011-05-28s3: Add called name_type param to cli_connect_nbVolker Lendecke4-6/+7
2011-05-28s3: Fix a type-punned warningVolker Lendecke1-1/+2
2011-05-28s3: Use cli_connect_nb in masktestVolker Lendecke1-30/+3
2011-05-28s3: Fix some nonemtpy blank linesVolker Lendecke3-12/+11
2011-05-28s3: Use cli_connect_nb in locktestVolker Lendecke1-28/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 18:06:49 CEST 2011 on sn-devel-104
2011-05-28s3: Fix smbsock_connectVolker Lendecke1-1/+1
If all connection attempts fail, return immediately. Plain bug.
2011-05-28s3: Fix a tiny memleak in copy_unix_tokenVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 11:47:11 CEST 2011 on sn-devel-104
2011-05-28s3: Use talloc_memdup in copy_unix_tokenVolker Lendecke1-2/+2
2011-05-28s3: Fix some nonempty blank linesVolker Lendecke2-17/+17
2011-05-28s3: Use cli_connect_nb in cli_start_connectionVolker Lendecke1-47/+4