Archive for the ‘Samba Info’ Category

Red Hat Enterprise Linux 7 & CentOS 7 Servers – useful yum command examples

Freitag, September 27th, 2019
# yum updateinfo security
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
rhel-7-server-rpms                                       | 3.5 kB     00:00
(1/2): rhel-7-server-rpms/7Server/x86_64/updateinfo        | 3.4 MB   00:01
(2/2): rhel-7-server-rpms/7Server/x86_64/primary_db        |  62 MB   00:19
RHSA-2019:0194 Moderate/Sec.  bind-libs-32:9.9.4-73.el7_6.x86_64
RHSA-2019:1294 Important/Sec. bind-libs-32:9.9.4-74.el7_6.1.x86_64
RHSA-2019:2057 Moderate/Sec.  bind-libs-32:9.11.4-9.P2.el7.x86_64
# yum update –security
# yum update –security –exclude=kernel\*
# yum info samba
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
Installed Packages
Name        : samba
Arch        : x86_64
Version     : 4.9.1
Release     : 6.el7
Size        : 1.9 M
Repo        : installed
From repo   : rhel-7-server-rpms
Summary     : Server and Client software to interoperate with Windows machines
URL         : http://www.samba.org/
License     : GPLv3+ and LGPLv3+
Description : Samba is the standard Windows interoperability suite of programs
            : for Linux and Unix.
# yum downgrade samba-4.9.1
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
No packages marked for update
# yum info openssl
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
Installed Packages
Name        : openssl
Arch        : x86_64
Epoch       : 1
Version     : 1.0.2k
Release     : 19.el7
Size        : 814 k
Repo        : installed
From repo   : rhel-7-server-rpms
Summary     : Utilities from the general purpose cryptography library with TLS
            : implementation
URL         : http://www.openssl.org/
License     : OpenSSL
Description : The OpenSSL toolkit provides support for secure communications
            : between machines. OpenSSL includes a certificate management tool
            : and shared libraries which provide various cryptographic
            : algorithms and protocols.
# yum downgrade openssl-1.0.2k
# yum update samba -y
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
No packages marked for update
# yum update openssl -y
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
Resolving Dependencies
–> Running transaction check
—> Package openssl.x86_64 1:1.0.2k-16.el7 will be updated
—> Package openssl.x86_64 1:1.0.2k-19.el7 will be an update
–> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-19.el7 for package: 1:openssl-1.0.2k-19.el7.x86_64
–> Running transaction check
—> Package openssl-libs.x86_64 1:1.0.2k-16.el7 will be updated
—> Package openssl-libs.x86_64 1:1.0.2k-19.el7 will be an update
–> Finished Dependency Resolution
Dependencies Resolved
============================================
 Package          Arch       Version               Repository              Size
============================================
Updating:
 openssl          x86_64     1:1.0.2k-19.el7       rhel-7-server-rpms     493 k
Updating for dependencies:
 openssl-libs     x86_64     1:1.0.2k-19.el7       rhel-7-server-rpms     1.2 M
Transaction Summary
============================================
Upgrade  1 Package (+1 Dependent package)
Total size: 1.7 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-19.el7.x86_64                          1/4
  Updating   : 1:openssl-1.0.2k-19.el7.x86_64                               2/4
  Cleanup    : 1:openssl-1.0.2k-16.el7.x86_64                               3/4
  Cleanup    : 1:openssl-libs-1.0.2k-16.el7.x86_64                          4/4
  Verifying  : 1:openssl-libs-1.0.2k-19.el7.x86_64                          1/4
  Verifying  : 1:openssl-1.0.2k-19.el7.x86_64                               2/4
  Verifying  : 1:openssl-libs-1.0.2k-16.el7.x86_64                          3/4
  Verifying  : 1:openssl-1.0.2k-16.el7.x86_64                               4/4
Updated:
  openssl.x86_64 1:1.0.2k-19.el7
Dependency Updated:
  openssl-libs.x86_64 1:1.0.2k-19.el7
Complete!

Samba – Security Releases

Mittwoch, August 15th, 2018

Samba – Security Releases

 

Microsoft Windows 10 – a file level backup *.VHD to the NAS device running samba failed

Samstag, April 8th, 2017

Windows10_logo   The failure happens while the *.VHD file created by Windows Backup is mounted during backup. The *.VHD file is created as a sparse file and this is not supported by the native VHD driver and hence mounting of the .*VHD failed. The „strict allocate = yes“ option of Samba will force it to not have UNIX style behavior of creating sparse file

# vi smb.conf
[global]
strict allocate = yes

and enabling SMB Large MTU on Windows Clients

Samba 4.3.0 – mit mehr Active Directory

Mittwoch, September 9th, 2015

Samba_01