summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison2011-10-261-0/+1
| | | | | | | | outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. (cherry picked from commit d2ec9d20858b8e5256bf8339395c6f47793e0975)
* Another part of the fix for Bug 8473 - smb2_find uses a hard coded max reply ↵Jeremy Allison2011-10-131-3/+3
| | | | | | | | | | | | size of 0x10000 instead of smb2_max_trans. Change the defaults and the documentation to reflect the 64k limit. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 13 12:22:23 CEST 2011 on sn-devel-104 (cherry picked from commit d2a9e8df35be1516f22f0ef78356de6d4b02d4d3)
* Fix bug #8229 - git patch attached against 3.6.0-rc2 to fix 'widelinks' ↵Jeremy Allison2011-09-151-0/+1
| | | | | | | | | regression intro'd in 3.2 Add "allow insecure widelinks" to re-enable the ability (requested by some sites) to have "widelinks = yes" and "unix extensions = yes". Based on an original patch by Linda Walsh <samba@tlinx.org>
* s3: Make map_open_params_to_ntcreate() available in lib/Volker Lendecke2011-08-181-0/+7
|
* s3: Make is_executable() available in lib/Volker Lendecke2011-08-181-0/+1
|
* First part of bugfix for bug #8335 - file copy aborts with ↵Jeremy Allison2011-07-311-1/+1
| | | | | | | smb2_validate_message_id: bad message_id Set default max credits to 8192 now this has been documented in the SMB2 spec.
* Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian ↵Jeremy Allison2011-07-211-0/+4
| | | | | | | | | | | | | | | systems. Re-add: smb_ucs2_t toupper_w(smb_ucs2_t v); bool isupper_w(smb_ucs2_t v); smb_ucs2_t tolower_w(smb_ucs2_t v); bool islower_w(smb_ucs2_t v); and ensure they are called whenever we are operating on smb_ucs2_t variables. I'd like to make the definition of smb_ucs2_t incompatible with int and codepoint_t so they can't be mixed, but that's a patch for another time.
* First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systemsJeremy Allison2011-07-211-4/+0
| | | | | | | | | | Remove int toupper_ascii(int c); int tolower_ascii(int c); int isupper_ascii(int c); int islower_ascii(int c); and replace with their _m equivalents, as they are identical.
* s3: Calculate&store the maximum share access maskVolker Lendecke2011-07-131-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 720fa46f9443ccbe471b265f1c2b9cb9782a3c26)
* s3: Return "granted" from share_access_checkVolker Lendecke2011-07-131-2/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 1c022d2e414607633323e65abbc63bb3aeaaa6a4)
* s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner2011-07-121-7/+0
| | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit 43cf3a28dc539351da8a316e0e52a8292ec40cc7)
* s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner2011-07-121-3/+0
| | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit 74e416031b2fc5d9c6af30f692d5b73cb1942cf4)
* s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner2011-07-121-2/+0
| | | | | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit dd5375b4a1798c856fa9c104baa36c137d664b9d) Conflicts: source3/rpc_server/spoolss/srv_spoolss_util.c
* s3:libsmb/async_smb: add helpers to get and set the seqnum for signingStefan Metzmacher2011-06-171-0/+2
| | | | | | | This will be used for correct signing in [nt]trans[2][s] requests. metze (cherry picked from commit 3dd1ebd21ee99d130f6dd30326ddafe3f00a50d0)
* source3/include/smb_ldap.h: fix licence/copyrightGünther Deschner2011-06-141-0/+22
| | | | | Guenther (cherry picked from commit e14b60c7ee6a76c444f12b8987740602c7b5f1d3)
* source3/include/smb_krb5.h: fix licence/copyrightGünther Deschner2011-06-141-0/+22
| | | | | Guenther (cherry picked from commit 769f8793cff7d336ab04442208039f87147388bd)
* source3/include/mangle.h: fix licence/copyrightGünther Deschner2011-06-141-0/+19
| | | | | Guenther (cherry picked from commit d357b5ce2a1eeead19760ecfad8c7d2bbf9e7622)
* source3/include/krb5_protos.h: fix licence/copyrightGünther Deschner2011-06-141-2/+29
| | | | | Guenther (cherry picked from commit ef84a5b2aafa7c90c2aaff82006a69dec485d2ab)
* source3/include/krb5_env.h: fix licence/copyrightGünther Deschner2011-06-141-0/+24
| | | | | Guenther (cherry picked from commit 0d7581b22b76774a1ef58a7eeb71df9c5bd69943)
* Revert "Fix bug 8196 - Many (newer) header files don't have copyright / GPL ↵Karolin Seeger2011-06-076-124/+0
| | | | | | header comments." This reverts commit 6df3ff20620b3262ff232a478312c61a207ed4ff.
* Fix bug 8196 - Many (newer) header files don't have copyright / GPL header ↵Jeremy Allison2011-06-076-0/+124
| | | | | | comments. Add missing GPL headers and (C) statements.
* struct make "struct shadow_copy_data" its own talloc context (cherry picked ↵Volker Lendecke2011-06-021-1/+0
| | | | | | from commit d77854fbb22bc9237cea14aae1179bbfe3bd0998) The last 3 patches address bug #8189 (Snapshot display not supported over SMB2).
* s3: Remove SHADOW_COPY_DATA typedef (cherry picked from commit ↵Volker Lendecke2011-06-021-2/+2
| | | | 0ec9a90c29b86435f32c1d47d89df85fa51742f2)
* s3: Extract the guest_login field in sesssetupVolker Lendecke2011-05-311-0/+1
| | | | (cherry picked from commit 01386ff3132ff5c786e83fc24328a80661de6bb7)
* s3-printing: Get the location info from cups.Günther Deschner2011-05-161-1/+2
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 854467851da48e02dcd8f869cb031c8943707017)
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-162-1/+1
| | | | | Guenther (cherry picked from commit 1e208a705718adb105d89093041c0ba5d51f2429)
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-163-3/+2
| | | | | Guenther (cherry picked from commit 675573d54b717ffc24cf3b49301ff649aecc259a)
* s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2011-05-162-6/+4
| | | | | | | | This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett (cherry picked from commit d309499b9e268bff5e366a9986528f0accbc02b3)
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-161-818/+0
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-164-4/+10
| | | | | Guenther (cherry picked from commit d8cfca3a9bd2b6b6c562fd202377d95a98eb5472)
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-161-8/+0
| | | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett (cherry picked from commit 14750139639b3531e57a3ca3f9e481d6e458dc06)
* s3-includes: remove ipv6 related prototype which is already defined in ↵Günther Deschner2011-05-161-5/+0
| | | | | | | ../lib/util/util_net.h. Guenther (cherry picked from commit a3609457912123037ca9fc51349d89d7921bc4e7)
* lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett2011-05-161-10/+0
| | | | | | | This will help with the merge of the interfaces layer. Andrew Bartlett (cherry picked from commit fbea52f74a80268446f45936a0cf40400aba8565)
* s3-rpc_server: (re)move last globally included rpc_server prototypes.Günther Deschner2011-05-161-9/+0
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104 (cherry picked from commit 56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2)
* s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-161-3/+3
| | | | | Guenther (cherry picked from commit cd5b2b242b39437081592d41d297bce0668b40ab)
* s3-proto: move remaining srvsvc protos to own header file.Günther Deschner2011-05-161-5/+0
| | | | | Guenther (cherry picked from commit daa02f34b181a3ec7224e920f787cc677bc3cdf2)
* s3-proto: move remaining spoolss protos to own header file.Günther Deschner2011-05-161-10/+0
| | | | | Guenther (cherry picked from commit c233c21425a183dd1124329fdbca13ab92cc6d6a)
* s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner2011-05-161-24/+0
| | | | | Guenther (cherry picked from commit 047d8c073b57bc12648a251deaceedb65f4f59cf)
* s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner2011-05-162-19/+3
| | | | | Guenther (cherry picked from commit 49d5f62b42d821bb8a11b595efb53eb88ec3c570)
* s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.Günther Deschner2011-05-161-5/+0
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104 (cherry picked from commit bbacaec4e9365b128eb11467c95412de7473c1ec)
* s3-proto: remove duplicate prototypes.Günther Deschner2011-05-161-28/+2
| | | | | Guenther (cherry picked from commit bc781bf7d98baca57c8043bf7dc0a95f8ffd1345)
* s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.hGünther Deschner2011-05-162-29/+28
| | | | Guenther
* s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.hGünther Deschner2011-05-161-8/+1
| | | | | Guenther (cherry picked from commit faf11751255202274505d72848c54ee6e5dce7b6)
* s3-proto: move more rpc client prototypes to cli_pipe.h.Günther Deschner2011-05-161-6/+26
| | | | Guenther
* s3-proto: move remaining krb5 protos to krb5_protos.hGünther Deschner2011-05-162-7/+6
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 15:38:40 CEST 2011 on sn-devel-104 (cherry picked from commit 9c48345e32c9aebd93c67103ea6984d74f2061b4)
* s3: move pipe_auth_data to dcerpc.hGünther Deschner2011-05-161-14/+0
| | | | | Guenther (cherry picked from commit 80fa624861e6f45c4b6837969253d5fbac2f3b1e)
* s3-system: move LOCK_ defines to lib/system.cGünther Deschner2011-05-161-9/+0
| | | | | Guenther (cherry picked from commit 4fa2bac6e7ebe11447b535d9c8ec4348a2bbd39e)
* s3-util: move valid_share_pathname() to lib/util.cGünther Deschner2011-05-161-4/+1
| | | | | Guenther (cherry picked from commit c1f3ff734043082a9488c787324e76a37702f94d)
* s3-rpc_server: remove proto of nonexisting functionGünther Deschner2011-05-161-4/+0
| | | | | | | (rpc_pipe_register_commands). Guenther (cherry picked from commit c6fe379a4637dd1d5db34cbe4f566d3913b21fd2)
* s3-proto: remove remaining nss_info prototypes to nss_info.hGünther Deschner2011-05-162-7/+7
| | | | | Guenther (cherry picked from commit d6289641f5d421d188c37819f5fe8ceeb5a86aba)