Salix 15 - Samba - Bad Argument

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
salpek
Posts: 11
Joined: 22. Apr 2022, 22:09

Salix 15 - Samba - Bad Argument

Post by salpek »

Hi,
I've just upgrade another machine from 14.2 to 15 and everything is ok, except Samba share.

In Thunar I see all shared host and their shared folders, but I cannot enter any of them - after click nothing happens.

If I try something like this: smb://host/folder I got pop window: Cannot Open System File. Windows share mount fail: Bad Argument (translation from PL to EN)

Same happens in Gigolo.

In 14.2 works great (same smb.conf).

If I try acess the shared folder from another host I got message:
The remote computer identity cannot be checked
If I hit Login I get Window Login (no Annonymouse possibility) and then after login - user and pass Salix15 - auto entry @ sftp to the salix host with all folders...

Please help I need samba share - this Salix host get all pdf scans via samba from Xerox standalone printer... :)

Exactly same problem on another upgraded machine...
salpek
Posts: 11
Joined: 22. Apr 2022, 22:09

Re: Salix 15 - Samba - Invalid argument

Post by salpek »

OK, this is bug in samba package (4.15.9-i586-1_slack15.0):
https://askubuntu.com/questions/1347800 ... m-nautilus

Solution:
0.

DO NOT USE slapt-get --remove samba - it will remove a lot of other needed packages!!!

1.

Code: Select all

removepkg samba

2.

Code: Select all

slapt-get -i samba-4.15.5-i586-1
3.

Blacklist samba in Gslapt [until 4.16.0-4 --fixed]

Now everything works fine :)
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix 15 - Samba - Bad Argument

Post by djemos »

without installing samba 4.15.5
can type this on address bar on thunar
smb://user_name:password@machine-network_ip/share
e.g. if share is /tmp and user name is djemos and password is some_pass and 192.168.2.210 is the machine network ip
smb://djemos:some_pass@192.168.2.210/tmp
salpek
Posts: 11
Joined: 22. Apr 2022, 22:09

Re: Salix 15 - Samba - Bad Argument

Post by salpek »

djemos wrote: 7. Sep 2022, 16:03 without installing samba 4.15.5
can type this on address bar on thunar
smb://user_name:password@machine-network_ip/share
e.g. if share is /tmp and user name is djemos and password is some_pass and 192.168.2.210 is the machine network ip
smb://djemos:some_pass@192.168.2.210/tmp
I've try this (works fine on linux mint) but still get Invalid argument.
I even add to smb.conf:

Code: Select all

client min protocol = NT1
server min protocol = NT1
and still Invalid argument.

Downgrade samba package was the only solution in my case.

Tomorrow I try thunar bar direct way on second machine before downgrading samba package.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix 15 - Samba - Bad Argument

Post by djemos »

here works fine
my global settings in smb.conf

Code: Select all

server role = standalone server
   client min protocol = NT1
   min protocol = LANMAN2
   client max protocol = SMB3_11
   load printers = yes
   guest ok=yes
   security = user
   map to guest = Bad User
   usershare allow guests = yes
   cups options = raw
   printing = cups
   printcap name = cups
Post Reply