summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-04-07Found whilst back-porting the fix for bug 8837 - smbd crashes when deleting ↵Jeremy Allison1-9/+10
directory and veto files are enabled. The delete tokens are unique to each name hash representing a pathname, if we don't correctly return here we'll add duplicate tokens for a given pasname hash. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 7 02:13:58 CEST 2012 on sn-devel-104
2012-04-06Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison3-0/+53
it is on a 32-bit system and defined as a long, then inside vfswrap_get_alloc_size() we cast to a uint64_t. This sign-extends when converting to unsigned, so if the high bit of st_ex_blksize is set we return insane values to clients.
2012-04-06s3-utils: add do_reload_printers command to smbcontolBjörn Baumbach1-0/+14
Add command to force smbd to reload printers by sending MSG_PRINTER_PCAP.
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett61-367/+364
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2-3/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
2012-04-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett14-175/+5
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett1-1/+1
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett14-213/+6
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett13-133/+4
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett14-193/+2
2012-04-05build: Remove unused GLIBC_HACK_FCNTL64Andrew Bartlett1-13/+0
This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
2012-04-05build: Fix sys_open() removal by including system/filesys.hAndrew Bartlett1-0/+1
2012-04-05build: Remove SMB_F* locking definesAndrew Bartlett6-28/+12
2012-04-05build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett3-6/+2
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett29-154/+146
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett19-59/+51
2012-04-05build: Remove sys_rewinddir wrapperAndrew Bartlett4-11/+2
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett8-28/+17
2012-04-05build: Remove sys_telldir wrapperAndrew Bartlett4-12/+2
2012-04-05build: Remove sys_seekdir wrapperAndrew Bartlett4-12/+2
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett8-17/+7
2012-04-05build: Remove sys_opendir wrapperAndrew Bartlett8-19/+9
2012-04-05build: Remove sys_fopen wrapperAndrew Bartlett6-17/+6
2012-04-05build: Remove sys_open wrapperAndrew Bartlett15-33/+23
2012-04-05build: Remove sys_creat wrapperAndrew Bartlett3-12/+2
2012-04-05build: Remove fallback call to sys_open as HAVE_CREAT is not actually ↵Andrew Bartlett1-8/+0
checked for
2012-04-05build: Remove sys_ftell wrapperAndrew Bartlett3-11/+1
2012-04-05build: Remove sys_lseek wrapperAndrew Bartlett9-21/+11
2012-04-05build: Remove sys_ftruncate wrapperAndrew Bartlett5-17/+7
2012-04-05build: combine off_t 64 bit and largefile testAndrew Bartlett1-24/+10
2012-04-05build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett5-113/+2
2012-04-05Remove off64_t declarationsAndrew Bartlett2-2/+2
2012-04-05build: Fix configure test that was declaring an off64_tAndrew Bartlett1-1/+0
2012-04-05build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any moreAndrew Bartlett4-206/+48
2012-04-05build: Remove configure tests for *64 functions and typesAndrew Bartlett2-486/+38
We now use the standard types only. Andrew Bartlett
2012-04-05build: Require 64-bit files support and do not define ↵Andrew Bartlett2-19/+7
HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-04-05build: use only standard _FILE_OFFSET_BITS=64 macro for large filesAndrew Bartlett1-145/+7
(We also already use any other macro as set by getconf LFS_CFLAGS, and the standard AC_SYS_LARGEFILE macro in libreplace). This is instead of using the transitional *64 posix largefile API Andrew Bartlett
2012-04-05Third part of fix for bug #8837 - smbd crashes when deleting directory and ↵Jeremy Allison1-1/+1
veto files are enabled. Use correct check to see if veto files has been enabled. Even if not set lp_veto_files() returns a valid string address (to a '\0' character). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 5 01:36:04 CEST 2012 on sn-devel-104
2012-04-04Second part of bugfix for bug #8837 - smbd crashes when deleting directory ↵Jeremy Allison6-20/+74
and veto files are enabled. Store the 'struct security_token' as well as the 'struct security_unix_token' inside the locking db when setting a delete on close.
2012-04-04First part of fix for bug 8837 - smbd crashes when deleting directory and ↵Jeremy Allison2-2/+2
veto files are enabled. Add some const to the sec_ctx code.
2012-04-03build: Remove checks for krb5_decode_ap_req, free_AP_REQ and ↵Andrew Bartlett2-65/+1
KRB5_TICKET_HAS_KEYINFO Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 19:19:33 CEST 2012 on sn-devel-104
2012-04-03build: Remove unused check for HAVE_KRB5_TKT_ENC_PART2Andrew Bartlett2-13/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5 Remove unused get_kvno_from_ap_req()Andrew Bartlett1-13/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5 Remove unused get_enctype_from_ap_reqAndrew Bartlett1-10/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()Andrew Bartlett2-30/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_key_from_keytabAndrew Bartlett1-59/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused unwrap_pac()Andrew Bartlett2-49/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused get_auth_data_from_tktAndrew Bartlett2-67/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_authtime_from_tktAndrew Bartlett2-10/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytabAndrew Bartlett2-63/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>