summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-lib Move string_init functions into their own fileAndrew Bartlett2011-05-314-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
* s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett2011-05-3112-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
* s3: Safely mark our sconn as smb2 if we have that protocolVolker Lendecke2011-05-301-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
* Improve documentation for net rpc trustSumit Bose2011-05-302-13/+136
| | | | | | | | | 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
* s3:net: registry export: close key after recursion returnsGregor Beck2011-05-301-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
* s3:net registry: polish output of net registry enumerate[_recursive]Michael Adam2011-05-301-11/+15
| | | | | so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely
* s3:net: registry: use recursive implementation for enumerateGregor Beck2011-05-301-63/+41
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: registry: add new command enumerate_recursiveGregor Beck2011-05-301-0/+107
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture: fix SEGFAULT in raw.acl.dynamicGregor Beck2011-05-301-7/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* nfs4_acls: pass ACE_FLAG_INHERITED_ACE down from the clientGregor Beck2011-05-301-0/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* nfs4_acls: pass ACE_FLAG_INHERITED_ACE up to the clientGregor Beck2011-05-302-1/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls: fix parsing of multiple flagsGregor Beck2011-05-301-1/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner2011-05-304-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
* s3: Add ioctl code to smbd_smb2_ioctl_send debugVolker Lendecke2011-05-301-2/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 30 12:47:27 CEST 2011 on sn-devel-104
* replace: fix build issues on GNU Hurd (#7998)Björn Jacke2011-05-301-1/+1
| | | | | | | | Patch from Samuel Thibault <sthibault@debian.org> to fix Debian Bug 610678 resp. BSO #7998. IOV_MAX and UIO_MAXIOV are not defined on GNU Hurd. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon May 30 00:53:59 CEST 2011 on sn-devel-104
* s3: Remove unused cli_session_requestVolker Lendecke2011-05-292-131/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104
* s3: Remove unused cli_connectVolker Lendecke2011-05-292-180/+0
|
* s3: Use cli_connect_nb in SMBC_server_internalVolker Lendecke2011-05-291-81/+20
|
* s3: Run BAD-NBT-SESSION in make testVolker Lendecke2011-05-291-0/+1
|
* s3: Reply correctly to a bad nbt session requestVolker Lendecke2011-05-291-1/+15
|
* s3: Fix cli_bad_session_requestVolker Lendecke2011-05-291-2/+19
| | | | | We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message
* s3: Simplify run_bad_nbt_sessionVolker Lendecke2011-05-291-40/+26
|
* s3: Simplify cli_bad_session_requestVolker Lendecke2011-05-291-12/+4
| | | | For this purpose we don't need the full cli_state
* s3: Add set_socket_options to cli_connect_sock()Volker Lendecke2011-05-291-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
* s3: Use cli_connect_nb in nmbd sync_childVolker Lendecke2011-05-291-18/+4
|
* s3: Remove unused attempt_netbios_session_requestVolker Lendecke2011-05-292-67/+0
|
* s3: Use cli_connect_nb in do_connectVolker Lendecke2011-05-291-45/+6
|
* s3: Use the correct guest_login field in auth_serverVolker Lendecke2011-05-291-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 13:57:21 CEST 2011 on sn-devel-104
* s3: Extract the guest_login field in sesssetupVolker Lendecke2011-05-292-4/+18
|
* s3: Fix wct check in cli_sesssetup_blob_doneVolker Lendecke2011-05-291-1/+1
|
* s3: Use cli_connect_nb in auth_serverVolker Lendecke2011-05-291-16/+4
|
* s3: Fix a type-punned warningVolker Lendecke2011-05-291-1/+1
|
* s3: Check password server loop earlierVolker Lendecke2011-05-291-4/+6
| | | | We do that in the loop for the ip address anyway
* s3: Use cli_connect_nb in do_message_opVolker Lendecke2011-05-291-33/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 10:11:54 CEST 2011 on sn-devel-104
* s3: Use cli_connect_nb in smbtorture open_nbt_connectionVolker Lendecke2011-05-281-36/+2
|
* s3: Use cli_connect_nb in net_rpc_checkVolker Lendecke2011-05-281-8/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
* s3: Use cli_connect_nb in smbd_running()Volker Lendecke2011-05-281-7/+3
|
* s3: Use cli_connect_nb in cli_servertimeVolker Lendecke2011-05-281-18/+2
|
* s3: Use cli_connect_nb in remote_password_changeVolker Lendecke2011-05-281-31/+2
|
* s3: Add called name_type param to cli_connect_nbVolker Lendecke2011-05-284-6/+7
|
* s3: Fix a type-punned warningVolker Lendecke2011-05-281-1/+2
|
* s3: Use cli_connect_nb in masktestVolker Lendecke2011-05-281-30/+3
|
* s3: Fix some nonemtpy blank linesVolker Lendecke2011-05-283-12/+11
|
* s3: Use cli_connect_nb in locktestVolker Lendecke2011-05-281-28/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 18:06:49 CEST 2011 on sn-devel-104
* s3: Fix smbsock_connectVolker Lendecke2011-05-281-1/+1
| | | | If all connection attempts fail, return immediately. Plain bug.
* s3: Fix a tiny memleak in copy_unix_tokenVolker Lendecke2011-05-281-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 11:47:11 CEST 2011 on sn-devel-104
* s3: Use talloc_memdup in copy_unix_tokenVolker Lendecke2011-05-281-2/+2
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-05-282-17/+17
|
* s3: Use cli_connect_nb in cli_start_connectionVolker Lendecke2011-05-281-47/+4
|
* s3: Add cli_connect_nbVolker Lendecke2011-05-282-0/+136
| | | | | | This builds up a cli_state until after the netbios session setup. It makes use of smbsock_connect, so it connects to 139 and 445 simultaneously. This improves the connection to Windows 2008 which does not listen on *SMBSERVER anymore.