이 콘텐츠는 선택한 언어로 제공되지 않습니다.

8.208. samba


Updated samba packages that fix numerous bugs and add several enhancements are now available for Red Hat Enterprise Linux 6.
Samba is an open-source implementation of the Server Message Block (SMB) or Common Internet File System (CIFS) protocol, which allows PC-compatible machines to share files, printers, and other information.

Note

The samba packages have been upgraded to upstream version 3.6.23, which provides a number of bug fixes and enhancements over the previous version. The notable changes are:
  • The format of the Trivial Database (TDB) files has been updated. The files are upgraded as soon as the new version of the smbd daemon is started. Note that it is not possible to downgrade to an older Samba version without backups of the old TDB files.
  • Printing subsystem TDB files, such as ntprinting.tdb, ntforms.tdb, ntdrivers.tdb, for old versions of Samba may contain non-UTF-8 strings in Latin-1 or other 8-bit encodings. When updating to Samba 3.6 these files have to be migrated to the new registry-based printing management. The migration has to be done manually because there is no information about the charset encoding in the files. To do so, specify the correct code page for the conversion. Use the icony -l command to list the available code pages. The mostly used one is Windows encoding corresponding to Latin-1, named CP1252.
  • The net printing dump and net printing migrate commands were extended to define the new encoding of the TDB files. As a result, it is possible to view the files with the net printing dump encoding=CP1252/path/to/ntprinters.tdb command or migrate them with the net printing migrate encoding=CP1252 /path/to/ntprinters.tdb command. When migrating printers, Red Hat suggests to do so in the following order:
    1. ntforms.tdb
    2. ntdrivers.tdb
    3. ntprinting.tdb
    Note that the migration has to be done when the Samba processes are shut down and that after migration it is needed to rename, move, or delete the files in the /var/lib/samba/ directory. (BZ#1003921)

Bug Fixes

BZ#1021706
The %G substitution character in certain variables did not resolve into a name. As a consequence, %G was replaced by the GID number and not by the group name. This update provides a patch to fix this bug and %G is now successfully substituted into a name.
BZ#1035332
When the user logs in as a guest, the guest boolean flag is attached to the user's token. When the user connected to a share with the force user option, this flag overrode the creation of the token for the specific share with the force user set, ensuring that the user had only the guest access. Consequently, files were created as the nobody user. With this update, the guest flag is set under a force user share only when the user name being mapped to was the same as the guest user. As a result, the files are created as the specified user.
BZ#1053886
The function that is used to authenticate the user did not provide all information about the user. When this function was used with another call to authenticate the user over a secure channel, the field for the path to the home directory was empty. Now, the correct DCPRC() function is called and all required fields are filled out as expected.
BZ#1087472
The libsmbclient library toolset did not initialize the default configuration parameters. As a consequence, applications using libsmbclient terminated unexpectedly when the $HOME parameter was not properly set. With this update, the default configuration values are loaded correctly and the applications no longer crashe in the described scenario.
BZ#1096522
Due to missing support for partial data and small size of certain buffers, clients were unable to cope with the buffer size returned by the server. The missing support has been added and Samba now works as expected.
BZ#1107777
With the SMB2 and SMB3 protocols, the filenama_convert() function was not called on the full path, which caused that the last component of the path was not normalized. Consequently, listing of large directories did not work correctly with SMB2 and SMB3. This bug has been fixed and large directories can be listed properly.

Enhancements

BZ#1081539, BZ#1099693
A timeout option has been added to the smbclient command-line utility. This allows users to customize the timeout value for Samba file operations.
BZ#1129006
It is now possible to set a different OS version for the Printing subsystem (spoolss) configuration. This allows users to work around situations where printing drivers do not interact with the printing server because they detect that its version is too old.
Users of samba are advised to upgrade to these updated packages, which fix these bugs and add these enhancements. After installing this update, the smb service will be restarted automatically.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.