summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-02-16s3-librpc: make gensec result handling more genericAndrew Bartlett1-11/+11
This prepares us for handling SPNEGO via gensec Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-16Rename obscure defined constants.Christopher R. Hertel (crh)11-25/+27
Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
2012-02-16s3-selftest: Remove .posix_s3 from s3 test namesAndrew Bartlett1-1/+1
As far as I can tell, this simply referred to the posix_s3.sh script that originally ran these tests. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 16 06:57:09 CET 2012 on sn-devel-104
2012-02-16selftest: Remove 'if have_ads_support:' from tests.pyAndrew Bartlett1-46/+32
The selftest system now skips launching these if the environment is not available. Andrew Bartlett
2012-02-16s3-smbd: Avoid starting log lines with the word 'error'Andrew Bartlett1-2/+10
2012-02-16s3-nmbd: Initialise newly non-static variablesAndrew Bartlett1-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
2012-02-15s3: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY, bug 8760Volker Lendecke4-6/+40
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 15 21:10:22 CET 2012 on sn-devel-104
2012-02-15s3-printing: fix crash in printer_list_set_printer()David Disseldorp1-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
2012-02-14s3: files_struct->mode is only written, remove itVolker Lendecke4-5/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104
2012-02-13s3-auth: On successful user mapping set mapped_to_guest to false.Sumit Bose1-0/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Feb 13 13:09:10 CET 2012 on sn-devel-104
2012-02-13s3-selftest: Do not assume $USERNAME is the same as $DC_USERNAMEAndrew Bartlett1-3/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 13 06:13:38 CET 2012 on sn-devel-104
2012-02-13s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPIAndrew Bartlett2-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
2012-02-13s3-libads: Move to using only the HAVE_KRB5 defineAndrew Bartlett2-13/+11
HAVE_KRB5 already implies that GSSAPI is present as well. Andrew Bartlett
2012-02-11mkversion: Add quotes around various version stringsAmitay Isaacs1-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
2012-02-10s3-waf: add dependency on talloc or it won't build if talloc.h is not in the ↵Matthieu Patou2-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
2012-02-10s3-winbindd: set the can_do_validation6 also for trusted domainMatthieu Patou1-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.
2012-02-10s3:smbd/oplock_linux: don't overwrite private_dataStefan Metzmacher1-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
2012-02-10s3:vfs_gpfs:quieten an expectable warning messageChristian Ambach1-1/+5
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 20:14:12 CET 2012 on sn-devel-104
2012-02-10s3:vfs_gpfs: fix a compiler warningChristian Ambach1-1/+2
2012-02-10s3:vfs_gpfs:Fix query of creation time from GPFSChristof Schmitt1-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>
2012-02-10s3:vfs_gpfs: make "gpfs:getrealfilename" a per share optionStefan Metzmacher2-7/+15
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2012-02-10s3:vfs_gpfs: make "gpfs:ftruncate" a per share optionStefan Metzmacher2-3/+14
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2012-02-10s3:vfs_gpfs: make "gpfs:winattr" a per share optionStefan Metzmacher2-5/+73
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2012-02-10s3:vfs_gpfs: be less verbose in get/set_xattr functionsStefan Metzmacher1-2/+2
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2012-02-10s3-smb2: Use the correct indicator if a request was deferredVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Feb 10 16:44:23 CET 2012 on sn-devel-104
2012-02-10s3-smb2: Make sure we have a subreq setVolker Lendecke1-0/+1
2012-02-10selftest: add smb2.rename to testsuiteChristian Ambach1-1/+1
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104
2012-02-10s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett3-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
2012-02-10s3-libsmb: Remove unused kerberos_compatible_enctypesAndrew Bartlett3-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
2012-02-10s3-lib: Remove unused is_myworkgroup()Andrew Bartlett2-18/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-charcnv: Remove unused rpcstr_push()Andrew Bartlett2-9/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-libsmb: Remove unused smb_krb5_mk_error()Andrew Bartlett4-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
2012-02-10s3-param: Remove unused share_defined()Andrew Bartlett2-6/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-lib: Remove unused pid_path()Andrew Bartlett2-14/+0
piddir.c calls lp_piddir() directly. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-registry: Remove unused prs_uint8()Andrew Bartlett2-23/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-10s3-charcnv: Remove unused pull_string_fnAndrew Bartlett2-42/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-09s3-printing: Add new printers to registry.Björn Baumbach3-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
2012-02-09s3-libsmb: Remove obsolete smb_krb5_locate_kdc.Andreas Schneider4-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
2012-02-09s3-net: Don't use an internal krb5 for kdc lookup.Andreas Schneider1-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>
2012-02-09s3-build: remove EXEEXT from MakefilesAndrew Bartlett5-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
2012-02-08s3-passdb: Remove #if _SAMBA_BUILD_ == 4 from pdb_samba4Andrew Bartlett1-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
2012-02-08s3-docs: Remove references to long-gone smbmount utilitiesAndrew Bartlett1-3/+0
2012-02-08auth: rename ntlmssp.c to ntlmssp_util.cAndrew Bartlett1-1/+1
2012-02-08s3-auth Add const to make_user_info_mapAndrew Bartlett2-4/+4
2012-02-08s3-build use common VERSION file for all buildsAndrew Bartlett2-106/+1
There is no need to have both version files at this point. Andrew Bartlett
2012-02-07Remove unused get_file_size() function.Jeremy Allison2-14/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
2012-02-07s3: Increase debug level of basic ctdb packet handlingVolker Lendecke1-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
2012-02-07s3-waf: Link tdbsam against needed libraries.Andreas Schneider1-1/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Feb 7 12:49:59 CET 2012 on sn-devel-104
2012-02-07s3-waf: Link against tdb_compat instead of tdb.Andreas Schneider2-7/+7
2012-02-06s3-winbind: Remove unused bool "local"Christof Schmitt1-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