Overview
After upgrading to Samba 4.2.10, Samba (SMB) won't run under Xinet saying it's not the correct version. Checking the "Can access SMB Volumes" box does not resolve the issue.
Solution
Samba-client is not installed automatically with the Samba 4.2.10 package and thus WebNative fails to access the binary for smbpasswrd along with other needed executables. Follow the steps below to fix this issue:
- Confirm Samba 4.2.10 is already installed by running the command
smbstatus
. Results should say "Samba version 4.2.10". - Install the samba4-client package by running the command
yum install -y samba4-client
. - Restart samba services with the command
service smb restart
. -
Re-run the 2020.7 installer for Xinet Server. You should see the following output:
Installing XinetSMB_1.4_RedHat6_Samba4.2.10.tar.gz
Shutting down SMB services: [ OK ]
Starting SMB services: [ OK ]
SMB Installation complete.
WebNative Suite sucessfully installed - Run the command
mkdir -p /usr/lib64/samba/xinet/
to create the directory for the Xinet auth. - Run the command
touch /usr/lib64/samba/xinet/xinetauth.so
to create the Xinet auth file. -
Run vi /usr/lib64/samba/xinet/xinetauth.so and add the information below to this file. Save and exit once done:
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session optional pam_keyinit.so revoke
session required pam_limits.so
session include system-auth - Restart the samba service with the command
service smb restart
. - Go into WebNative > Fileshare / ACLS > SMB Service and click "Start SMB".
- Create a user with the option "Can access SMB Volumes" selected.
- Confirm the user can access the volumes via SMB.
Comments
0 comments
Please sign in to leave a comment.