dcache: yet another fix to datanucleus dependency

Use the release version, not the old pre-release beta with the
old name.

Target: trunk
Request: 2.7
Require-book: no
Require-notes: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5925/
system-test: Fix authzdb generation when htpasswd is not installed

Otherwise gPlazma will fail due to the missing configuration file.

Target: trunk
Request: 2.7
Require-notes: no
Require-book: no
Acked-by: Karsten Schwank <karsten.schwank@desy.de>
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/5927/
webadmin: fix jquery and Co. with new wicket

wicket 6.9.x comes with own jquery library.
remove the old version. Update pages to use
included version. Update page rendering to
include required scripts.

This change fixes regressions introduced by
migrating to wicket 6.9.1 [55f703e].

Acked-by: Albert Rossi
Target: master, 2.7
Require-book: no
Require-notes: no
webadmin: sort domain entries on CellAdmin page

On a installation with 600 domains it's hard to find
required Domain/Cell.

Acked-by: Paul Millar
Target: master, 2.7
Require-book: no
Require-notes: yes
libs: update jpnfs library

update to a bugfix relase of NFS code:

this fixes enforce security flavor in the export file.

Example entry in export file:

/some/export/path *(rw,sec=krb5)

Changelog for jpnfs-0.5.2..jpnfs-0.5.5
    * [178bddd] nfs: added support for sec flavor in export file
    * [91f4cba] vfs: check security flavor used by client
    * [2cd3029] nfsv3: reply correct auth flavor of mount
    * [ca91195] nfs: ignore and log export entries with unsupported options
    * [be6ff36] junit: refactor v4 test to reduce code duplication
    * [485b6a4] nfsv41: fix open stateid leak

Acked-by: Paul Millar
Target: master, 2.7, 2.6
Require-book: yes
Require-notes: yes
gplazma-nis: plugin should fail on invalid mapping

in set up like:

map      sufficient nis
map      sufficient  authzdb

nis plugin will always stop processing even if mapping is not found.

Ticket: #7946
Acked-by: Paul Millar
Target: trunk, 2.6, 2.7
Require-book: no
Require-notes: yes
ldap: fail if no mapping, make plugin less noisy

The ldap plugin provides map, session and identity functionality.  As
a map and session plugin, the ldap plugin currently always succeeds.
This prevents an admin from making the ldap plugin requisite.

The plugin also logs at error level.  If the admin configures the
plugin as optional then some failures are expected.  For this reason,
the patch moves the logging down the debug level.

FOR RELEASE NOTES:

Currently, the ldap gPlazma plugin never fails in the map- or session-
phases of a login.  With this change, the plugin will fail if no
username is supplied or if there is no mapping for this user.  Sites
should check their gPlazma configuration if they use the ldap plugin.

Target: master
Request: 2.7
Requires-notes: yes
Requires-book: yes
Patch: http://rb.dcache.org/r/5937
Acked-by: Tigran Mkrtchyan
srm: provide better logging for internal errors

The SRM builds an object for each user request that is responsible
for generating the response.  If there is a bug in that object's
class then an InvocationTargetException is thrown.  This is logged
with the stack-trace from the ITE along with the message from the
underlying RuntimeException.

There are two problems: first, the stack-trace is from the ITE, not
the RuntimeException (therefore we don't know where the bug is);
second, the message is logged.  There are several RuntimeExceptions
that have null message, therefore seeing 'null' means we don't know
what went wrong.

This patch fixes these problems.  If the captured problem is an ITE
then the stack-trace of underlying problem reported, not that of the
ITE.  Also, the logged message includes that the problem is due to
an ITE and reports the triggering Exception's toString.

The patch also alters the message send back to the user to simply
"internal error".  Previously the exception's error message was
reported, but I believe that almost all users can do nothing with
this information (it will only confuse them) and the admin should
check the log files when investigating a problem.

Target: master
Request: 2.7
Request: 2.6
Request: 2.2
Ticket: http://rt.dcache.org/Ticket/Display.html?id=7986
Patch: http://rb.dcache.org/r/5936/
Acked-by: Karsten Schwank