Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
19 user(s) are online (17 user(s) are browsing Forums)

Members: 0
Guests: 19

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
Hello everybody,

I am trying to connect to Samba Amiga Shares from my Win 10 pro machine. The whole thing is setup on the Amiga OS4 side, and already working with WinXP (via VMWare Player and on my other machine).

However Win 10 keeps telling me, when I connect a share, that I donnot have proper authentification. This is my smb.conf:

[global]
client code page 850
character set 
ISO8859-15
workgroup
=WORKGROUP
security
=share
masterbrowser
=no
serverstring
=AmigaSambaServer
logfile
=/t/samba.%m.log
maxlogsize
=50
passwordserver
=none
loadprinters
=no
browseable
=yes
preservecase
=no
guestok
=yes
guestonly
=yes

[Data]
path="/Data"
writeable=yes

Any Idea? Thanx

Go to top
Re: Samba/smb.conf + Windows 10 ??
Home away from home
Home away from home


See User information
@gerograph

This has been "updated" to not work with our outdated samba package since Win7.

Something to do with security/authentification, like you said.

Nothing that can be done about it, unless someone updates SAMBA

Go to top
Re: Samba/smb.conf + Windows 10 ??
Just can't stay away
Just can't stay away


See User information

Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
@Raziel

as far as I know, this was just for using Windows Shares in AmigaOS not vica versa!

@MickJT
I'll read through, and report back...thanx

Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
@MickJT

No, sorry that doesn't help. However, is there a possibility to define a "User" and a "password" inside smb.conf or/and Roadshow???

Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
Anybody?

Go to top
Re: Samba/smb.conf + Windows 10 ??
Quite a regular
Quite a regular


See User information
Don't think that it works after Windows XP.
You could use a Virtual machine on your Win10 machine runing Linux with Samba as a bridge to transfer files between the two OS's.

Go to top
Re: Samba/smb.conf + Windows 10 ??
Just popping in
Just popping in


See User information
@Spectre660

Actually it does work if you don't mind finding the buried settings in Win10 along with messing with advanced samba materials and making somewhat of a mess with dcpromo stuff under Windows(a Windows NT 4/2000/XP/...) server legacy

I had to deal with this kind of crap some years ago...

I'll have to see about digging out an old config and messing with this junk again.

Go to top
Re: Samba/smb.conf + Windows 10 ??
Just can't stay away
Just can't stay away


See User information
I've uploaded a new cURL to OS4Depot, and it now supports downloading from and uploading to SMB/CIFS servers.

Downloading examples:

curl -O smb://user:pass@1.2.3.4/folder/file.txt
curl -O -u "domain\username:passwd" smb://server.example.com/share/file.txt

Uploading examples:

curl -T file.txt smb://user:pass@1.2.3.4/folder/
curl -T file.txt -u "domain\username:passwd" smb://server.example.com/share/

It doesn't look like there's a way to list the files, yet.

Keep in mind if you use smb://user:pass@ip, then the file comment will contain the full URL including user and password.


Edited by MickJT on 2016/1/8 13:15:57
Edited by MickJT on 2016/1/8 13:16:29
Edited by MickJT on 2016/1/8 13:17:31
Edited by MickJT on 2016/1/8 13:19:13
Edited by MickJT on 2016/1/8 13:36:12
Go to top
Re: Samba/smb.conf + Windows 10 ??
Just can't stay away
Just can't stay away


See User information
@MickJT

Quote:
It doesn't look like there's a way to list the files, yet.
Well, if nothing else, it can be done with smbclient:

smbclient \\host\share password -U user -c "cd mypath;dir;exit"

You can of course omit the password argument from the command line, then you will be prompted for it.

Best regards,

Niels

Go to top
Re: Samba/smb.conf + Windows 10 ??
Just can't stay away
Just can't stay away


See User information
@nbache

I forgot that gerograph was trying to connect to Amiga smb shares from Windows, and not the other way around. Does smbfs & smbclient still work connecting to Windows? Checking..

Edit: Getting "Called name not present".


Edited by MickJT on 2016/1/9 7:31:57
Go to top
Re: Samba/smb.conf + Windows 10 ??
Just can't stay away
Just can't stay away


See User information
@MickJT

Okay, I tested my smbclient command with an SMB share on a Linux machine.

I don't know explicitly that it will work with Windows, although I'd expect so (at least with Pro/Ultimate etc.).

Best regards,

Niels

Go to top
Re: Samba/smb.conf + Windows 10 ??
Home away from home
Home away from home


See User information
I discovered this v.recently, which shows how to disable SMB2/3 on Windows client PCs:
https://support.microsoft.com/en-us/kb/2696547

If you can force SMB1 (by disabling SMB2/3), then it might work on the Amiga?

I also wonder if it might allow SMBFS to work with Windows PCs...?

Author of the PortablE programming language.
Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
Thanx for all those advices!

@MickJT
Amiga HD Partitions need to be visible/usable inside Windows Explorer, like a normal Windows HD (drive letters/security are the only things which are NOT of a concern). We are NOT talking about Downloading a file once in a while.

@all
My Amiga MP3 and Image HD Partitions should be usable from Windows (AMIGA = SERVER).

Using a XP Setup inside a VM Environment (Win 10 Pro as host) works out of the box!

Using a different XP Machine also works

Setting up my Amiga as FTP Server could be a way to go, and will be my "fall back" option.

@ChrisH
Thanks for the link, I have to dig into that, but currently this will be on hold, as I am bussy until February

Go to top
Re: Samba/smb.conf + Windows 10 ??
Home away from home
Home away from home


See User information
EDIT: I thought I'd gotten SMBFS working with my Windows 7 PC, after fixing a firewall issue. Sadly, although I can now see the files, any attempt to open them just returns garbage :( .

Disabling 128-bit encyption didn't help, nor did disabling SMB2 (using what I previously posted). I am assuming that just restarting the "Server" service is enough to force any SMB registry changes to take effect.

Anyone got any suggestions?


Edited by ChrisH on 2016/1/20 14:18:34
Edited by ChrisH on 2016/1/20 14:59:52
Edited by ChrisH on 2016/1/20 15:15:20
Edited by ChrisH on 2016/1/20 15:16:04
Edited by ChrisH on 2016/1/22 11:58:31
Author of the PortablE programming language.
Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
@ChrisH

Yeah, that looks like as far as we can get with our current software. I haven't been able to do any more anyway. What we need is an updated smbfs - the MorphOS version supports SMB2 and works fine with Windows 7 shares.

Anyone familiar enough with that sort of programming to do a port? I'd pay good money to see it!

Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
@Daedalus
are the sources of the MorphOS version available?

Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
@pvanni

Not that I've found. I don't know and it isn't obvious what sort of licence it's under, so it could possibly be a ground-up implementation that has been kept closed source, rather than being based on the open-sourced code of the SMB 1 version. Which is a shame...

Go to top
Re: Samba/smb.conf + Windows 10 ??
Home away from home
Home away from home


See User information
@Daedalus
It might be worth emailing the authors of the MorphOS version? (I rather suspect I know what the answer will be, but you don't know for sure until you ask.)

Author of the PortablE programming language.
Go to top
Re: Samba/smb.conf + Windows 10 ??
Not too shy to talk
Not too shy to talk


See User information
I've had a look on my MorphOS installation before and couldn't find any specific developer or licencing documentation for SMBFS. It is listed as a "port" however so that would suggest it's based on some other code which may or may not stipulate source code availability.

Having a bit of a search now it seems it might not support SMB2 after all, but at least correctly negotiates SMB1 support when connecting to Windows so shares still work properly, and that's still a massive improvement over what we have. I might send them an email but I won't hold my breath for a helpful response.

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project