summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-nmbd: Initialise newly non-static variablesAndrew Bartlett2012-02-161-4/+4
| | | | | | | | Found by testing with wintest. When the variables were made non-static in c21f6a1c6869a5086634bb830d6c3689dea539a3 the implicit initialisation to 0 was lost. Andrew Bartlett
* s3: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY, bug 8760Volker Lendecke2012-02-154-6/+40
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 15 21:10:22 CET 2012 on sn-devel-104
* s3-printing: fix crash in printer_list_set_printer()David Disseldorp2012-02-151-1/+1
| | | | | | | | | | | | | | | | The printer list database format was recently changed to accommodate for the printcap location field. One of the tdb_pack calls is not provided with a location string argument, this causes a crash on some platforms. https://bugzilla.samba.org/show_bug.cgi?id=8762 Signed-off-by: Günther Deschner <gd@samba.org> Signed-off-by: Jim McDonough <jmcd@samba.org> Signed-off-by: Lars Müller <lars@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Wed Feb 15 19:34:38 CET 2012 on sn-devel-104
* s3: files_struct->mode is only written, remove itVolker Lendecke2012-02-144-5/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104
* s3-auth: On successful user mapping set mapped_to_guest to false.Sumit Bose2012-02-131-0/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Feb 13 13:09:10 CET 2012 on sn-devel-104
* s3-selftest: Do not assume $USERNAME is the same as $DC_USERNAMEAndrew Bartlett2012-02-131-3/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 13 06:13:38 CET 2012 on sn-devel-104
* s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPIAndrew Bartlett2012-02-132-6/+1
| | | | | | | The requirement for gss functions already make this happen, but this is clearer. No code depends on HAVE_GSSAPI any more. Andrew Bartlett
* s3-libads: Move to using only the HAVE_KRB5 defineAndrew Bartlett2012-02-132-13/+11
| | | | | | HAVE_KRB5 already implies that GSSAPI is present as well. Andrew Bartlett
* mkversion: Add quotes around various version stringsAmitay Isaacs2012-02-111-3/+3
| | | | | | | This fixes compilation errors when VENDOR strings are specified. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Sat Feb 11 09:07:54 CET 2012 on sn-devel-104
* s3-waf: add dependency on talloc or it won't build if talloc.h is not in the ↵Matthieu Patou2012-02-102-5/+10
| | | | | | | | | | default include path The problem occurs only if talloc, tdb and ldb are used as system libraries and talloc is not installed in a default. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Feb 10 23:27:29 CET 2012 on sn-devel-104
* s3-winbindd: set the can_do_validation6 also for trusted domainMatthieu Patou2012-02-101-0/+2
| | | | | | | The flag can_do_validation6 was only set for the domain to which winbindd is the member. Setting this flag in other domains (trusted domain) if it's active directory domain is a good idea as it allow to do level 6 validation also when winbindd is querying them directly.
* s3:smbd/oplock_linux: don't overwrite private_dataStefan Metzmacher2012-02-101-2/+0
| | | | | | | | | | | | | We set ctx->private_data = sconn a few lines above and expect 'sconn' in the signal event handler. Thanks to Christian Ambach <ambi@samba.org> for the bug report. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 10 21:48:18 CET 2012 on sn-devel-104
* s3:vfs_gpfs:quieten an expectable warning messageChristian Ambach2012-02-101-1/+5
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 20:14:12 CET 2012 on sn-devel-104
* s3:vfs_gpfs: fix a compiler warningChristian Ambach2012-02-101-1/+2
|
* s3:vfs_gpfs:Fix query of creation time from GPFSChristof Schmitt2012-02-101-0/+3
| | | | | | | | | | | | | | Setting the creation time through SetFileTime on a GPFS file system and querying it with GetFileTime shows a mismatch. The vfs_gpfs module first retrieves the information from the operating system and the flag st_ex_calculated_birthtime is set to false. When vfs_gpfs retrieves the birthtime from GPFS the flag st_ex_calculated_birthtime has to be set to true. Otherwise the birth time will get overwritten by a call to update_stat_ex_mtime, reporting the wrong time to a client system. Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: make "gpfs:getrealfilename" a per share optionStefan Metzmacher2012-02-102-7/+15
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: make "gpfs:ftruncate" a per share optionStefan Metzmacher2012-02-102-3/+14
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: make "gpfs:winattr" a per share optionStefan Metzmacher2012-02-102-5/+73
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: be less verbose in get/set_xattr functionsStefan Metzmacher2012-02-101-2/+2
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-smb2: Use the correct indicator if a request was deferredVolker Lendecke2012-02-101-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Feb 10 16:44:23 CET 2012 on sn-devel-104
* s3-smb2: Make sure we have a subreq setVolker Lendecke2012-02-101-0/+1
|
* selftest: add smb2.rename to testsuiteChristian Ambach2012-02-101-1/+1
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104
* s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett2012-02-103-39/+0
| | | | | | | | Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove unused kerberos_compatible_enctypesAndrew Bartlett2012-02-103-20/+1
| | | | | | | | Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-lib: Remove unused is_myworkgroup()Andrew Bartlett2012-02-102-18/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-charcnv: Remove unused rpcstr_push()Andrew Bartlett2012-02-102-9/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove unused smb_krb5_mk_error()Andrew Bartlett2012-02-104-58/+0
| | | | | | | | Also remove now-unused configure checks for krb5_mk_error(). Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-param: Remove unused share_defined()Andrew Bartlett2012-02-102-6/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-lib: Remove unused pid_path()Andrew Bartlett2012-02-102-14/+0
| | | | | | | | piddir.c calls lp_piddir() directly. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-registry: Remove unused prs_uint8()Andrew Bartlett2012-02-102-23/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-charcnv: Remove unused pull_string_fnAndrew Bartlett2012-02-102-42/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-printing: Add new printers to registry.Björn Baumbach2012-02-093-13/+54
| | | | | | | | | This fixes bug #8554, #8612 and #8748. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 9 16:39:04 CET 2012 on sn-devel-104
* s3-libsmb: Remove obsolete smb_krb5_locate_kdc.Andreas Schneider2012-02-094-95/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 9 14:58:57 CET 2012 on sn-devel-104
* s3-net: Don't use an internal krb5 for kdc lookup.Andreas Schneider2012-02-091-19/+23
| | | | | | | This replaces the use of the internal krb5_locate_kdc() function with our own get_kdc_list() function. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-build: remove EXEEXT from MakefilesAndrew Bartlett2012-02-095-215/+211
| | | | | | | | As far as I am aware, we do not actually build on any platforms that require this. The last Stratos VOS release on ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5 Andrew Bartlett
* s3-passdb: Remove #if _SAMBA_BUILD_ == 4 from pdb_samba4Andrew Bartlett2012-02-081-2/+0
| | | | | | | | | pdb_samba4 is only built with waf anyway. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 8 09:17:40 CET 2012 on sn-devel-104
* s3-docs: Remove references to long-gone smbmount utilitiesAndrew Bartlett2012-02-081-3/+0
|
* auth: rename ntlmssp.c to ntlmssp_util.cAndrew Bartlett2012-02-081-1/+1
|
* s3-auth Add const to make_user_info_mapAndrew Bartlett2012-02-082-4/+4
|
* s3-build use common VERSION file for all buildsAndrew Bartlett2012-02-082-106/+1
| | | | | | There is no need to have both version files at this point. Andrew Bartlett
* Remove unused get_file_size() function.Jeremy Allison2012-02-072-14/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
* s3: Increase debug level of basic ctdb packet handlingVolker Lendecke2012-02-071-6/+6
| | | | | | | | This clutters the debug level 10 output significantly without much value Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 7 18:19:08 CET 2012 on sn-devel-104
* s3-waf: Link tdbsam against needed libraries.Andreas Schneider2012-02-071-1/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Feb 7 12:49:59 CET 2012 on sn-devel-104
* s3-waf: Link against tdb_compat instead of tdb.Andreas Schneider2012-02-072-7/+7
|
* s3-winbind: Remove unused bool "local"Christof Schmitt2012-02-061-5/+2
| | | | | | | | | | "local" is always False, so simply remove it and the if statement checking its value. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 6 23:27:48 CET 2012 on sn-devel-104
* s3: FreeBSD does not define sin6_addr.s_addr32Volker Lendecke2012-02-061-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 20:03:58 CET 2012 on sn-devel-104
* lib/util: Add hex_encode_bufVolker Lendecke2012-02-062-0/+22
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
* Ensure when setting a POSIX ACL, that the uid for aJeremy Allison2012-02-031-0/+60
| | | | | | | | | | SMB_ACL_USER_OBJ ACE (the owner ACE entry) has a duplicate permission entry as an SMB_ACL_USER, and a gid for a SMB_ACL_GROUP_OBJ ACE (the primary group ACE entry) also has a duplicate permission entry as an SMB_ACL_GROUP. If not, then if the ownership or group ownership of this file or directory gets changed, the user or group can lose their access.
* Fix mistaken assignment of gid to uid field.Jeremy Allison2012-02-031-1/+1
|
* Replace bool flags inside ensure_canon_entry_valid() with pointers.Jeremy Allison2012-02-031-11/+12
| | | | This will make the second tweak to the ACL mapping on set easier.