Cifs mount problem
Hi I'm trying to mount a smb share on a linux nas at the
Address: 192.168.1.183 / ODROIDXU4-SHARE
Path: Myfiles-Share
I have made a file .smbcredentials under the user "rene" and chmod 600 on it which looks like this:
username=rene
password=***********
And my fstab looks like this
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0194-4700 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
#//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,vers=1.0,sec=ntlm 0 0
But I get the following error in dmesg:
[ 2675.630962] CIFS VFS: Send error in SessSetup = -13
[ 2675.630989] CIFS VFS: cifs_mount failed w/return code = -13
[ 2899.179580] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2899.179598] CIFS VFS: Send error in SessSetup = -13
[ 2899.179627] CIFS VFS: cifs_mount failed w/return code = -13
I can access this share in windows so it works / is active - Anyone who has a possible solution to the problem?
18.04
add a comment |
Hi I'm trying to mount a smb share on a linux nas at the
Address: 192.168.1.183 / ODROIDXU4-SHARE
Path: Myfiles-Share
I have made a file .smbcredentials under the user "rene" and chmod 600 on it which looks like this:
username=rene
password=***********
And my fstab looks like this
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0194-4700 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
#//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,vers=1.0,sec=ntlm 0 0
But I get the following error in dmesg:
[ 2675.630962] CIFS VFS: Send error in SessSetup = -13
[ 2675.630989] CIFS VFS: cifs_mount failed w/return code = -13
[ 2899.179580] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2899.179598] CIFS VFS: Send error in SessSetup = -13
[ 2899.179627] CIFS VFS: cifs_mount failed w/return code = -13
I can access this share in windows so it works / is active - Anyone who has a possible solution to the problem?
18.04
Have you tried different values forsec=
, likesec=ntlmssp
orsec=ntlmv2
?
– Jos
Jan 20 at 19:42
I made it work with this line: //192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0
– Rene Mortensen
Jan 20 at 19:54
Don't know how to mark the post as resolved?
– Rene Mortensen
Jan 20 at 19:58
Answer the question yourself, then accept the answer.
– Jos
Jan 20 at 21:41
add a comment |
Hi I'm trying to mount a smb share on a linux nas at the
Address: 192.168.1.183 / ODROIDXU4-SHARE
Path: Myfiles-Share
I have made a file .smbcredentials under the user "rene" and chmod 600 on it which looks like this:
username=rene
password=***********
And my fstab looks like this
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0194-4700 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
#//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,vers=1.0,sec=ntlm 0 0
But I get the following error in dmesg:
[ 2675.630962] CIFS VFS: Send error in SessSetup = -13
[ 2675.630989] CIFS VFS: cifs_mount failed w/return code = -13
[ 2899.179580] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2899.179598] CIFS VFS: Send error in SessSetup = -13
[ 2899.179627] CIFS VFS: cifs_mount failed w/return code = -13
I can access this share in windows so it works / is active - Anyone who has a possible solution to the problem?
18.04
Hi I'm trying to mount a smb share on a linux nas at the
Address: 192.168.1.183 / ODROIDXU4-SHARE
Path: Myfiles-Share
I have made a file .smbcredentials under the user "rene" and chmod 600 on it which looks like this:
username=rene
password=***********
And my fstab looks like this
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0194-4700 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
#//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,vers=1.0,sec=ntlm 0 0
But I get the following error in dmesg:
[ 2675.630962] CIFS VFS: Send error in SessSetup = -13
[ 2675.630989] CIFS VFS: cifs_mount failed w/return code = -13
[ 2899.179580] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2899.179598] CIFS VFS: Send error in SessSetup = -13
[ 2899.179627] CIFS VFS: cifs_mount failed w/return code = -13
I can access this share in windows so it works / is active - Anyone who has a possible solution to the problem?
18.04
18.04
edited Jan 20 at 10:56
Rene Mortensen
asked Jan 20 at 10:41
Rene MortensenRene Mortensen
155
155
Have you tried different values forsec=
, likesec=ntlmssp
orsec=ntlmv2
?
– Jos
Jan 20 at 19:42
I made it work with this line: //192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0
– Rene Mortensen
Jan 20 at 19:54
Don't know how to mark the post as resolved?
– Rene Mortensen
Jan 20 at 19:58
Answer the question yourself, then accept the answer.
– Jos
Jan 20 at 21:41
add a comment |
Have you tried different values forsec=
, likesec=ntlmssp
orsec=ntlmv2
?
– Jos
Jan 20 at 19:42
I made it work with this line: //192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0
– Rene Mortensen
Jan 20 at 19:54
Don't know how to mark the post as resolved?
– Rene Mortensen
Jan 20 at 19:58
Answer the question yourself, then accept the answer.
– Jos
Jan 20 at 21:41
Have you tried different values for
sec=
, like sec=ntlmssp
or sec=ntlmv2
?– Jos
Jan 20 at 19:42
Have you tried different values for
sec=
, like sec=ntlmssp
or sec=ntlmv2
?– Jos
Jan 20 at 19:42
I made it work with this line: //192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0
– Rene Mortensen
Jan 20 at 19:54
I made it work with this line: //192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0
– Rene Mortensen
Jan 20 at 19:54
Don't know how to mark the post as resolved?
– Rene Mortensen
Jan 20 at 19:58
Don't know how to mark the post as resolved?
– Rene Mortensen
Jan 20 at 19:58
Answer the question yourself, then accept the answer.
– Jos
Jan 20 at 21:41
Answer the question yourself, then accept the answer.
– Jos
Jan 20 at 21:41
add a comment |
1 Answer
1
active
oldest
votes
I made it work with this line:
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0 –
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111328%2fcifs-mount-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I made it work with this line:
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0 –
add a comment |
I made it work with this line:
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0 –
add a comment |
I made it work with this line:
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0 –
I made it work with this line:
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0 –
edited Jan 23 at 21:14
answered Jan 21 at 23:59
Rene MortensenRene Mortensen
155
155
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111328%2fcifs-mount-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried different values for
sec=
, likesec=ntlmssp
orsec=ntlmv2
?– Jos
Jan 20 at 19:42
I made it work with this line: //192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0
– Rene Mortensen
Jan 20 at 19:54
Don't know how to mark the post as resolved?
– Rene Mortensen
Jan 20 at 19:58
Answer the question yourself, then accept the answer.
– Jos
Jan 20 at 21:41