Giter Club home page Giter Club logo

Comments (11)

Tagadda avatar Tagadda commented on July 17, 2024 1

This is not where the actual conf are, only templates used during install.
You'll need to edit the config at the final location.
Probably somewhere in /etc/jitsi and /etc/prosody/ according to https://github.com/YunoHost-Apps/jitsi_ynh/blob/master/scripts/install#L163-L235

from jitsi_ynh.

yalh76 avatar yalh76 commented on July 17, 2024 1

yes it's what has to be done.
PS: at next upgrade of jitsi, the changes you made manually will be overwrite and you will have to redo then

from jitsi_ynh.

yalh76 avatar yalh76 commented on July 17, 2024

You need to revert:
7962e1d

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

Thanks. Ok. May I ask why the decision to make Jitsi only work for the registered users? The default Jitsi Meet is open for everyone. It is a very handy tool to use and maybe there should either be open as default, or make it easy to remove the LDAP limitation.

from jitsi_ynh.

yalh76 avatar yalh76 commented on July 17, 2024

Thanks. Ok. May I ask why the decision to make Jitsi only work for the registered users? The default Jitsi Meet is open for everyone. It is a very handy tool to use and maybe there should either be open as default, or make it easy to remove the LDAP limitation.

I though that most jitsi installed on yunohost will be for personal use, not to make a public jitsi.

As you can see, there are various files to modify to enable or disable ldap authentication, not that simple. But feel free to make a pull request to make that change easily.

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

Ah I see. I truly wanted to provide a free Jitsi Meet instance for our trom.tf services so that anyone can use it. I can try do those changes manually but I see even scripts/install need to be modified. Does that mean I have to fork this and do the changes then install in order for it to work?

Also would you reconsider making it public and not LDAP based?

And thanks a lot for your work on this package!

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

Also, is this the correct folder to edit /etc/yunohost/apps/jitsi/conf ? I see all of the edited files there.

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

So I have done all of the changes to the files in /etc/yunohost/apps/jitsi/conf. Restarted all Jitsi services + Prosody + Nginx. I see no difference. Weird.

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

I think I've done it. Here's how (replace domain-name with your domain name where jitsi is installed):

Disable LDAP

1. Edit the file

/etc/jitsi/jicofo/jicofo.conf

And remove:

authentication: {
			
    enabled: true
			
    type: XMPP
			
    login-url: __DOMAIN__
			
 }

2. Edit the file:

/etc/jitsi/meet/domain-name-config.js

And replace:

anonymousdomain: 'guest.__DOMAIN__',

with

// anonymousdomain: 'guest.example.com',

3. Edit the file:

/etc/prosody/conf.avail/domain-name.cfg.lua

And replace:

  authentication = "ldap"
			
    ldap_server = "localhost"
			
    ldap_filter = "(uid=$user)"
			
    ldap_scope = "subtree"
			
    ldap_base = "ou=users,dc=yunohost,dc=org"
			
    ldap_mode = "bind"

With:

authentication = "anonymous"

Plus delete:

VirtualHost "guest.__DOMAIN__"
			
    authentication = "anonymous"
			
    c2s_require_encryption = fa

So I could probably close this issue now. It is a little work but seems doable. If any of you can confirm that the above are ok and there is nothing else to do more for it to properly work.

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

Yes I know I will have to do the changes again. It is ok. Thanks for the help!

from jitsi_ynh.

tio-trom avatar tio-trom commented on July 17, 2024

The method does not really work. It tries to reconnect. I will reopen this issue for now and see if I or others can come up with a better solution to then be integrated into the main ynh package. I think it can be really great to easily provide this as a public service like we do via trom.tf for many other services. But for now this Jitsi package is unreliable when trying to disable the LDAP integration.

from jitsi_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.