Samba Help


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Samba Help
# 15  
Old 08-03-2018
Hmmmm......Without any further suggestions I'd be inclined to try a brute force approach and add:

Code:
-o vers=1.0

-o vers=2.0

-o vers=3.0

to the mount command line and just see if any of them work.

It's possible that Windows 10 is running cifs version 3.0 and that Kubuntu doesn't support version 3. However, I do know that there is a way to switch off Windows cifs 3 and revert to cifs 2. I'll need to search for that.
# 16  
Old 08-03-2018
Quote:
Originally Posted by TBotNik
. . .
The specified "password" twice is because the password to this share is actually 'password'
. . .
I don't think that's the reason for the message. Try to mount WITHOUT authentication data; it should prompt you, then. I don't have a - huaaa - windows machine around, so I can't test. And, switch the xtrace (-x) option on and post the log.
# 17  
Old 08-07-2018
Quote:
Originally Posted by Don Cragun
Maybe you'll want to fix the syntax error in your CIFS installation???
If I knew what the error was I wouldn't be asking here!
# 18  
Old 08-07-2018
Hold it! No reason to become snappisch.

In a constructive way, you would READ (and quote) Don Cragun's entire post:

Quote:
Originally Posted by Don Cragun
How can I explain?

You say you have syntax errors in your Samba configuration. You don't show us your Samba configuration files and you don't tell us what syntax errors you're getting. Therefore, all I can suggest is that you fix your syntax errors and try again.

If you would show us the exact errors that you are seeing and you would show us the files that are generating those errors, we might be able to help you further. Without seeing the actual errors you are receiving and the code/data that is producing those errors, there is absolutely no way that we can guess at what might be wrong!
Quote:
Originally Posted by TBotNik
If I knew what the error was I wouldn't be asking here!
We do even less. So - the ball is in your court!
This User Gave Thanks to RudiC For This Post:
# 19  
Old 08-07-2018
All,


Ok shortened the cmd to:
Code:
mount -t cifs  //server /media/winsvr

It prompts for password. When entered gives error:
Quote:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Looked up the error online and then ran:
Code:
tail -f  /var/log/kern.log

Which is showing:

Quote:
Aug 7 14:16:37 mypc kernel: [23672.250160] CIFS VFS: Malformed UNC in devname.

This is cryptic and means nothing at all to me!


Cheers!


TBNK

Last edited by TBotNik; 08-07-2018 at 04:47 PM..
# 20  
Old 08-07-2018
Did you try with the numerical IP address in lieu of the server name (as proposed by Corona688)?


Try to add the sec=ntlm option.


Post the output of
Code:
dpkg -l | grep -i "cifs\|smb"

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

2. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

3. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

4. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

5. Solaris

SAMBA - where?

Greetings.. I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere... can u guys gimme a link to a sun compatilble version of samba ? thanx thanx htanx..... :rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies

6. UNIX for Dummies Questions & Answers

Why use Samba?

Hi, I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba". From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users. That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies

7. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

8. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies
Login or Register to Ask a Question