kevincox

joined 3 years ago
MODERATOR OF
[–] kevincox@lemmy.ml 1 points 1 week ago* (last edited 1 week ago) (1 children)

Ah ok. You aren't doing auth. I don't understand how this is relevant.

[–] kevincox@lemmy.ml 1 points 1 week ago (3 children)

Are you doing auth in the reverse proxy for Jellyfin? Do you use Chromecast or any non-web interface? If so I'm very interested how you got it to work.

[–] kevincox@lemmy.ml 1 points 1 week ago (1 children)

The concern is that it would be nice if the UNIX users and LDAP is automatically in sync and managed from a version controlled source. I guess the answer is just build up a static LDAP database from my existing configs. It would be nice to have one authoritative system on the server but I guess as long as they are both built from one source of truth it shouldn't be an issue.

[–] kevincox@lemmy.ml 3 points 1 week ago (3 children)

Yes, LDAP is a general tool. But many applications that I am interested in using it for user information. That is what I want to use it for. I'm not really interested in storing other data.

I think you are sort of missing the goal of the question. I have a bunch of self-hosted services like Jellyfin, qBittorrent, PhotoPrism, Metabase ... I want to avoid having to configure users in each one individually. I am considering LDAP because it is supported by many of these services. I'm not concerned about synchronizing UNIX users, I already have that solved. (If I need to move those to LDAP as well that can be considered, but isn't a goal).

[–] kevincox@lemmy.ml 1 points 1 week ago (5 children)

I do use a reverse proxy but for various reasons you can't just block off some apps. For example if you want to play Jellyfin on a Chromecast or similar, or PhotoPrism if you want to use sharing links. Unfortunately these systems are designed around the built-in auth and you can't just slap a proxy in front.

I do use nginx with basic with in front of services where I can. I trust nginx much more than 10 different services with varying quality levels. But unfortunately not all services play well.

[–] kevincox@lemmy.ml 1 points 1 week ago (7 children)

How are you configuring this? I checked for Jellyfin and their are third-party plugins which don't look too mature, but none of them seem to work with apps. qBittorrent doesn't support much (actually I may be able to put reverse-proxy auth in front... I'll look into that) and Metabase locks SSO behind a premium subscription.

IDK why but it does seem that LDAP is much more widely supported. Or am I missing some method to make it work

[–] kevincox@lemmy.ml 3 points 1 week ago (9 children)

But the problem is that most self-hosted apps don't integrate well with these. For example qBittorrent, Jellyfin, Metabase and many other common self-hosted apps.

[–] kevincox@lemmy.ml 1 points 1 week ago* (last edited 1 week ago) (1 children)

NixOS makes it very easy to declaratively configure servers. For example the users config to manage UNIX users: https://nixos.org/manual/nixos/stable/options#opt-users.users

[–] kevincox@lemmy.ml 3 points 1 week ago (4 children)

Yet another service to maintain. If the server is crashing you can't log in, so you need backup UNIX users anyways.

[–] kevincox@lemmy.ml 7 points 1 week ago (1 children)

I mean it is always better to have more open source. But the point of the multi-hop system is that you don't need to trust the server. Even if the server was open source:

  1. You wouldn't know that we are running an unmodified version.
  2. If you need to trust the server then someone could compel us to tap it or monitor it.

The open source client is enough to verify this and the security of the whole scheme.

[–] kevincox@lemmy.ml 1 points 1 week ago (3 children)
 

Is there any service that will speak LDAP but just respond with the local UNIX users?

Right now I have good management for local UNIX users but every service wants to do its own auth. This means that it is a pain of remembering different passwords, configuring passwords on setting up a new service and whatnot.

I noticed that a lot of services support LDAP auth, but I don't want to make my UNIX user accounts depend on LDAP for simplicity. So I was wondering if there was some sort of shim that will talk the LDAP protocol but just do authentication against the regular user database (PAM).

The closest I have seen is the services.openldap.declarativeContents NixOS option which I can probably use by transforming my regular UNIX settings into an LDAP config at build time, but I was wondering if there was anything simpler.

(Related note: I really wish that services would let you specify the user via HTTP header, then I could just manage auth at the reverse-proxy without worrying about bugs in the service)

[–] kevincox@lemmy.ml 17 points 1 week ago* (last edited 1 week ago)

Yeah, I can't believe how hard targeting other consoles is for basically no reason. I love this Godot page that accurately showcases the difference:

https://docs.godotengine.org/en/stable/tutorials/platform/consoles.html

Currently, the only console Godot officially supports is Steam Deck (through the official Linux export templates).

The reason other consoles are not officially supported are:

  • To develop for consoles, one must be licensed as a company. As an open source project, Godot has no legal structure to provide console ports.
  • Console SDKs are secret and covered by non-disclosure agreements. Even if we could get access to them, we could not publish the platform-specific code under an open source license.

Who at these console companies think that making it hard to develop software for them is beneficial? It's not like the SDK APIs are actually technologically interesting in any way (maybe some early consoles were, the last "interesting" hardware is probably the PS2). Even if the APIs were open source (the signatures, not the implementation) every console has DRM to prevent running unsigned games, so it wouldn't allow people to distribute games outside of the console marker's control (other than modded systems).

So to develop for the Steam Deck:

  1. Click export.
  2. Test a bit.

To develop for Switch (or any other locked-down console):

  1. Select a third-party who maintains a Godot port.
  2. Negotiate a contract.
    • If this falls through go back to step 1.
  3. Integrate your code to their port.
  4. Click export.
  5. Test a bit.

What it could be (after you register with Nintendo to get access to the SDK download):

  1. Download the SDK to whatever location Godot expects it.
  2. Click export.
  3. Test a bit.

All they need to do is grant an open source license on the API headers. All the rest is done for them and magically they have more games on their platform.

 

I'm reconsidering my terminal emulator and was curious what everyone was using.

1
SaaS RSS hosting (www.rss-hosting.com)
1
submitted 2 years ago* (last edited 2 years ago) by kevincox@lemmy.ml to c/rss@lemmy.ml
 

I know the Email isn't everyone's favourite RSS reader but it works really well for me. I wasn't happy with any of the existing services so I started my own.

https://feedmail.org is a low-cost RSS-to-Email service with nice clean templates. I'm happy to answer any questions.

view more: next ›