Hello everyone.
I hope someone can help.
I installed openldap, launch it, it works.
Now I’m trying to connect to the server on TrueNas Scale, but this error appears.
Can anyone tell me what it might be related to? Maybe I should have enabled something on the ldap side. I have attached a file with what my server connection parameters look like. Although I doubt that they will help here.
Thx.
What type of LDAP server is this? What version of openldap?
i instaled Openldap 2.6.9. I installed it in docker.
I’m just trying to figure of ldap.
I wanted users for the system and access to network resources to be taken from there.
Okay. Just FYI if you plan to use SMB, this won’t work (you’ll basically need AD). You also shouldn’t be running your directory services in a docker container hosted on the TrueNAS server itself.
What can you advise me? A little clarification from my side: I have network drives, there is jellyfin. I was think with the help of OpenLdap to create users who can connect to jellyfin and will be able to use network drives. That is, 1 user for the required number of services and accesses.
Of course I understand that I can create a user in the system and give him access to disks. And then for jellyfin create another user in the application itself and give him access there. But I would like universality)
And one more thing. If you say that it is not worth having a service on the same machine where the system is located, then what should I do?
Run it on something else.
It’s not going to work well if your TrueNAS system is made dependant on something that’s running as an app because if your app, for whatever reason, doesn’t start as expected you have essentially DOSed yourself. This is a very likely outcome.
There have been people trying to run OPNsense inside a VM while also setting their TrueNAS server to request an IP using DHCP from said server…
So again, if the apps’ functionality is needed during startup, when the app for obvious reasons isn’t running (yet), your system may not even manage to boot anymore.
If I understand you correctly, then the option to install ldap on a virtual machine and then connect to it is a good option?
If I understand you correctly, then the option to install ldap on a virtual machine and then connect to it is a good option?
Only if it’s being hosted on a different server. Otherwise you’re still creating circular dependencies.
So this option is not a solution for me. Too bad.
I was hoping that I wouldn’t have to create users in each application. And yes. I only have 1 server.
As I understand, there are no other options to solve this problem?
Correct.
The whole issue is that you should not run the LDAP service on the same hardware.
The solution is to run it on something else. This can even be something like a Raspberry Pi, although it would not be my first choice.