Libsmb2 components fall under separate licences


The lib and include directories (except DCE/RPC)
===============================================
The smb2 client library itself, i.e. the lib directory and non-DCE/RPC
headers under include/, is licenced under GNU Lesser General Public
License as published by the Free Software Foundation; either version 2.1
of the License, or (at your option) any later version.

A copy of LGPL 2.1 is included in the file LICENCE-LGPL-2.1.txt but can
also be downloaded from
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

This is the licence that applies to the libsmb2 library and its use.

--------------------------------------------------------------------------------

The copy of LICENCE-LGPL-2.1.txt that ships with Nostalgia Commander is
License-libsmb2-LGPL.txt, beside this file. The DCE/RPC library and the
examples are not part of the build that ships, so their licences do not apply.

================================================================================

Some files of the library carry other notices. Those that ask to be reproduced,
in full:

lib/md4c.c and lib/md4.h, the RSA Data Security, Inc. MD4 Message-Digest
Algorithm:

Copyright (C) 1990-2, RSA Data Security, Inc. All rights reserved.

License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD4 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.

License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD4 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.

RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.

These notices must be retained in any copies of any part of this
documentation and/or software.

--------------------------------------------------------------------------------

include/smb2/smb2-ioctl.h:

Copyright 2025 Ronnie Sahlberg <ronniesahberg@gmail.com>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall
be included in all copies or substantial portions of the
Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------

lib/md5.c and lib/aes_reference.c are placed in the public domain by their
authors. The SHA and HMAC code (lib/sha1.c, lib/sha224-256.c,
lib/sha384-512.c, lib/usha.c, lib/hmac.c) is the reference code of RFC 4634
and carries no notice of its own.
