summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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>
2012-04-03s3-krb5: Remove unused get_principal_from_tktAndrew Bartlett2-10/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-libads: Remove ads_verify_ticket() as it is now unusedAndrew Bartlett4-790/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-libads: Rework kerberos_return_pac() to use GENSEC for the server-sideAndrew Bartlett1-22/+167
This removes the last user of ads_verify_ticket(), and means that we only have one code path to verify an incoming krb5 (GSSAPI) ticket. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-libsmb: Remove unused spnego_parse_krb5_wrap()Andrew Bartlett2-45/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03build: Reduce deps of ntlm_authAndrew Bartlett2-4/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-ntlm_auth: use manage_gensec_request for squid-2.5-ntlmsspAndrew Bartlett1-178/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-auth: Order GENSEC mechs by priority, krb5 before NTLMSSPAndrew Bartlett3-6/+10
Otherwise, really simple clients (such as the current ntlm_auth gss-spnego client) will not select krb5. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-ntlm_auth: add ntlm_auth_generate_session_info_pac()Andrew Bartlett1-0/+144
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-ntlm_auth Use GENSEC for gss-spnego serverAndrew Bartlett1-404/+390
This imports the gensec handling code from the source4 ntlm_auth, which will eventually be used for all the NTLMSSP and SPNEGO clients and servers but which is only used for gss-spnego for now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3: Enhance the dbwrap needed x attempts msgVolker Lendecke1-1/+5
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 3 15:17:11 CEST 2012 on sn-devel-104
2012-04-03s3-vfs: initial work on posix:eadb moduleAndrew Bartlett3-1/+442
This is a module that, like vfs_xattr_tdb, stores extended attributes in a DB on disk. This uses the format needed to support the posix:eadb smb.conf option. Andrew Bartlett
2012-04-03s3-vfs: Use new smb_load_module for better diagnosticsAndrew Bartlett1-1/+1
2012-04-03s3-smbd: Inline init_modules() into only callerAndrew Bartlett2-10/+3
2012-04-02s3: Notifies should never time outVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 2 12:31:17 CEST 2012 on sn-devel-104
2012-03-31s3-aio-fork: Fix a segfault in vfs_aio_forkVolker Lendecke1-7/+9
aio_suspend does not signal the main process with a signal, it just waits. The aio_fork module does not use the signal at all, it directly calls back into the main smbd by calling smbd_aio_complete_aio_ex. This is an abstraction violation, but the alternative would have been to use signals where they are not needed. However, in wait_for_aio_completion this bites us: With aio_fork we call handle_aio_completed twice on the same aio_ex struct: Once from the call to handle_aio_completion within the aio_fork module and once from the code in wait_for_aio_completion. This patch fixes it in a pretty bad way by introducing flag variables and more state. But the mid-term plan is to replace the posix aio calls from the vfs and do pread_send/recv and pwrite_send/recv at the vfs layer, so this will significantly change anyway. Thanks to Kirill Malkin <kirill.malkin@starboardstorage.com> for reporting this crash! Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 31 15:25:55 CEST 2012 on sn-devel-104
2012-03-31s3-aio-fork: Fix aio_suspend event hierarchyVolker Lendecke1-10/+8
We end up here multiple times. There's no real point putting the events into the child struct, at the end of this routine we need to free them anyway.
2012-03-31s3-aio-fork: Fix an alignment warning on OS/XVolker Lendecke1-2/+2
2012-03-31Make sure we claim that a DACL or SACL is present if the SD says soRichard Sharpe1-2/+2
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 31 09:34:36 CEST 2012 on sn-devel-104
2012-03-30Who would have guessed - checking returns from strlcat found a memory ↵Jeremy Allison1-1/+1
overwrite bug :-).
2012-03-30More strlcat/strlcpy truncate checks.Jeremy Allison8-26/+94
2012-03-30s3: Avoid a crash with debug level 10Volker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 30 16:52:16 CEST 2012 on sn-devel-104
2012-03-29Start to add truncate checks on all uses of strlcpy(). Reading lwnJeremy Allison1-1/+3
has it's uses :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 29 20:48:15 CEST 2012 on sn-devel-104
2012-03-29Based on code from Richard Sharpe <realrichardsharpe@gmail.com>,Jeremy Allison1-1/+4
ensure we don't crash on a NULL DACL.
2012-03-29s3: Fix a valgrind errorVolker Lendecke1-1/+8
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 29 15:50:13 CEST 2012 on sn-devel-104
2012-03-28Add DEBUG statements to show when access has been denied and why.Richard Sharpe1-0/+2
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed Mar 28 07:07:26 CEST 2012 on sn-devel-104
2012-03-26s3: Pass filters explicitly through vfs notify watchVolker Lendecke10-29/+41
This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
2012-03-26s3: Fix a typoVolker Lendecke1-1/+1
2012-03-26s3: Rename a variable in inotify_watch for clarityVolker Lendecke1-5/+5
2012-03-26s3: Pass "filter" instead of "notify_entry" to inotify_mapVolker Lendecke1-4/+4
This makes the potential modification a bit more obvious
2012-03-26s3-make: Fix build with new smb2_session file.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 26 00:56:13 CEST 2012 on sn-devel-104
2012-03-25smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij1-207/+0
2012-03-24use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij6-39/+4
usleep moving to libreplace.
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij45-93/+93
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
2012-03-24adt_tree: Fix return types.Jelmer Vernooij1-3/+3
2012-03-24s3-waf: Use samba3-util library instead of lots of tiny libs.Jelmer Vernooij1-52/+18
The smaller libraries are currently all trivial in size and don't have any dependencies other than samba-util. Having lots of small private libraries is a pain for packaging, and there isn't much advantage in this.
2012-03-24adt_tree: Avoid WERROR.Jelmer Vernooij3-5/+8
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij5-36/+6
2012-03-24util_malloc: Remove unused constant.Jelmer Vernooij1-3/+0
2012-03-24lib/util: Remove dummy wrapper for getgrgid().Jelmer Vernooij1-3/+3