How to Configure Multiple Users for WebDAV in Apps

vxhorse

Cadet
Joined
Aug 17, 2023
Messages
5
如何在Apps中为WebDAV配置多个用户?在认证类型中Basic Authentication只能配置一个用户,但是我需要多个不同权限的用户进行使用。是不是需要在Additional Environment Variables中配置些什么参数?

How to configure multiple users for WebDAV in Apps? In Authentication Type `Basic Authentication` only one user can be configured, but I need multiple users with different permissions to use it. Do I need to configure some parameter in `Additional Environment Variables`?

1692268219235.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
How to configure multiple users for WebDAV in Apps?
WebDAV isn't an app.

I also don't see which version of TrueNAS you're using which gives you the "Additional Environment Variables" in the service settings (latest versions don't seem to have that for me).

I don't think it's structured to let you do what you're suggesting.

Your best alternative will be an App or a Jail (depending which version of TrueNAS you run) to provide an alternative WebDav server.
 

vxhorse

Cadet
Joined
Aug 17, 2023
Messages
5
感谢你的回复,
我当前的系统版本是 TrueNAS-SCALE-22.12.3.3
WebDAV版本是 1.1.3.2982_1.0.9

我不知道我的表达是否正确,因为根据官方教程,似乎是将`WebDAV service`转移到了`Apps`中。我现在使用的是`Available Applications`中的WebDAV服务。
还是说WebDAV在设计之初并没有考虑有多用户的使用情况吗?


Thank you for your reply.
My current system version is TrueNAS-SCALE-22.12.3.3
WebDAV version is 1.1.3.2982_1.0.9

I'm not sure if I'm expressing myself correctly, because according to the official tutorial, it seems that the `WebDAV service` is transferred to `Apps` . I am using the WebDAV service in `Available Applications`.
Or was WebDAV not designed with having multiple users in mind?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
OK, so I understood better what you're talking about.

That app is based on the Apache Web server docker image.

I don't see any possibility to make that image do what you want.

Here's a link to some discussion about what it would take to do multi-user WebDav (but you'll have to implement it yourself somehow as the app doesn't have any possibility to do that):
 

vxhorse

Cadet
Joined
Aug 17, 2023
Messages
5
OK, so I understood better what you're talking about.

That app is based on the Apache Web server docker image.

I don't see any possibility to make that image do what you want.

Here's a link to some discussion about what it would take to do multi-user WebDav (but you'll have to implement it yourself somehow as the app doesn't have any possibility to do that):
好吧,我虽然尝试使用Apache2来实现我的需求,但因为我的能力有限没能以简单的方式实现它。我近段时间还是先用SFTP来代替WebDAV凑合着用吧 ):

Well, although I tried to use Apache2 for my needs, I wasn't able to implement it in a simple way due to my limited abilities. I'll just make do with SFTP instead of WebDAV for the time being ):
 
Top