summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-102-1/+11
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104
* s4:torture: add some SMB2 renaming testsChristian Ambach2012-02-103-1/+843
|
* gensec: explain gensec_use_kerberos_mechs() logicAndrew Bartlett2012-02-101-1/+16
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 10 12:36:23 CET 2012 on sn-devel-104
* gensec: set flag to continue in outer for loop in gensec_use_kerberos_mechsAndrew Bartlett2012-02-101-1/+5
| | | | | | | | | This should be the correct fix for the valgrind erorr Volker found in 744ed53a62037a659133ccd4de2065491208ae7d. This fix avoids putting SPNEGO into the list twice when we are in the CRED_DONT_USE_KERBEROS case. Andrew Bartlett
* Revert "gensec: Fix a memory corruption in gensec_use_kerberos_mechs"Andrew Bartlett2012-02-101-2/+1
| | | | | | | | | This reverts commit 744ed53a62037a659133ccd4de2065491208ae7d. The real bug here is that the second half of the outer loop should not have been run once we found spnego. Andrew Bartlett
* selftest: mark posix_s3.rpc.spoolss.printer as flakey testStefan Metzmacher2012-02-101-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 10 10:04:15 CET 2012 on sn-devel-104
* s4-nbt_server: remove unused winsdb_get_seqnumber()Andrew Bartlett2012-02-101-26/+0
| | | | | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 10 08:21:41 CET 2012 on sn-devel-104
* s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett2012-02-104-40/+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-104-21/+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
* s4-lib/samba3: Remove unused smbpasswd_decode_acb_info()Andrew Bartlett2012-02-102-66/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* lib/util: Remove unused str_format_nbt_domain()Andrew Bartlett2012-02-102-41/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* charset: Remove unused strcmp_w()Andrew Bartlett2012-02-102-15/+0
| | | | | | | | Found by callcatcher. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-lib/tls: remove unused tls_support()Andrew Bartlett2012-02-102-15/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-cmdline: Remove unused popt_common_dont_ask()Andrew Bartlett2012-02-102-10/+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
* charset: Remove unused iconv_talloc()Andrew Bartlett2012-02-103-120/+1
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* build: Add --enable-coverage option to build with gcov supportAndrew Bartlett2012-02-101-0/+7
| | | | | | This allows running lcov over the output. Andrew Bartlett
* heimdal: Re-run lexyacc.sh to remove #line statementsAndrew Bartlett2012-02-107-327/+0
|
* heimdal_build: omit #line statmentsAndrew Bartlett2012-02-101-7/+9
| | | | | | | | | | | | | | | | This restores and finishes my original commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc, reverted in 68c61a829b8487104483b23052b54c532fecb6ce heimdal_build omit #line statments to allow valgrind to work again This time however, the reason to omit line statements is that it causes more trouble with the lcov code coverage system than the (nil) value that these statements bring. Otherwise, we have to have a special case to remove the .gcno and .gcda files for these generated files. Andrew Bartlett
* heimdal: Re-run lexyacc.shAndrew Bartlett2012-02-1010-6378/+2423
|
* credentials: Show returned error_string in debug messageAndrew Bartlett2012-02-101-2/+2
|
* tests/source: Add wafsamba/ files to list of Python files to check.Jelmer Vernooij2012-02-101-2/+16
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Feb 10 01:45:16 CET 2012 on sn-devel-104
* wafsamba: Expand tabs.Jelmer Vernooij2012-02-1010-597/+597
|
* gensec: Fix a memory corruption in gensec_use_kerberos_mechsVolker Lendecke2012-02-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this I get the following valgrind error: ==27740== Invalid write of size 8 ==27740== at 0x62C53E: gensec_use_kerberos_mechs (gensec_start.c:112) ==27740== by 0x62C623: gensec_security_mechs (gensec_start.c:141) ==27740== by 0x62C777: gensec_security_by_oid (gensec_start.c:181) ==27740== by 0x62DD6E: gensec_start_mech_by_oid (gensec_start.c:735) ==27740== by 0x50D6FD: negprot_spnego (negprot.c:210) ==27740== by 0x5B0DEA: smbd_smb2_request_process_negprot (smb2_negprot.c:209) ==27740== by 0x5AD036: smbd_smb2_request_dispatch (smb2_server.c:1417) ==27740== by 0x5AFB77: smbd_smb2_first_negprot (smb2_server.c:2643) ==27740== by 0x585C00: process_smb (process.c:1641) ==27740== by 0x587F78: smbd_server_connection_read_handler (process.c:2314) ==27740== by 0x587FD6: smbd_server_connection_handler (process.c:2331) ==27740== by 0x99E05B: run_events_poll (events.c:286) ==27740== by 0x584AFF: smbd_server_connection_loop_once (process.c:984) ==27740== by 0x58B2D9: smbd_process (process.c:3389) ==27740== by 0xDE4CA8: smbd_accept_connection (server.c:469) ==27740== by 0x99E05B: run_events_poll (events.c:286) ==27740== by 0x99E2D5: s3_event_loop_once (events.c:349) ==27740== by 0x99F990: _tevent_loop_once (tevent.c:504) ==27740== by 0xDE5A9B: smbd_parent_loop (server.c:869) ==27740== by 0xDE6DD8: main (server.c:1413) ==27740== Address 0x9ff3538 is 4,232 bytes inside a block of size 8,288 alloc'd ==27740== at 0x4C261D7: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==27740== by 0x6926965: __talloc (talloc.c:560) ==27740== by 0x6926771: talloc_pool (talloc.c:598) ==27740== by 0x93B927: talloc_stackframe_internal (talloc_stack.c:145) ==27740== by 0x93B9D6: talloc_stackframe_pool (talloc_stack.c:171) ==27740== by 0x58B2B7: smbd_process (process.c:3385) ==27740== by 0xDE4CA8: smbd_accept_connection (server.c:469) ==27740== by 0x99E05B: run_events_poll (events.c:286) ==27740== by 0x99E2D5: s3_event_loop_once (events.c:349) ==27740== by 0x99F990: _tevent_loop_once (tevent.c:504) ==27740== by 0xDE5A9B: smbd_parent_loop (server.c:869) ==27740== by 0xDE6DD8: main (server.c:1413) In the for-loop we can increment j twice, so we need twice as many output array elements as input array elements. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Feb 9 19:44:47 CET 2012 on sn-devel-104
* 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>
* tevent: change the version to 0.9.15Stefan Metzmacher2012-02-092-1/+79
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 9 12:24:19 CET 2012 on sn-devel-104
* tevent: Fix deleting signal events from within themselvesVolker Lendecke2012-02-091-2/+33
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* smbwrapper: Remove smbwrapperAndrew Bartlett2012-02-0920-4549/+0
| | | | | | | | | | | | | | | | | | | There are now many better ways to access a remote SMB filesystem, which do not rely on LD_PRELOAD and the associated dangers. FUSE, gvfs and the CIFS VFS are all much better options which do not require knowing every possible libc entry point that can deal with a file descriptor. As an example of the maintainence that would be required to keep this going, recent changes to deal with thread races and close-on-exec have resulted in dup3(), but this isn't currently mapped. While this would not be hard to add, it illistrates why it is better to move to an interface designed for this task. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 9 01:58:24 CET 2012 on sn-devel-104
* s3-build: remove EXEEXT from MakefilesAndrew Bartlett2012-02-098-224/+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
* s4:join python code - perform a fallback password set operation over libnetMatthias Dieter Wallnöfer2012-02-091-4/+18
| | | | | | | | Windows 2000 DCs allow LDAP password set operations only with the help of SSL. Given the fact that this technique is hard to setup it is easier to use SAMR over "libnet". Reviewed-By: Andrew Bartlett <abartlet@samba.org>
* s4:join python code - write the SAM account name correctlyMatthias Dieter Wallnöfer2012-02-091-2/+2
| | | | | | It is easier for the comprehension Reviewed-By: Andrew Bartlett <abartlet@samba.org>
* Fix shadow variable name warning.Jeremy Allison2012-02-081-10/+10
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 8 22:55:08 CET 2012 on sn-devel-104