Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
12 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 12

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 4 5 ... 7 »
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
smb2-handler V53.1 is now available at:

https://github.com/salass00/smb2fs/releases

Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
@salass00

Donation on your way, have a beer or two on me this christmas.

Also thank you for this, will for sure help a lot to make my routine backups easier.

Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@Ami603

Thanks for the donation!

Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
Thanks for your work. Article published:
https://www.amiga-news.de/en/news/AN-2022-12-00110-EN.html

One question: in my OS4 installation, I have the filesysbox.library V54.9, but no newlib.library...

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 550 / AmigaOS 4.1 Final Edition / MorphOS 3.17
Amiga1200 / Blizzard 1230 IV PiStorm32-lite / AmigaOS 3.9
Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
@Primax

newlib is a kickstart module so check your kickstart directory :)

Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
Ah...thanks! :)
Version 53.80 installed! :)

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 550 / AmigaOS 4.1 Final Edition / MorphOS 3.17
Amiga1200 / Blizzard 1230 IV PiStorm32-lite / AmigaOS 3.9
Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
@salass00

In the meanwhile i've noticed that i cannot create files/drawers with some spanish/french characters from AmigaOS4 to my NAS.

i'm using spanish_ISO-8850-15 btw.

Go to top
Re: AmigaOS port of libsmb2
Quite a regular
Quite a regular


See User information
@salass00

Thanks for this port.

I am seeing some issues were a few things that work with shares mounted with smbfs don't currently work with smb2-handler .

Noticed with files created with AmigaOS and applications.
have not had a chance to check other files .

Moving files between directories on the SAMBA share won't work.
Files created with TurboCalc .

Name format

7500.Foo.TCD
7500.Foo.TCD.info

Renaming an info file with the format below also is not working.
in this case there is just the info file used a reference .

7500.Last.TCD.info
7400.First.TCD.info

Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@Spectre660

Not sure what you are trying to explain but while testing the rename function I did find a bug in filesysbox in that it doesn't allow to rename a file if the only change is in the letter case of the file name (f.i. "rename tmp TMP") and the underlying file system is case insensitive. Also if the rename is a no-op it should return success (currently it returns ERROR_OBJECT_EXISTS).

Go to top
Re: AmigaOS port of libsmb2
Quite a regular
Quite a regular


See User information
@salass00

In my case renaming 7500.Last.TCD.info to 7501.Last.TCD.info
fails with no visible error condition shown .

actually the file vanishes and reappears on refreshing the directory window with the original name .

Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@Spectre660

rename 7500.Last.TCD.info 7501.Last.TCD.info

works just fine here.

Go to top
Re: AmigaOS port of libsmb2
Not too shy to talk
Not too shy to talk


See User information
@salass00

Thanks! Works very nice.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@Ami603

Quote:

In the meanwhile i've noticed that i cannot create files/drawers with some spanish/french characters from AmigaOS4 to my NAS.


You will find this is a problem common to all filesysbox filesystems and is because filesysbox supports/uses only utf-8 file names.

In order to properly convert file names between utf-8 and whatever local 8-bit charset AmigaOS is configured to use there would have to be some method of encoding/escaping the utf-8 characters that have no local charset equivalent that ideally doesn't run into false positives or use too many special characters (so you get problems with pattern matching). Even with a relatively efficient scheme a utf-8 character could end up taking between 4 to 6 characters which to me is rather impractical.

Go to top
Re: AmigaOS port of libsmb2
Quite a regular
Quite a regular


See User information

Go to top
Re: AmigaOS port of libsmb2
Quite a regular
Quite a regular


See User information
@salass00

With the other issue I get (-1) Error -1 when trying to move the files between directories .

Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@Spectre660

Quote:

Renaming the file works just fine here both from WB and from shell.

I was initially a little confused why the tab completion wouldn't find the file, but then I realized that the problem was because I had 'Show .info files' unchecked in the shell settings.

Quote:

With the other issue I get (-1) Error -1 when trying to move the files between directories .


Moving/renaming from one dir to another works fine for me also.

What OS is the Samba share that you are using running on?

The -1 error suggests that it is the smb2_rename() function that is failing.

Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@salass00

Quote:

...while testing the rename function I did find a bug in filesysbox in that it doesn't allow to rename a file if the only change is in the letter case of the file name (f.i. "rename tmp TMP") and the underlying file system is case insensitive. Also if the rename is a no-op it should return success (currently it returns ERROR_OBJECT_EXISTS).


These two bugs are now fixed in filesysbox V54.11.

Go to top
Re: AmigaOS port of libsmb2
Quite a regular
Quite a regular


See User information
@salass00

Share is on a Windows 11 Pro machine.

Edition Windows 11 Pro
Version 22H2
Installed on ‎28/‎09/‎2022
OS build 22621.963
Experience Windows Feature Experience Pack 1000.22638.1000.0

Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
@Hans

there is a old project for smb-direct which is only 2 files really
(a .c and a .h file but it has a comprehensive test suite) it's a
linux kernel module so it probably relies on linux smb
implementation, check it at
smbdirect-driver

Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
@Spectre660

smb2-handler V53.2 is now available which maybe fixes your problems:

https://github.com/salass00/smb2fs/releases

The libsmb2 rename function was previously missing code to convert the path separators ('/' to '\') in the destination path.

Go to top

  Register To Post
« 1 (2) 3 4 5 ... 7 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project