summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:smb2 do not set allow_namespace_caching flag for a shareChristian Ambach2011-11-241-1/+1
| | | | | this matches Win7/2002R2 behavior and clients also must ignore this flag when set (MS-SMB 2.2.10), so we should not set it at all
* s3:vfs:gpfs remove non-working codeChristian Ambach2011-11-241-65/+0
| | | | | | | | | | | | | | | when development of vfs_gpfs was started a long time ago it was considered a good idea to have it compileable even if GPFS is not around and then the module would complain in the logs that libgpfs is not there Nowadays this does not work any more as the code contains GPFS specific types that need the GPFS header files. Instead of making it compile again by adding GPFS typedefs, this removes the whole approach. Other VFS modules also do not even compile when necessary headers are not around, so do the same for the GPFS module code.
* s3:vfs:gpfs fix some compiler warningsChristian Ambach2011-11-241-3/+3
|
* s3:vfs:gpfs convert syncio parameterChristian Ambach2011-11-241-2/+11
| | | | | convert syncio parameter to be stored in the VFS handle data this removes the need to go through lp_parm_bool() on each open
* s3: Fix a valgrind errorVolker Lendecke2011-11-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 19:17:20 CET 2011 on sn-devel-104
* s3: Move server_info_struct to nmbdVolker Lendecke2011-11-232-9/+9
| | | | That's the only place where it's used.
* s3: Replace delete_token_list by an arrayVolker Lendecke2011-11-232-53/+69
| | | | | | | | This will make it easier to convert locking.tdb to IDL, and I don't think there will be enough entries to justify a linked list over an array. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
* Remove the setting of the inherited ACL on new files/directories. This isJeremy Allison2011-11-223-224/+0
| | | | | now done correctly in the main codepath. The vfs_acl_XXXX modules are now thin shims that simply store/retrieve ACLs as they should be.
* Move setting the inherited ACL into the main open code path. Next willJeremy Allison2011-11-221-1/+110
| | | | remove it from the ACL modules.
* Move the "set SD" code into provided SD and "inherit acls" branches.Jeremy Allison2011-11-221-29/+32
|
* Only add the SD if it's not a new stream file.Jeremy Allison2011-11-221-1/+1
|
* Move the add security descriptor code to *after* all the other meta-data isJeremy Allison2011-11-221-35/+35
| | | | updated. We may be adding an SD that restricts our own access.
* s3: Fix wb_next_pwent_fill_doneVolker Lendecke2011-11-221-1/+0
| | | | | | | Within a callback routine it is not possible to call tevent_req_post Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 22 19:17:30 CET 2011 on sn-devel-104
* s3:winbindd_cm: close sockfd on error in cm_prepare_connection()Stefan Metzmacher2011-11-211-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 21 19:58:58 CET 2011 on sn-devel-104
* s3:libsmb: close fd on error in cli_connect_nb()Stefan Metzmacher2011-11-211-0/+2
| | | | metze
* s3-waf: remove version from libpdb.so for now.Günther Deschner2011-11-211-2/+0
| | | | Guenther
* s3:smb2_negprot: add support for SMB2_22Stefan Metzmacher2011-11-201-0/+15
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 20 16:46:45 CET 2011 on sn-devel-104
* Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific ↵Jeremy Allison2011-11-181-3/+4
| | | | | | | calls, makes us completely non-portable. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 18 23:50:50 CET 2011 on sn-devel-104
* s3:libsmb: verify num_setup for SMBnttrans in cli_pull_trans()Stefan Metzmacher2011-11-181-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 18 15:13:52 CET 2011 on sn-devel-104
* s3:libsmb: fix compiler warning in cli_pull_trans()Stefan Metzmacher2011-11-181-1/+3
| | | | metze
* s3:libsmb: only align unicode pipe_name (bug #8586)Stefan Metzmacher2011-11-181-7/+11
| | | | metze
* s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2011-11-181-1/+1
| | | | | | | | Uninitialized gid value is set to -1 and return as such from python passdb api. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
* s4-s3-upgrade now look for -1 as the special 'not set' valueAndrew Bartlett2011-11-181-1/+1
| | | | | | | this is possible because we know the py_passdb will always set -1 here, not passing though 0xFFFFFFFF. Andrew Bartlett
* s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives.Günther Deschner2011-11-173-10/+8
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Nov 17 03:47:53 CET 2011 on sn-devel-104
* s3-smbldap: remove duplicate LDAP_OPT_SUCCESS define.Günther Deschner2011-11-171-3/+0
| | | | Guenther
* s3-winbindd: no need to globally include ldap headers in winbindd.Günther Deschner2011-11-172-2/+1
| | | | Guenther
* s3-smbldap: include talloc.h and tevent.h in smbldap.hGünther Deschner2011-11-171-0/+3
| | | | Guenther
* s3-param: loadparm has no dependency to smbldap.Günther Deschner2011-11-171-1/+0
| | | | Guenther
* s3-smbldap: improve smbldap.h readability and rearrange some defines.Günther Deschner2011-11-172-59/+53
| | | | Guenther
* s3-smbldap: remove duplicate prototype.Günther Deschner2011-11-172-6/+1
| | | | Guenther
* s3-nmbd Remove AD netlogon response from s3 nmbd serverAndrew Bartlett2011-11-171-92/+15
| | | | | | | | | | | | | | | I do not want users with misconfigurations to have nmbd respond with this partially correct packet. For example, it hardcodes the site as Default-First-Site-Name. If nmbd wishes to return this information, it would need to query the AD database using the same APIs that the source4/ nbt server does. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Nov 17 02:10:54 CET 2011 on sn-devel-104
* s3-net Do not look for a local SID when we are a DCAndrew Bartlett2011-11-171-7/+8
| | | | | | | If we are actually a DC, then the only SID we have is the domain SID, and looking for it under the local name fails if we are a Samba4 AD DC. Andrew Bartlett
* param: Connect lp_security to the lib/param code to allow testsAndrew Bartlett2011-11-171-0/+1
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: Move enum values into a common (included) .c fileAndrew Bartlett2011-11-171-83/+1
| | | | | | | | | This #include hack is required as it is not possible to declare a compile-time sized array in a header file. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: move server role helpers into loadparm.hAndrew Bartlett2011-11-171-1/+0
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: calculate server role from security, and security from server roleAndrew Bartlett2011-11-176-113/+11
| | | | | | | | | | | | | This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett2011-11-175-5/+3
| | | | | | | | This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: make server role list common and include auto (for the new default)Andrew Bartlett2011-11-171-3/+8
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s3-param: Add "server role" as global parameterAmitay Isaacs2011-11-173-10/+31
| | | | | This will help extracting server role processing code in common library.
* param: Add "domain logons" and "domain master" parametersAmitay Isaacs2011-11-171-0/+2
| | | | | This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent.
* s3-libsmb/passchange.c: remove some cli_nt_error() callsBjörn Baumbach2011-11-161-2/+0
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 20:36:11 CET 2011 on sn-devel-104
* s3-winbindd/winbindd_cm.c: remove cli_nt_error()Björn Baumbach2011-11-161-8/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb/clidfs.c: remove cli_nt_error()Björn Baumbach2011-11-161-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:winbindd_cm: remove unused ads_statusStefan Metzmacher2011-11-161-3/+0
| | | | metze
* s3-torture: remove all cli_nt_error() calls in tortureBjörn Baumbach2011-11-161-12/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: replace cli_errstr() with nt_errstr()Björn Baumbach2011-11-161-6/+10
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach2011-11-163-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: calculate the negprot signing flags from the signing_stateStefan Metzmacher2011-11-161-3/+10
| | | | | | | | | | | We should map from lp_server_signing() just once in srv_init_signing(). metze Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 16 18:59:49 CET 2011 on sn-devel-104
* s3: Fix wbinfo socket dir path.Andreas Schneider2011-11-161-0/+7
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 16 17:19:56 CET 2011 on sn-devel-104
* Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher2011-11-161-13/+0
| | | | | | | | | | | | | for legacy dialects" This reverts commit f261ac1932ecdae925b27301aa3e907757845a85. We now handle that in cli_state_create(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 15:44:05 CET 2011 on sn-devel-104