summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-netlogon: Add support for LogonGetCapabilities.Stefan Metzmacher2011-12-221-1/+21
| | | | | | This is also needed to support AES. metze
* s3:torture/test_smb2: also try PROTOCOL_SMB2_24Stefan Metzmacher2011-12-221-6/+9
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 17:47:17 CET 2011 on sn-devel-104
* s3:smb2_negprot: add support for PROTOCOL_SMB2_24Stefan Metzmacher2011-12-221-0/+15
| | | | metze
* s3-auth Restore shortcut for guest security tokenAndrew Bartlett2011-12-221-11/+11
| | | | | | | | | | | | | | This was lost when the server_info and session_info structures were split. This helps avoid doing lookups for the guest account to determine the uid/gid and SID values. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 15:51:09 CET 2011 on sn-devel-104
* Change the signature of pthreadpool_finished_job() to return 0Jeremy Allison2011-12-224-16/+19
| | | | | | | | | on success, errno on fail and return the jobid in a separate variable. I need this fix for my vfs_aio_pthread.c module. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 22 12:12:33 CET 2011 on sn-devel-104
* s3-rpc_server: Add my copyright for my previous work hereAndrew Bartlett2011-12-221-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 22 09:02:57 CET 2011 on sn-devel-104
* s3-rpc_server: Remove old commentAndrew Bartlett2011-12-221-5/+0
|
* s3-rpc: added "rpc_server:default" config optionAndrew Tridgell2011-12-221-4/+12
| | | | | | | | this allows the config to specify a default behaviour (embedded, external or disabled) for unknown pipes. This is needed to allow the s3 smbd server to redirect unknown pipes to the s4 RPC server when using s3 smbd as a file server for a s4 DC. If rpc_server:default is not specified then this change preserves the old behaviour
* s3-loadparm: mark a few parameters as having P_BYTES typeAndrew Tridgell2011-12-221-12/+12
| | | | | | | | | this fixes a problem with "max xmit = 32K" resulting in a maximum SMB transmit size of 32 bytes, which makes for some very interesting network traces! This is what was causing smbtorture to consume gigabytes of memory in the rpc.schannel test
* s3: There's no reason not to at least build winbind on darwinVolker Lendecke2011-12-221-0/+2
| | | | | | | | It does not necessarily do nsswitch services, but as a NETLOGON proxy it should work fine Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 22 00:16:44 CET 2011 on sn-devel-104
* s3-dns: prevent from potentially doing wrong SRV DNS lookups.Günther Deschner2011-12-211-1/+1
| | | | | | | | | | With an empty sitename we asked for e.g. _ldap._tcp.._sites.dc._msdcs.AD.EXAMPLE.COM Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 21 17:23:25 CET 2011 on sn-devel-104
* Allow an object to be deleted from a directory if the caller has ↵Jeremy Allison2011-12-201-1/+9
| | | | | | | | | | DELETE_CHILD access even if we don't have access to read the ACL on the object. Fixes bug #8673 - NT ACL issue. Different fix needed for 3.6.x. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 20 22:13:51 CET 2011 on sn-devel-104
* s3: Fix some False/NULL hickupsVolker Lendecke2011-12-208-17/+17
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
* s3-net: Fix the return codes. 0 on success, -1 on failureAmitay Isaacs2011-12-191-2/+2
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Dec 19 01:57:24 CET 2011 on sn-devel-104
* s4 dns: Allow updates based on smb.conf settingKai Blin2011-12-171-0/+1
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 17 04:19:40 CET 2011 on sn-devel-104
* check_name() not needed in mkdir.Jeremy Allison2011-12-171-5/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 17 02:44:55 CET 2011 on sn-devel-104
* Ensure VALID_STAT before accessing fields.Jeremy Allison2011-12-171-1/+3
|
* Fix bug #8664 - Renaming a symlink fails if the symlink target is outside of ↵Jeremy Allison2011-12-161-2/+4
| | | | | | | the share. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 16 23:32:26 CET 2011 on sn-devel-104
* Restrict UCF_UNIX_NAME_LOOKUP (symlink allowed) to restricted set of calls.Jeremy Allison2011-12-161-1/+4
|
* s3:idmap_autorid: use less transactionsChristian Ambach2011-12-161-55/+76
| | | | | | | | reduce the amount of transactions that are mostly unnecessary because no updates were done, only reads Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Dec 16 20:18:37 CET 2011 on sn-devel-104
* s3:dbwrap fix return value of db_tdb_parseChristian Ambach2011-12-161-1/+5
| | | | | use the TDB ecode to determine the NTSTATUS return value and not the return code that is just -1
* s3:printing/spoolssd: avoid using server_messaging_context()Stefan Metzmacher2011-12-161-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 16 16:29:41 CET 2011 on sn-devel-104
* s3:smbd: remove unused sconn_server_id()Stefan Metzmacher2011-12-164-31/+0
| | | | metze
* s3:smbd: avoid using sconn_server_id()Stefan Metzmacher2011-12-169-19/+24
| | | | metze
* s3:locking: avoid using sconn_server_id()Stefan Metzmacher2011-12-162-7/+7
| | | | metze
* s3:lib/conn_tdb: avoid using sconn_server_id()Stefan Metzmacher2011-12-161-1/+2
| | | | metze
* s3: Add some const to find_oplock_typesVolker Lendecke2011-12-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 16 09:10:07 CET 2011 on sn-devel-104
* s3: Make open_file_ntcreate a bit easier to readVolker Lendecke2011-12-161-3/+2
| | | | Move the declaration of "id" closer to its use
* s3: Make open_file_ntcreate a bit easier to readVolker Lendecke2011-12-161-4/+6
| | | | Move the calculation of "new_file_created" closer to its use
* s3: Make open_file_ntcreate a bit easier to readVolker Lendecke2011-12-161-3/+3
| | | | Remove a negation where it's not necessary
* s3: Slightly simplify delay_for_exclusive_oplocksVolker Lendecke2011-12-161-9/+15
|
* s3: Slightly simplify delay_for_batch_oplocksVolker Lendecke2011-12-161-6/+6
|
* Third part of fix for bug #8663 - deleting a symlink fails if the symlink ↵Jeremy Allison2011-12-161-0/+8
| | | | | | | | | target is outside of the share. smbd_check_access_rights() - we can always delete a symlink. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 16 03:32:15 CET 2011 on sn-devel-104
* Second part of fix for bug #8663 - deleting a symlink fails if the symlink ↵Jeremy Allison2011-12-151-1/+6
| | | | | | | target is outside of the share. Ensure we use UCF_UNIX_NAME_LOOKUP flags on filename_convert() when doing a UNIX infolevel in trans2setfilepathinfo().
* First part of fix for bug #8663 - deleting a symlink fails if the symlink ↵Jeremy Allison2011-12-151-12/+0
| | | | | | | target is outside of the share. Remove two unneeded check_name() calls. They have already been done in order to get here.
* s3: Fix a typoVolker Lendecke2011-12-151-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 15 23:35:28 CET 2011 on sn-devel-104
* s3:vfs fix up vfs_gpfs after function pointer renamesChristian Ambach2011-12-151-25/+25
| | | | | | | In 422494a8e630e2ca89386344eaa5346388698a32, vfs_gpfs.c was forgotten Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Dec 15 21:08:02 CET 2011 on sn-devel-104
* s3-libsmb: Don't duplicate kerberos service tickets.Andreas Schneider2011-12-151-5/+0
| | | | | | | | | | | This fixes bug #8628. Each time we do a client connection. Each time we call to function to get the service ticket from the cache we duplicate it. So with each connection we end up with one or three duplicated tickets. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Dec 15 19:30:42 CET 2011 on sn-devel-104
* s3-dbwrap: All relevant backends provide parse_record(). Remove the fallback.Volker Lendecke2011-12-151-37/+0
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Dec 15 17:41:53 CET 2011 on sn-devel-104
* s3-dbwrap: Remove the "fetch" db_context callbackVolker Lendecke2011-12-155-113/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Rewrite dbwrap_fetch in terms of dbwrap_parse_recordVolker Lendecke2011-12-151-3/+30
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Rewrite dbwrap_fallback_parse_record based on dbwrap_fetch_lockedVolker Lendecke2011-12-151-4/+13
| | | | | | This is in preparation to remove the db_context->fetch function pointer Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: For nostalgic reasons, make dbwrap_file.c compile at leastVolker Lendecke2011-12-151-9/+14
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Fix some blank line endingsVolker Lendecke2011-12-151-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Implement db_ctdb_parse_record in terms of db_ctdb_fetchVolker Lendecke2011-12-151-0/+19
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Make dbwrap_parse_record return NTSTATUSVolker Lendecke2011-12-156-41/+68
| | | | | | | Also, the parser now returns void. The parser is called if and only if dbwrap_parse_record returns NT_STATUS_OK. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd/globals: remove unused msg_ctx_to_sconn()Stefan Metzmacher2011-12-152-15/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 15 14:24:59 CET 2011 on sn-devel-104
* s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher2011-12-1510-30/+39
| | | | | | reload_services() metze
* s3:printing/spoolssd: pass event and messaging context to check_updater_child()Stefan Metzmacher2011-12-151-5/+4
| | | | metze
* s3:rpc_server/spoolss: remove reload_services check from delete_printer_hook()Stefan Metzmacher2011-12-151-8/+0
| | | | | | | | | | | | | As the spoolss code can run embedded or external relative to the smbd file server process, it's very tricky to verify if a share is still in use. Checking the result of the "deleteprinter command" command should be enough to check for success. We should not return WERR_ACCESS_DENIED if the share is still in use, by the current client, as the primary printer definition is already deleted. metze