samba 2

Message
Author
john.mcmstr
Posts: 7
Joined: Mon Feb 25, 2019 11:07 am

samba 2

#1 Post by john.mcmstr »

Hi
I am having a strange problem.
Just found Antix and I love it
However I am unable to mount a windows10 share from the 64 bit version
I get an error(22) invalid argument
Checking the kernel log I see that the vers=2.0 argument is unknown
This works from the 32 bit version ?
tried on several different machines and vmplayer and Virtualbox with the same results
Any ideas?

User avatar
Jerry3904
Administrator
Posts: 21940
Joined: Wed Jul 19, 2006 6:13 am

Re: samba 2

#2 Post by Jerry3904 »

Hi, and welcome. I'm going to move this to the antiX Forum.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: samba 2

#3 Post by dolphin_oracle »

often with windows10 you must specify a username and password, even if the share is not password protected.

I've got a windows10 share at home. I'll try out antiX on it tonight and see if it works, but I've done this in the past without issue. I use the "connectshares" utility in antiX for this.

if you want to post the command you were using to mount the share I can try that too.

one more option: spacefm in antiX can be configured to mount samba shares as well.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

john.mcmstr
Posts: 7
Joined: Mon Feb 25, 2019 11:07 am

Re: samba 2

#4 Post by john.mcmstr »

Hi
Thanks for the response
I am using the username and password variables on the mount line
I can use the exact same mount line on 32 bit version and it works
I tried "connectshares" but cannot find a way to change to samba version 2 or higher
Windows has stopped using samba 1

john.mcmstr
Posts: 7
Joined: Mon Feb 25, 2019 11:07 am

Re: samba 2

#5 Post by john.mcmstr »

Hi
Command is
mount -t cifs //192.168.1.10/stuff /mnt -o username=XXXXX,pasworrd=XXXXXX,vers=2.0
Thanks

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: samba 2

#6 Post by dolphin_oracle »

john.mcmstr wrote: Mon Feb 25, 2019 11:49 am Hi
Command is
mount -t cifs //192.168.1.10/stuff /mnt -o username=XXXXX,pasworrd=XXXXXX,vers=2.0
Thanks
Ok thanks. I'll investigate when I get home tonight, unless someone else gets to it first.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

john.mcmstr
Posts: 7
Joined: Mon Feb 25, 2019 11:07 am

Re: samba 2

#7 Post by john.mcmstr »

Hi to all.
Any help / update ?
Am out of ideas
Thanks
John

User avatar
paul1149
Posts: 472
Joined: Fri Dec 29, 2017 12:39 pm

Re: samba 2

#8 Post by paul1149 »

Not a direct answer, but you can activate smb 1 in Windows.
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

john.mcmstr
Posts: 7
Joined: Mon Feb 25, 2019 11:07 am

Re: samba 2

#9 Post by john.mcmstr »

Anyone?
smbclient works fine with the -m SMB3 option
Thanks

User avatar
dolphin_oracle
Developer
Posts: 20010
Joined: Sun Dec 16, 2007 1:17 pm

Re: samba 2

#10 Post by dolphin_oracle »

right now I can't duplicate your problem.

here's the output of "findshares", which finds my shares OK

Code: Select all

demo@antix1:~
$ findshares
Local Host Name  = antix1
Local IP Address = 192.168.1.133 on wlan0

Scanning from 192.168.1.133 on wlan0
Samba/Windows Shares
--------------------------------------------------------------------------------
WORKGROUP
    LINKSYS16521     192.168.1.100     Samba 3.0.28a
	IPC$                           IPC Service (Samba 3.0.28a)

WORKGROUP
    MX               192.168.1.104     Samba 4.5.16-Debian
	print$                         Printer Drivers
	IPC$                           IPC Service (Samba 4.5.16-Debian)
	HP_LaserJet_Pro_MFP_M225dw     HP_LaserJet_Pro_MFP_M225dw

HOME
    DESKTOP-8HGT9DD  192.168.1.110     

HOME
    MEDIAPC          192.168.1.142     
	ADMIN$                         Remote Admin
	baritone play along            
	C$                             Default share
	E$                             Default share
	IPC$                           Remote IPC
	media                          
	print$                         Printer Drivers
	scans                          
	Users                          


Server          Remote Resource        Local Mount Point
--------------------------------------------------------------------------------
192.168.1.142   media                  /mnt/mediapc/media\040on\040mediapc

and using the connectshares tool it connects OK too. (you can see the mount point). The mount command connectshares uses doesn't specify a type of samba share at all.

a manual mount with this also works

Code: Select all

sudo mount -t cifs //mediapc/media /mnt/test

the share is hosted by a windows 10 PC. I've done no special configuration to it.


this also works (modification of your mount command...in your post password is spelled wrong but I figure thats just a typo in your post.

Code: Select all

sudo mount -t cifs //mediapc/media /mnt/test -o username=fred,password=fred
So I'm not sure where your problem actually lies. Unfortunately network issues aren't my speciality but I was really hopping to find an issue with my antiX setup since I have the windows server, but I haven't found the problem.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “antiX”