Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
nicolas_figaro
Participant

how to mount windows file share on gaia r80.10 ?

Hello,

I'd like to mount a windows file share using mount.cifs command.

The command systematically fails with the output

Status code returned 0xc000006a NT_STATUS_WRONG_PASSWORD
 CIFS VFS: Send error in SessSetup = -13
 CIFS VFS: cifs_mount failed w/return code = -13

The mount syntax is :

 mount -vvv -t cifs -o username=myuser,domain=DOM,ver=3,sec=ntlm //10.10.10.107/share /mnt/share1

the mount command produces the following.

mount.cifs kernel mount options unc=//10.10.10.107\share,ip=10.10.10.107,pass=*****,ver=1,rw,username=myuser,domain=DOM,ver=3,sec=ntlm
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

did anyone already manage to mount a windows file share on gaia r80.10 ?

0 Kudos
Reply
3 Replies
PhoneBoy
Admin
Admin

We generally don’t support remote mounting file systems in this manner.

0 Kudos
Reply
Gabriele_Di_Gia
Participant

Sorry, can you show us which is the right manner? I need to mount a cifs partition, on R77.30 it works.. .but on R80.20 it don't works..

thanks

Jesse
Contributor

You'll need to enable the SMB1 "feature" in newer version of Windows if not already enabled.

You need to specify the credentials in a file with the new version of the cifs utils:

vi .cifs-creds
domain=mydomain
username=myuserid
password=mysecurepassword

Then call the file on the cifs mount:

mount -vvv -t cifs //10.10.10.10/Logs /mnt/offline_logs -o credentials=/home/admin/.cifs-creds

0 Kudos
Reply