Unable to Connect Server to Windows SMB Network Directories

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
tyra
504 Command not implemented
Posts: 8
Joined: 2021-11-11 21:23
Location: eu

Re: Unable to Connect Server to Windows SMB Network Directories

#16 Post by tyra » 2022-08-04 07:50

thanks for the hint, out of habit i used the explorer for the network shares. I didn't know that with the elevated rights, but at first glance it looks troublesome (not saved on restart, etc.). i will try it out.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Unable to Connect Server to Windows SMB Network Directories

#17 Post by boco » 2022-08-04 22:05

Connecting shares in an elevated command shell via "net use" should stick. There's the /SAVECRED command parameter to store login credentials for the shares as well (I think that's not available on the Home version).

Also note that shares connected in the Admin command line while being elevated are invisible in Explorer. Explorer can only display normal shares.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

tyra
504 Command not implemented
Posts: 8
Joined: 2021-11-11 21:23
Location: eu

Re: Unable to Connect Server to Windows SMB Network Directories

#18 Post by tyra » 2022-08-05 14:27

thanks for your help, appreciate it

I used the cmd line with admin rights (windows user account = xsadmin)
Image
tried also once with /SAVECRED param and via the other command "cmdkey" to store the credentials.

the filezilla-server service is runing under the same user account. and they are also the same credentials for the smb shares.
Image

sadly that did not work :(

i then found a tutorial to use the cmd line as "NT-AUTH\SYSTEM" with the use of the MS SysinternalsSuite. This way it works. didn't change the fzs-service user. the disadvantage of this is that it is not saved on restart. The net use values are still present, but no connection to the server is made until they entered again in the cmd line.

for me it looks like the service is still running under the system account and not with the user account. but i'm in no way an expert in this.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Unable to Connect Server to Windows SMB Network Directories

#19 Post by boco » 2022-08-05 15:25

When, in the Windows Services Control Panel (services.msc), the server is set to run as a different user (set on the "Log On" tab), it does not run as SYSTEM anymore. There is also the "Right Management" tab in the server settings where you can check the service user account: "The server you are connected to is running as ...".
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

tyra
504 Command not implemented
Posts: 8
Joined: 2021-11-11 21:23
Location: eu

Re: Unable to Connect Server to Windows SMB Network Directories

#20 Post by tyra » 2022-08-05 18:06

Image

Image

probably some strange Windows problem :roll:

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Unable to Connect Server to Windows SMB Network Directories

#21 Post by boco » 2022-08-05 21:40

I battled with Windows networking problems since the IPX days. It is very finicky and fragile. :(
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

tyra
504 Command not implemented
Posts: 8
Joined: 2021-11-11 21:23
Location: eu

Re: Unable to Connect Server to Windows SMB Network Directories

#22 Post by tyra » 2022-08-06 16:36

I can live with that, at least it works. the vm shouldn't restart too often either. and maybe i can still create a scheduled task to automate this.

Thanks alot again for your help.

malfretup
500 Command not understood
Posts: 1
Joined: 2022-09-19 20:42

Re: Unable to Connect Server to Windows SMB Network Directories

#23 Post by malfretup » 2022-09-19 20:44

Hello

I had the same problem as you but I understand how to make FileZilla Server working with another user account...

If you are interested, I could give you the trick

See you.

Post Reply