summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-04-12clikrb5: Move pure krb wrapper functions from libads to clikrb5.Simo Sorce4-143/+145
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12gse: Remove unnecessary header.Simo Sorce1-1/+0
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12krb5_wrap: krb5_string_to_key / krb5_encrypt_block are deprecated.Simo Sorce2-20/+8
Remove checks and replace with krb5_c_string_to_key(). Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12auth-krb: Move pac related util functions in a single place.Simo Sorce2-1/+2
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12auth-krb: Make functions static.Simo Sorce1-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>
2012-04-12auth-krb: Nove oid packet check to gensec_util.Simo Sorce1-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>
2012-04-12s3-waf: remove requirement of having --enable-developer for running system ↵Günther Deschner1-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>
2012-04-12Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison1-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
2012-04-11Try and fix autoconf on the build farm. Always include sys/types.h when ↵Jeremy Allison1-0/+2
working out sizeof(blkcnt_t).
2012-04-11s3:smbd only care about missing level2 support if kernel oplocks are enabledChristian Ambach1-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
2012-04-11s3:smbd only initialize kernel oplocks if they are enabled for a shareChristian Ambach1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11s3:smbd add seperate function to initialize kernel oplocksChristian Ambach2-3/+8
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11s3:param convert kernel oplocks to share parameterChristian Ambach3-9/+6
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11Simplify the logic around doing an immediate event reschedule.Jeremy Allison1-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
2012-04-11remove --enable-developer from recursive waf build in autoconf buildAndrew Bartlett1-1/+1
wanting to run make test does not make you a developer in need of ABI checking. Andrew Bartlett
2012-04-11build: Add tevent deps for users of tevent callsAndrew Bartlett1-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
2012-04-11Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison5-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
2012-04-10s3: Use talloc_get_size instead of strlenVolker Lendecke1-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
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2-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
2012-04-09Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison3-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
2012-04-09s3: Fix the pthreadpool build on OS/XVolker Lendecke1-0/+1
OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
2012-04-09s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke1-0/+19
2012-04-09s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke1-19/+22
2012-04-09s3: Move the aio signal init to the vfs moduleVolker Lendecke3-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.
2012-04-07s3: Compile fix for dbwrap_file.cVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104
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