Hello.
This is my first post. Sorry for my English.
I have a Qnap NAS. It have an admin account (made from Windows). With admin account, I can log in, from gnome files (or from dolphin).
I add an user with smbpasswd -a user, I add in smb.conf valid users = user’s name but, when I try to open from gnome files (dolphin) I couldn’t do it. I read this
https://docs.fedoraproject.org/f26/s…t_Servers.html
but I did not understand very well. In fact I think I add a user only in my pc and I have to add this user to NAS (so that it knows about the user)
Thank you.
On 02/15/2018 02:46 AM, another roadrunner wrote:
>
> This is my first post. Sorry for my English.
Welcome to the forum, and to using Linux. Your English is fine.
> I have a Qnap NAS. It have an admin account (made from Windows). With
> admin account, I can log in, from gnome files (or from dolphin).
> I add an user with smbpasswd -a user, I add in smb.conf valid users =
> user’s name but, when I try to open from gnome files (dolphin) I
> couldn’t do it. I read this
> ‘https://docs.fedoraproject.org/f26/s...t_Servers.html’
> (http://tinyurl.com/y75hy72g)
> but I did not understand very well. In fact I think I add a user only in
> my pc and I have to add this user to NAS (so that he knows about it)
I think you are on the right path. smbpasswd is used to setup a user with
password on the system where it is executed, which in your case sounds
like your openSUSE box, but you need the user to exist on the QNAP box,
and that should have its own user interface (UI) used for that kind of thing.
Googling for the following turns up documentation that looks promising for
doing that, so give that a try:
create user qnap
Once done, hopefully you can login from your openSUSE box using not just
the QNAP ‘admin’ account, but the new account(s) you create too.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
Thank you. I will try.
I search a lot. But I don’t want to add a user from Qnap interface under Windows. I want to add a user from Linux interface. And I don’t know how.
How about this?
https://www.google.com/search?q=how+create+user+in+qnap+device&ie=utf-8&oe=utf-8#kpvalbx=1
https://www.youtube.com/watch?v=KtUma6NmKQs
Just to be clear, the goal is to create a user on the QNAP device which
will be used by you, on any box (Linux in your case) to login and transfer
files, or whatever, instead of using ‘admin’ because using privileged
accounts for daily use is a bad practice. That is my understanding of
your goal.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
Thanks for your help.
Yes this is the goal. But I want to add an user on the QNAP device from Linux machine not from Windows (I know how to add a user form Windows, I want to know how to ad it from Linux machine).
On 02/15/2018 10:56 AM, another roadrunner wrote:
>
> Thanks for your help.
> Yes this is the goal. But
> I_want_to_add_an_user_on_the_QNAP_device_from_Linux_machine_not_from_Windows
> (I know how to add a user form Windows, I want to know how to ad it from
> Linux machine).
That video was apparently taken from a Mac, not windows, so I do not see
how the client platform matters much. QNAP has a web interface, right?
Access it from your favorite browser on your favorite non-windows platform.
If you want to do so via the command line, then you probably need to check
QNAP documentation for how to get some kind of API/CLI for that, or else
figure out how to make the HTTP calls from the command line manually.
Maybe you are after something more like this, accessing the QNAP via SSH
and then running commands like smbpasswd (if applicable) directly on
there, where it makes sense:
https://www.qnap.com/en/how-to/knowledge-base/article/how-to-access-qnap-nas-by-ssh
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
Mea culpa.
Thank you very much.
i did not realise that I can acces the web interface of QNAP for any browser.
This thread can be closed.