Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-31 | s3-param split service.c into param and smbd components | Andrew Bartlett | 7 | -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-31 | s3-smbd Split conn.c into 3 files | Andrew Bartlett | 7 | -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-31 | s3-build: Move user_util.c into it's own subsystem | Andrew Bartlett | 1 | -4/+6 | |
2011-05-31 | s3-lib Move string_init functions into their own file | Andrew Bartlett | 4 | -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-31 | s3-smbd provide struct smbd_server_connection * to conn_snum_used | Andrew Bartlett | 12 | -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-30 | s3: Safely mark our sconn as smb2 if we have that protocol | Volker Lendecke | 1 | -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-30 | Improve documentation for net rpc trust | Sumit Bose | 1 | -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-30 | s3:net: registry export: close key after recursion returns | Gregor Beck | 1 | -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-30 | s3:net registry: polish output of net registry enumerate[_recursive] | Michael Adam | 1 | -11/+15 | |
so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely | |||||
2011-05-30 | s3:net: registry: use recursive implementation for enumerate | Gregor Beck | 1 | -63/+41 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-30 | s3:net: registry: add new command enumerate_recursive | Gregor Beck | 1 | -0/+107 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-30 | nfs4_acls: pass ACE_FLAG_INHERITED_ACE down from the client | Gregor Beck | 1 | -0/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-30 | nfs4_acls: pass ACE_FLAG_INHERITED_ACE up to the client | Gregor Beck | 2 | -1/+5 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-30 | s3:smbcacls: fix parsing of multiple flags | Gregor Beck | 1 | -1/+6 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-05-30 | s3: fix some -Wunused-but-set-variable build warnings. | Günther Deschner | 4 | -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-30 | s3: Add ioctl code to smbd_smb2_ioctl_send debug | Volker Lendecke | 1 | -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-29 | s3: Remove unused cli_session_request | Volker Lendecke | 2 | -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-29 | s3: Remove unused cli_connect | Volker Lendecke | 2 | -180/+0 | |
2011-05-29 | s3: Use cli_connect_nb in SMBC_server_internal | Volker Lendecke | 1 | -81/+20 | |
2011-05-29 | s3: Run BAD-NBT-SESSION in make test | Volker Lendecke | 1 | -0/+1 | |
2011-05-29 | s3: Reply correctly to a bad nbt session request | Volker Lendecke | 1 | -1/+15 | |
2011-05-29 | s3: Fix cli_bad_session_request | Volker Lendecke | 1 | -2/+19 | |
We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message | |||||
2011-05-29 | s3: Simplify run_bad_nbt_session | Volker Lendecke | 1 | -40/+26 | |
2011-05-29 | s3: Simplify cli_bad_session_request | Volker Lendecke | 1 | -12/+4 | |
For this purpose we don't need the full cli_state | |||||
2011-05-29 | s3: Add set_socket_options to cli_connect_sock() | Volker Lendecke | 1 | -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-29 | s3: Use cli_connect_nb in nmbd sync_child | Volker Lendecke | 1 | -18/+4 | |
2011-05-29 | s3: Remove unused attempt_netbios_session_request | Volker Lendecke | 2 | -67/+0 | |
2011-05-29 | s3: Use cli_connect_nb in do_connect | Volker Lendecke | 1 | -45/+6 | |
2011-05-29 | s3: Use the correct guest_login field in auth_server | Volker Lendecke | 1 | -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-29 | s3: Extract the guest_login field in sesssetup | Volker Lendecke | 2 | -4/+18 | |
2011-05-29 | s3: Fix wct check in cli_sesssetup_blob_done | Volker Lendecke | 1 | -1/+1 | |
2011-05-29 | s3: Use cli_connect_nb in auth_server | Volker Lendecke | 1 | -16/+4 | |
2011-05-29 | s3: Fix a type-punned warning | Volker Lendecke | 1 | -1/+1 | |
2011-05-29 | s3: Check password server loop earlier | Volker Lendecke | 1 | -4/+6 | |
We do that in the loop for the ip address anyway | |||||
2011-05-29 | s3: Use cli_connect_nb in do_message_op | Volker Lendecke | 1 | -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-28 | s3: Use cli_connect_nb in smbtorture open_nbt_connection | Volker Lendecke | 1 | -36/+2 | |
2011-05-28 | s3: Use cli_connect_nb in net_rpc_check | Volker Lendecke | 1 | -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-28 | s3: Use cli_connect_nb in smbd_running() | Volker Lendecke | 1 | -7/+3 | |
2011-05-28 | s3: Use cli_connect_nb in cli_servertime | Volker Lendecke | 1 | -18/+2 | |
2011-05-28 | s3: Use cli_connect_nb in remote_password_change | Volker Lendecke | 1 | -31/+2 | |
2011-05-28 | s3: Add called name_type param to cli_connect_nb | Volker Lendecke | 4 | -6/+7 | |
2011-05-28 | s3: Fix a type-punned warning | Volker Lendecke | 1 | -1/+2 | |
2011-05-28 | s3: Use cli_connect_nb in masktest | Volker Lendecke | 1 | -30/+3 | |
2011-05-28 | s3: Fix some nonemtpy blank lines | Volker Lendecke | 3 | -12/+11 | |
2011-05-28 | s3: Use cli_connect_nb in locktest | Volker Lendecke | 1 | -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-28 | s3: Fix smbsock_connect | Volker Lendecke | 1 | -1/+1 | |
If all connection attempts fail, return immediately. Plain bug. | |||||
2011-05-28 | s3: Fix a tiny memleak in copy_unix_token | Volker Lendecke | 1 | -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-28 | s3: Use talloc_memdup in copy_unix_token | Volker Lendecke | 1 | -2/+2 | |
2011-05-28 | s3: Fix some nonempty blank lines | Volker Lendecke | 2 | -17/+17 | |
2011-05-28 | s3: Use cli_connect_nb in cli_start_connection | Volker Lendecke | 1 | -47/+4 | |