summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Fix a typoVolker Lendecke2012-04-121-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 12 23:38:24 CEST 2012 on sn-devel-104
* s3: Fix a segfault with debug level 3 on SolarisVolker Lendecke2012-04-121-1/+2
| | | | printf can not deal with NULL strings
* clikrb5: Move pure krb wrapper functions from libads to clikrb5.Simo Sorce2012-04-124-143/+145
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* gse: Remove unnecessary header.Simo Sorce2012-04-121-1/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated.Simo Sorce2012-04-122-20/+8
| | | | | | Remove checks and replace with krb5_c_string_to_key(). Signed-off-by: Andreas Schneider <asn@samba.org>
* auth-krb: Move pac related util functions in a single place.Simo Sorce2012-04-122-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* auth-krb: Make functions static.Simo Sorce2012-04-121-1/+0
| | | | | | | The remaining gssapi_parse functions were used exclusively in gensec_krb5. Move them there and make them static. Signed-off-by: Andreas Schneider <asn@samba.org>
* auth-krb: Nove oid packet check to gensec_util.Simo Sorce2012-04-121-21/+1
| | | | | | | | This is clearly a utiliy function generic to gensec. Also the 3 callers had identical implementations. Provide a generic implementation for all of them and avoid duplicating the code everywhere. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-waf: remove requirement of having --enable-developer for running system ↵Günther Deschner2012-04-121-1/+1
| | | | | | | | | | | krb5 checks. When you know about "with_mit_krb5_checks" you are most likely a developer already. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison2012-04-121-6/+0
| | | | | | | | | should just do it. Still trying to fix the buildfarm. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104
* Try and fix autoconf on the build farm. Always include sys/types.h when ↵Jeremy Allison2012-04-111-0/+2
| | | | working out sizeof(blkcnt_t).
* s3:smbd only care about missing level2 support if kernel oplocks are enabledChristian Ambach2012-04-111-4/+10
| | | | | | | | | if kernel oplocks are not enabled for that share, we can grant level2 oplocks Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 22:45:21 CEST 2012 on sn-devel-104
* s3:smbd only initialize kernel oplocks if they are enabled for a shareChristian Ambach2012-04-111-0/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smbd add seperate function to initialize kernel oplocksChristian Ambach2012-04-112-3/+8
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:param convert kernel oplocks to share parameterChristian Ambach2012-04-113-9/+6
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Simplify the logic around doing an immediate event reschedule.Jeremy Allison2012-04-111-23/+7
| | | | | | | | We don't need to do a talloc here, we already have a long-lived pointer we can pass in as the private data. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 08:05:47 CEST 2012 on sn-devel-104
* remove --enable-developer from recursive waf build in autoconf buildAndrew Bartlett2012-04-111-1/+1
| | | | | | wanting to run make test does not make you a developer in need of ABI checking. Andrew Bartlett
* build: Add tevent deps for users of tevent callsAndrew Bartlett2012-04-111-3/+3
| | | | | | | | | This isn't strictly required - this isn't a build break at the moment, but is a good practice to directly depend on the major libraries we use, and helps us to have more fine-grained rather than global dependencies. Andrew Bartlett
* Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison2012-04-115-0/+786
| | | | | | | to follow. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 02:29:04 CEST 2012 on sn-devel-104
* s3: Use talloc_get_size instead of strlenVolker Lendecke2012-04-101-1/+1
| | | | | | | | We've just talloc_asprintf'ed the fullpath, so talloc_get_size knows the strlen. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 10 13:20:22 CEST 2012 on sn-devel-104
* On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2012-04-102-3/+0
| | | | | | | libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
* Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison2012-04-093-12/+8
| | | | | | | platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
* s3: Fix the pthreadpool build on OS/XVolker Lendecke2012-04-091-0/+1
| | | | | OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
* s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke2012-04-091-0/+19
|
* s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke2012-04-091-19/+22
|
* s3: Move the aio signal init to the vfs moduleVolker Lendecke2012-04-093-21/+16
| | | | | | On platforms that don't have an RT signal space, signal initialization fails. aio_fork and aio_pthread don't need the signal, so this would block them from running as well.
* s3: Compile fix for dbwrap_file.cVolker Lendecke2012-04-071-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104
* Found whilst back-porting the fix for bug 8837 - smbd crashes when deleting ↵Jeremy Allison2012-04-071-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
* Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison2012-04-063-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.
* s3-utils: add do_reload_printers command to smbcontolBjörn Baumbach2012-04-061-0/+14
| | | | Add command to force smbd to reload printers by sending MSG_PRINTER_PCAP.
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-0661-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
* s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2012-04-052-3/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-0514-175/+5
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2012-04-051-1/+1
|
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-0514-213/+6
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-0513-133/+4
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-0514-193/+2
|
* build: Remove unused GLIBC_HACK_FCNTL64Andrew Bartlett2012-04-051-13/+0
| | | | | | | This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
* build: Fix sys_open() removal by including system/filesys.hAndrew Bartlett2012-04-051-0/+1
|
* build: Remove SMB_F* locking definesAndrew Bartlett2012-04-056-28/+12
|
* build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett2012-04-053-6/+2
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-0529-154/+146
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-0519-59/+51
|
* build: Remove sys_rewinddir wrapperAndrew Bartlett2012-04-054-11/+2
|
* build: Remove sys_closedir wrapperAndrew Bartlett2012-04-058-28/+17
|
* build: Remove sys_telldir wrapperAndrew Bartlett2012-04-054-12/+2
|
* build: Remove sys_seekdir wrapperAndrew Bartlett2012-04-054-12/+2
|
* build: Remove sys_readdir wrapperAndrew Bartlett2012-04-058-17/+7
|
* build: Remove sys_opendir wrapperAndrew Bartlett2012-04-058-19/+9
|
* build: Remove sys_fopen wrapperAndrew Bartlett2012-04-056-17/+6
|