summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-krb5 Remove unused get_enctype_from_ap_reqAndrew Bartlett2012-04-031-10/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()Andrew Bartlett2012-04-032-30/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused get_key_from_keytabAndrew Bartlett2012-04-031-59/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: remove unused unwrap_pac()Andrew Bartlett2012-04-032-49/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: remove unused get_auth_data_from_tktAndrew Bartlett2012-04-032-67/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused get_authtime_from_tktAndrew Bartlett2012-04-032-10/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytabAndrew Bartlett2012-04-032-63/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-krb5: Remove unused get_principal_from_tktAndrew Bartlett2012-04-032-10/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libads: Remove ads_verify_ticket() as it is now unusedAndrew Bartlett2012-04-034-790/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libads: Rework kerberos_return_pac() to use GENSEC for the server-sideAndrew Bartlett2012-04-031-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>
* s3-libsmb: Remove unused spnego_parse_krb5_wrap()Andrew Bartlett2012-04-032-45/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: Reduce deps of ntlm_authAndrew Bartlett2012-04-032-4/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlm_auth: use manage_gensec_request for squid-2.5-ntlmsspAndrew Bartlett2012-04-031-178/+9
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth: Order GENSEC mechs by priority, krb5 before NTLMSSPAndrew Bartlett2012-04-033-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>
* s3-ntlm_auth: add ntlm_auth_generate_session_info_pac()Andrew Bartlett2012-04-031-0/+144
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlm_auth Use GENSEC for gss-spnego serverAndrew Bartlett2012-04-031-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>
* s4:ldap_server: fix typo in DEBUG() messageStefan Metzmacher2012-04-031-1/+1
| | | | metze
* wafsamba: Avoid NameError when printing error about missing system deps.Jelmer Vernooij2012-04-031-6/+9
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 3 17:46:42 CEST 2012 on sn-devel-104
* s3: Enhance the dbwrap needed x attempts msgVolker Lendecke2012-04-031-1/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 3 15:17:11 CEST 2012 on sn-devel-104
* lib/util: charset modules do not exist any moreAndrew Bartlett2012-04-031-4/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 3 08:07:42 CEST 2012 on sn-devel-104
* file_server: Move vfs objects initialisation into file_server.c smb.conf wrapperAndrew Bartlett2012-04-032-3/+11
|
* s3-vfs: initial work on posix:eadb moduleAndrew Bartlett2012-04-033-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
* s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally usefulAndrew Bartlett2012-04-035-38/+100
| | | | | | | | | This is now a small library, to be called from ntvfs, python and vfs_posix_eadb. The rename makes it clear that this has a different DB format to that used by vfs_xattr_tdb, and matches the posix:eadb smb.conf parameter used to configure it. Andrew Bartlett
* s3-vfs: Use new smb_load_module for better diagnosticsAndrew Bartlett2012-04-031-1/+1
|
* s3-smbd: Inline init_modules() into only callerAndrew Bartlett2012-04-032-10/+3
|
* lib/util: Add smb_load_module that returns DEBUG(0) errors on failureAndrew Bartlett2012-04-032-38/+39
| | | | | | | | These errors are very important when trying to work out why a module does not load, and this rework allows them to be shown when loading vfs modules. Andrew Bartlett
* s4:smb_server/smb2: add missing 'return;' statements in smb2srv_chain_reply()Stefan Metzmacher2012-04-021-0/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 2 23:02:53 CEST 2012 on sn-devel-104
* s4:smb_server/smb2: after smbsrv_terminate_connection() we have to returnStefan Metzmacher2012-04-021-1/+0
| | | | | | req is a talloc child of the connection... metze
* s4:smb_server/smb2: fix memory leak in smb2srv_chain_reply()Stefan Metzmacher2012-04-021-0/+2
| | | | metze
* s4:smb_server/smb2: use helper variable smb2srv_chain_reply()Stefan Metzmacher2012-04-021-6/+7
| | | | metze
* s4:smb_server/smb: remove a request from the list before adding the next one ↵Stefan Metzmacher2012-04-021-0/+1
| | | | | | in a chain. metze
* s3: Notifies should never time outVolker Lendecke2012-04-021-0/+8
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 2 12:31:17 CEST 2012 on sn-devel-104
* s4-upgradedns: Fix the fqdn for forest dns zoneAmitay Isaacs2012-04-021-1/+1
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Apr 2 10:56:10 CEST 2012 on sn-devel-104
* Fix some of the issues that Jelmer identified in my first patch. This might beRichard Sharpe2012-04-021-16/+12
| | | | | | | | changed again, especially when I figure out how to return the file as an object. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Apr 2 01:43:44 CEST 2012 on sn-devel-104
* Add an open and close method to samba.smb.SMB so we can open and close files.Richard Sharpe2012-04-011-10/+86
| | | | | | | Also, fix up some documentation. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sun Apr 1 16:29:52 CEST 2012 on sn-devel-104
* s3-aio-fork: Fix a segfault in vfs_aio_forkVolker Lendecke2012-03-311-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
* s3-aio-fork: Fix aio_suspend event hierarchyVolker Lendecke2012-03-311-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.
* s3-aio-fork: Fix an alignment warning on OS/XVolker Lendecke2012-03-311-2/+2
|
* Make sure we claim that a DACL or SACL is present if the SD says soRichard Sharpe2012-03-311-2/+2
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 31 09:34:36 CEST 2012 on sn-devel-104
* Fix an IPv6 breakage I introduced by adding an strlcpy truncation check. ↵Jeremy Allison2012-03-311-3/+10
| | | | | | | | | | | Found by Matthieu Patou <mat@samba.org>. The truncate of the strlcpy() here was a *desired* side effect. strlcpy()/strlcat() should never be used like that. Be more explicit about the truncation and don't use strlcpy here. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 31 07:59:16 CEST 2012 on sn-devel-104
* Fix bug #8831 - Inconsistent (with manpage) command-line switch for "help" ↵Jeremy Allison2012-03-301-1/+1
| | | | | | | in smbtree Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 30 22:59:53 CEST 2012 on sn-devel-104
* Who would have guessed - checking returns from strlcat found a memory ↵Jeremy Allison2012-03-301-1/+1
| | | | overwrite bug :-).
* More strlcat/strlcpy truncate checks.Jeremy Allison2012-03-308-26/+94
|
* s4 dns: Allow updating PTR records.Kai Blin2012-03-301-0/+4
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 30 19:26:52 CEST 2012 on sn-devel-104
* s3: Avoid a crash with debug level 10Volker Lendecke2012-03-301-1/+2
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 30 16:52:16 CEST 2012 on sn-devel-104
* ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl functionMatthieu Patou2012-03-308-23/+28
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Mar 30 11:59:09 CEST 2012 on sn-devel-104
* Start to add truncate checks on all uses of strlcpy(). Reading lwnJeremy Allison2012-03-294-25/+38
| | | | | | | 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
* Based on code from Richard Sharpe <realrichardsharpe@gmail.com>,Jeremy Allison2012-03-291-1/+4
| | | | ensure we don't crash on a NULL DACL.
* s3: Fix a valgrind errorVolker Lendecke2012-03-291-1/+8
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 29 15:50:13 CEST 2012 on sn-devel-104
* lib/tdb: Update ABIAmitay Isaacs2012-03-292-1/+67
| | | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Mar 29 13:12:46 CEST 2012 on sn-devel-104