Barry, Thanks for this! To answer some of your questions, I do not know what the version of Windows is. It is something that is fairly recent, but has not been changed for years. After looking at dmesg (as recommended by the error message), and /var/log/messages, I tried to change selinux to permissive on the F38 box, and then I was able to mount the share. However, the F37 box mounts the share fine, with selinux set at enforcing. So, should a separate context need to be created for F38? If so, what, where? Also, the mount-cifs package version is exactly the same on both F37 and F38 (both up to date). So, I do not know if mount-cifs is the issue, hence I do not know if it is worthwhile trying smbclient for this purpose. Many thanks again, and best wishes, Ranjan On Sat Apr22'23 08:51:20AM, Barry wrote: > From: Barry <barry@xxxxxxxxxxxxxxxx> > Date: Sat, 22 Apr 2023 08:51:20 +0100 > To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > Subject: Re: cifs mount error F38 > > > > > On 21 Apr 2023, at 23:33, Ranjan Maitra <mlmaitra@xxxxxxx> wrote: > > > > Barry, > > > > Thanks! > > > >> On Fri Apr21'23 10:35:32PM, Barry wrote: > >> From: Barry <barry@xxxxxxxxxxxxxxxx> > >> Date: Fri, 21 Apr 2023 22:35:32 +0100 > >> To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > >> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > >> Subject: Re: cifs mount error F38 > >> > >> > >> > >>>> On 21 Apr 2023, at 19:34, Ranjan Maitra <mlmaitra@xxxxxxx> wrote: > >>> > >>> I recently upgraded two of my Fedora machines, but when I try to mount a Windows share using mount-cifs, I get the following: > >>> > >>> mount error(126): Required key not available > >>> > >>> The mount.cifs command that is used has the following sec=ntlmssp,rw,nounix,noserverino,file_mode=0777,dir_mode=0777,vers=3.0 > >>> > >>> Mounting this same share still works from my F37 machines. Presumably something has changed with F38, and so I am wondering how to mount these shares. > >> > >> What OS and software is serving the shares? > > > > The share is a Windows share. I do not know how to answer the software question, sorry. > > What is the version of windows? > > > > >> Can you use smbclient to access the share? > > > > I do not know about this. the above sec=ntlmssp,rw,nounix,noserverino,file_mode=0777,dir_mode=0777,vers=3.0 are needed in mount.cifs for things to work, with mount.cifs. > > > > How would I try using smbclient with something that matches the above invocations? > > > > Sorry, I am not very familiar with this. > > Try the man page for smbclient, let us know if you can get it working. > > > > > Thanks again for your help! > > > > Best wishes, > > Ranjan > > _______________________________________________ > > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue