1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3
Jeff Layton 1759f089e1 cifs.upcall: negatively instantiate keys on error
When a request-key upcall exits without instantiating a key, the kernel
will negatively instantiate the key with a 60s timeout. Older kernels,
however seem to also link that key into the session keyring. This
behavior can interefere with subsequent mount attempts until the
key times out. The next request_key() call will get this negative key
even if the upcall would have worked the second time.

Fix this by having cifs.upcall negatively instantiate the key itself
with a 1s timeout and don't attach it to the session keyring.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit f760dd3f31)
2008-08-12 14:32:54 -04:00
..
auth Removed redundant logging from create_builtin_users and create_builtin_administrators 2008-07-30 15:00:49 -07:00
client cifs.upcall: negatively instantiate keys on error 2008-08-12 14:32:54 -04:00
codepages
exports build: fix build of libaddns shared lib. symbols file was missing. 2008-07-11 14:39:30 +02:00
groupdb Add fix from Simo for bug #5540 - missing code to substitute 2008-07-14 12:40:33 -07:00
include Fix prototypes 2008-08-12 11:28:29 +02:00
iniparser
iniparser_build
intl
lib netapi: add NetLocalGroupSetMembers example code. 2008-08-11 19:48:28 +02:00
libaddns build: fix a no previous prototype warning when building without ldap/gssapia 2008-08-08 23:30:19 +02:00
libads Fix uninitialized variables. 2008-07-30 16:06:30 -07:00
libcli/nbt Fix a bogus uninitialized variable warning in IDL-based nbt code 2008-04-19 17:56:35 +02:00
libgpo Cleanup size_t return values in callers of convert_string_allocate 2008-05-20 22:40:13 +02:00
libnet libnetjoin: support kerberized joining/unjoing (fix #5416). 2008-08-11 19:52:23 +02:00
librpc re-run make idl. 2008-08-11 19:47:15 +02:00
libsmb doserr: add WERR_MEMBER_IN_ALIAS. 2008-08-11 19:04:00 +02:00
locking Fix alignment problems on sparc, bug 5512 2008-07-09 20:47:31 +02:00
m4 Add --enable-picky-developer 2008-07-22 15:00:48 +02:00
modules Fix the build of vfs_zfsacl.c 2008-07-18 17:53:58 +02:00
nmbd nmbd: add support for delayed initial samlogon packages. 2008-08-09 01:15:58 +02:00
nsswitch build: fix some no previous prototype warnings. 2008-07-30 18:10:46 +02:00
pam_smbpass Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd. 2008-07-02 10:51:45 -07:00
param idmap rewrite 2008-08-12 11:28:29 +02:00
passdb pdb_interface: Fix typo in debug message. 2008-07-29 12:05:40 +02:00
pkgconfig
po po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n' 2008-04-01 16:16:55 +02:00
popt
printing Allow %u parameters for print job username - use advanced sub 2008-07-16 12:37:48 -04:00
profile Yay ! Remove a VFS entry. Removed the set_nt_acl() call, 2008-05-08 18:09:07 -07:00
registry registry: use _bystring wrappers to dbwrap_trans_(store|delete). 2008-08-05 23:40:26 +02:00
rpc_client rpc_client: Bug 5616 - fix session keys also in rpccli_netr_LogonSamLogonEx wrapper. 2008-07-30 19:14:00 +02:00
rpc_parse rpc_parse: Unify spoolss debug messages. 2008-07-22 21:46:14 +02:00
rpc_server Fix duplicate gloabl warning. 2008-07-30 15:01:33 -07:00
rpcclient rpcclient: Set the pid filed of the outgoing DsBindInfo to 0. 2008-07-28 14:08:34 +02:00
script testsuite: fix expr error on Tru64, triggered by uninitialized failed variable. 2008-07-21 11:23:55 +02:00
services Revert "Fix a memleak in svcctl_init_keys()" 2008-06-18 16:31:35 +02:00
smbd fix smb_len calculation for chained requests 2008-08-10 18:24:33 +02:00
stf
tests configure: remove unused configure check for HAVE_WORKING_AF_LOCAL 2008-05-17 13:18:31 +02:00
torture Revert "Pass NULL to gencache_get when we are not interested in the timeout value" 2008-07-11 17:53:25 +02:00
utils libnetjoin: support kerberized joining/unjoing (fix #5416). 2008-08-11 19:52:23 +02:00
web Fix swat. Bug #5613. 2008-07-15 14:37:48 -07:00
winbindd Remove two unused variables 2008-08-12 11:59:13 +02:00
.dmallocrc
.indent.pro
autogen.sh Remove references to SVN. 2008-06-17 10:43:19 +02:00
change-log
config.guess
config.sub
configure.developer
configure.in netapi: generate the netapi testsuite makefile. 2008-08-11 19:02:28 +02:00
Doxyfile
dynconfig.c
install-sh
mainpage.dox
Makefile.in Add simple async wrappers around send, recv and connect 2008-08-08 18:30:57 +02:00
smbadduser.in
VERSION Simplify samba_version_string. 2008-07-17 14:16:19 +02:00