Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
14 user(s) are online (9 user(s) are browsing Forums)

Members: 1
Guests: 13

walkero, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 4 5 6 (7)
Re: AmigaOS port of libsmb2
Site Builder
Site Builder


See User information
@Raziel
There is no problem posting it here. I think the place to post issues with smb2fs is at https://github.com/salass00/smb2fs/issues

I understand that all these different bug report places might be confusing.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Anonymous
Re: AmigaOS port of libsmb2
@walkero

Lost track where the reposirory wa, thank you for the heads up

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


See User information
Does smb2fs handler support the ACTION_SET_DATE packet?
i am finding some software fails when using this packet via SetDate( dos.library call).
I'm using smb2-handler V53.7

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


See User information
@Ami603

Quote:

Does smb2fs handler support the ACTION_SET_DATE packet?


No, it is not supported because libsmb2 does not have a function to set the mtime of a file or directory.

I've thought about making the operation fail silently instead but that could cause problems for programs that depend on this feature. IMHO it is better to (as happens currently) return ERROR_ACTION_NOT_KNOWN (meaning that the fs does not support the operation) and then the program can itself decide whether this error is critical enough to stop it from continuing or not.

Go to top
Anonymous
Re: AmigaOS port of libsmb2
@salass00

are you planning a new release soon(ish)?

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


See User information
I released version 53.9 of smb2-handler yesterday containing reconnection support changes from Walter Licht.

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

I have also started a new branch for updating the used libsmb2 version to the latest git revision at:

https://github.com/salass00/smb2fs/tree/libsmb2-20250607

The AmigaOS4 version compiles but fails during auth at libsmb2-git/lib/ntlmssp.c line 670. The i386 AROS ABIv0 version also compiles but crashes hard during init (I haven't looked further into where exactly it happens yet) and the AmigaOS3 version still needs some fixes before it will compile.

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


See User information
@salass00

Thank you very much for the latest version.

Just one question regarding the AmigaOS3 version: what compiler do you use for the AmigaOS3 version? I tried Bebbo's gcc 6 on Linux, but it failed to link because of a missing exit() definition.

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


See User information
@FlynnTheAvatar

Quote:

$ m68k-amigaos-gcc -v
Using built-in specs.
COLLECT_GCC=m68k-amigaos-gcc
COLLECT_LTO_WRAPPER=/usr/local/amiga/bebbo-20230625/libexec/gcc/m68k-amigaos/6.5.0b/lto-wrapper
Target: m68k-amigaos
Configured with: /home/salass00/Development/Projects/devtools/bebbo/amiga-gcc/projects/gcc/configure --prefix=/usr/local/amiga/bebbo-20230625 --target=m68k-amigaos --enable-languages=c,c++,objc --enable-version-specific-runtime-libs --disable-libssp --disable-nls --with-headers=/home/salass00/Development/Projects/devtools/bebbo/amiga-gcc/projects/newlib-cygwin/newlib/libc/sys/amigaos/include/ --disable-shared --enable-threads=no --with-stage1-ldflags='-dynamic-libgcc -dynamic-libstdc++' --with-boot-ldflags='-dynamic-libgcc -dynamic-libstdc++'
Thread model: single
gcc version 6.5.0b 230607174548 (GCC)


It is a gcc 6.5.0b cross compiler built from bebbo's repo, but almost two years old by now. I built it 25-Jun-2023 from what was likely the current state of his git repo at that time.

I think there may have been some changes to libnix since then that broke the building of smb2-handler.

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


See User information
@salass00

Hey thank you very much for the new version of the handler, I have already tested the new version under AmigaOs4.1 on my X5000 and it seems that it has become faster in data transfer.

Max Transfer 8500KB/s that is much better

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: AmigaOS port of libsmb2
Just can't stay away
Just can't stay away


See User information
I've had a flu since yesterday morning. It wasn't so bad initially but it has gradually gotten worse since then, so I probably won't be doing too much work until it gets better.

Anyway, I did manage to find what was causing the AmigaOS3 build to fail (a stray printf(), which was optimized into a puts() by gcc, in libsmb2.c was causing __initstdio.o to be brought in from libnix). I also managed to fix the crashing which was caused by mistakenly freeing the password that was obtained from ReadArgs().

After adding these fixes the AROS version connects successfully to my Ubuntu samba server, but the AmigaOS3 version fails during auth in a similar way to the AmigaOS4 version suggesting that the problem might be related to different endianness.

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


See User information
Not quite recuperated yet but I managed to fix the ntlmssp auth issue on big endian a few days ago. I was going to make a pull request to libsmb2 from my forked repo but to my surprise a fix had already been added there.

I've also just finished adding utimens() support. A feature that I initially started work on in September 2024 on a local branch (experimental_utimens).

Since the libsmb2-20250607 branch seems to be working now I've merged it into the master branch and it will be used for the upcoming 53.10 release.

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


See User information
@FlynnTheAvatar

Quote:

Just one question regarding the AmigaOS3 version: what compiler do you use for the AmigaOS3 version? I tried Bebbo's gcc 6 on Linux, but it failed to link because of a missing exit() definition.


This should be fixed now by the latest change to use inet_aton() instead of sscanf() to check/parse a static IP address in smb2_getaddrinfo().

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


See User information
Hi,

I just have a question on creating a mountfile using smb2fs.
How can I define a user name in the "startup" line, which contains a space character?

A line like

Startup = "smb://mypc/myshare USER=my username PASSWORD=password123"

obviously doesn't work

X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe
A1222, OS 4.1
SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450
Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Go to top
Re: AmigaOS port of libsmb2
Just popping in
Just popping in


See User information
@salass00

Yes, now compiling with Bebbo's GCC 6.5.0b works fine.

Thanks a lot for fixing!

Go to top
Re: AmigaOS port of libsmb2
Home away from home
Home away from home


See User information
@cygnusEd
Quote:
A line like

Startup = "smb://mypc/myshare USER=my username PASSWORD=password123"

obviously doesn't work
It depends on how smb2fs parses the STARTUP argument from the DOSDriver/Mountlist.
If it's using the dos.library functions something like
Startup "smb://mypc/myshare USER=*"my username*" PASSWORD=password123"
should work.

Go to top

  Register To Post
« 1 ... 4 5 6 (7)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project