Giter VIP home page Giter VIP logo

Comments (6)

joshuaboniface avatar joshuaboniface commented on June 19, 2024

So it seems like this is technically supported (https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard/blob/master/src/Novell.Directory.Ldap.NETStandard/Connection.cs) but we didn't implement this, so for the plugin STARTTLS is not currently supported (and AFAIK normal TLS hasn't been tested, at least not by me). I'd mess around with it myself, but I don't use any TLS on my LDAP setup so I have no real way to test.

from jellyfin-plugin-ldapauth.

Psyoknight avatar Psyoknight commented on June 19, 2024

Ok, thank you for your answer. At least, it comforts me, that's not a configuration error on my side.

I'm willing to test any of your code if necessary. I'm not a dev, but I'm a sysadmin so I'm not afraid to setup a testing infrastructure for this.

from jellyfin-plugin-ldapauth.

LogicalPhallacy avatar LogicalPhallacy commented on June 19, 2024

https://github.com/LogicalPhallacy/jellyfin-plugin-ldapauth Can you give my dev branch of the plugin a try? It has a setting to enable TLS and it will try to start and stop if it is enabled

from jellyfin-plugin-ldapauth.

nxtfsm avatar nxtfsm commented on June 19, 2024

https://github.com/LogicalPhallacy/jellyfin-plugin-ldapauth Can you give my dev branch of the plugin a try? It has a setting to enable TLS and it will try to start and stop if it is enabled

Hi - This is a new account and I'm mostly new to git in general, but I've run into exactly this problem and would really like to give your branch a try... but can you post or link to the steps to swap the plugin installed through the Jellyfin browser ui to a clone of a dev branch? Thanks!

from jellyfin-plugin-ldapauth.

Psyoknight avatar Psyoknight commented on June 19, 2024

Hi @LogicalPhallacy ,

Thanks a lot for your work on this. I will give it a try soon. Got busy at work these days, but I will have some time at the end of the week to setup a testing infrastructure.

@nxtfsm I did not start to look at all of this yet, but you may check this repo : https://github.com/jellyfin/jellyfin-build . Additionnaly, I generaly wouldn't recommand to swap on your production environnement, but on a testing one if you can. (but could be ok, though =D )

from jellyfin-plugin-ldapauth.

ccellist avatar ccellist commented on June 19, 2024

Hello; did this ever get fixed? I have v. 6.0.0 of this plugin but I'm getting the same error:

   at Novell.Directory.Ldap.Connection.connect(String host, Int32 port, Int32 semaphoreId)
[04:39:56] [ERR] Error processing request
LdapException: Unable to connect to server ldap.server.arayahome.net:389 (91) Connect Error
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.BeginAuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback asyncCallback, Object asyncStat
e)
   at System.Net.Security.SslStream.BeginAuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallb
ack asyncCallback, Object asyncState)
   at System.Net.Security.SslStream.BeginAuthenticateAsClient(String targetHost, AsyncCallback asyncCallback, Object asyncState)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__44_0(String arg1, AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1](Func`4 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, Object state, TaskCreationOptions creationOptions)
   at System.Threading.Tasks.TaskFactory.FromAsync[TArg1](Func`4 beginMethod, Action`1 endMethod, TArg1 arg1, Object state)
   at System.Net.Security.SslStream.AuthenticateAsClientAsync(String targetHost)
   at Novell.Directory.Ldap.Connection.connect(String host, Int32 port, Int32 semaphoreId)

If I disable LDAP over SSL I get an instance exception. Sadly ldap seems irreparably broken on my Jellyfin system right now, no matter which version of the plugin I use. Thanks.

Update: Actually I can't install anything other than 6.0.0. Even if I select a different version Jellyfin automatically grabs the latest version of the plugin. I know this specific thing belongs in a different thread on the core project, but it seemed germane.

from jellyfin-plugin-ldapauth.

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.