I am not able to mount our novell 6.5 cifs share after upgrade CentOS 6.5 -> 7.0+latest updates.
The same command still works well on Centos 6.5 machines.
Solution:
Specify sec=ntlm as an option to mount command:
[root@CentOS7 mnt]# mount.cifs -o credentials=/etc/novell.credential,sec=ntlm //nw.server.xx/data /mnt/novell
or in /etc/fstab
//nw.server.xx/data /mnt/novell-data cifs noauto,user,credentials=/etc/novell.credentials,uid=user,gid=users,noserverino,noexec,file_mode=0644,dir_mode=0755,sec=ntlm
Similar problem with smbclient: connection to server cause segmentation faults:
smbclient \\\\server.x.y\\share -U USER USER's password: session request to ... Segmentation fault
Solution: create config file /etc/smb-server.conf with:
client ntlmv2 auth = no
and usecommand
smbclient \\\\server.x.y\\share -U USER -s /etc/smb-server.conf
Žádné komentáře:
Okomentovat