LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2023, 02:44 AM   #1
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Rep: Reputation: Disabled
Mount issue


Dear,
Could you help to the following issue of mount?
Attached Thumbnails
Click image for larger version

Name:	6j.png
Views:	34
Size:	31.7 KB
ID:	40864  

Last edited by Ant_1985; 04-21-2023 at 03:34 AM.
 
Old 04-21-2023, 03:02 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,706
Blog Entries: 19

Rep: Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506
It doesn't like you giving it a password. You don't do that with mount.
 
Old 04-21-2023, 03:12 AM   #3
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,020

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
User and password are options and as such must be preceded with -o (mount -o user=james -o password=Hm32... and so on. Yes, you exposed your credentials, if this server is public, change them at once. In future paste text as text, not as screenshots, or at least censor it properly, and not with airbrush tool.
 
1 members found this post helpful.
Old 04-21-2023, 03:21 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,706
Blog Entries: 19

Rep: Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506
Quote:
Originally Posted by lvm_ View Post
User and password are options and as such must be preceded with -o
Oops! Yes, they are options to mount.cifs, which apparently mount invokes in the case of a cifs filesystem. You learn something every day.
 
Old 04-21-2023, 03:22 AM   #5
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thanks to all.

Last edited by Ant_1985; 04-21-2023 at 03:44 AM.
 
Old 04-21-2023, 03:43 AM   #6
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Can you help to the issue below?
Attached Thumbnails
Click image for larger version

Name:	6l.png
Views:	13
Size:	33.5 KB
ID:	40865  
 
Old 04-21-2023, 03:45 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,706
Blog Entries: 19

Rep: Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506
Quote:
Originally Posted by Ant_1985 View Post
It is the same issue if I remove password in above.
It's not the passord that is the problem, it's the fact that you haven't signalled to mount that these are options and not primary arguments. Do what lvm_ says and put the options marker -o in front of them, then give all the options in a comma-separated list.

Last edited by hazel; 04-21-2023 at 03:47 AM.
 
Old 04-21-2023, 04:31 AM   #8
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Can you help to the following? Is it missing commas to it?
Attached Thumbnails
Click image for larger version

Name:	6n.png
Views:	12
Size:	34.9 KB
ID:	40866  
 
Old 04-21-2023, 05:28 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,829

Rep: Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967
What operating system / version is running on the server?

What operating system / version is running on the client?

Are the share and permissions configured correctly on the server?
Is the firewall allowed incoming CIFS connections?
 
Old 04-21-2023, 11:57 PM   #10
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
I run this on Ubuntu 22.04 OS, to back up the OS, into Windows 2019 server. I usually create the backup (of the other OS) in the same way, into the same Windows 2019 server remotely, and everything is fine.
 
Old 04-22-2023, 04:51 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,829

Rep: Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967
Make sure the server is using smb versions 2+
 
Old 04-28-2023, 11:05 PM   #12
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
SMB on Ubuntu 22.04, right?

Last edited by Ant_1985; 04-29-2023 at 12:30 AM.
 
Old 04-29-2023, 05:43 AM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,829

Rep: Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967
SMB on the Windows 2019 server.
 
Old 05-03-2023, 04:29 AM   #14
Ant_1985
LQ Newbie
 
Registered: May 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
I've enabled SMB on Windows 2019 server and was having the issue like the following. Please help
Attached Thumbnails
Click image for larger version

Name:	4e.png
Views:	10
Size:	25.0 KB
ID:	40966  
 
Old 05-03-2023, 06:16 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,829

Rep: Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967Reputation: 5967
You forgot the mount point for the share i.e

Code:
mount -t cifs -o user=xxxx //server/share /mnt
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 12:17 PM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration