Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Support for Ldap #24

Open
mdpolasek opened this issue Mar 3, 2019 · 6 comments
Open

SSL Support for Ldap #24

mdpolasek opened this issue Mar 3, 2019 · 6 comments
Labels
Bug🐞 Something isn't working enhancement New feature or request

Comments

@mdpolasek
Copy link

The current release does not support SSL, even though there is a configuration option for this. Is this planned for the next release? Is somebody already working on this?

@Nordes
Copy link
Owner

Nordes commented Mar 5, 2019

Hi,

It was in my intention, but I didn't have the time to fully complete. If you want, please create a pull request. From memory, I think almost no code is required to unlock it.

@Nordes Nordes added Bug🐞 Something isn't working enhancement New feature or request labels Mar 5, 2019
@mdpolasek
Copy link
Author

mdpolasek commented Mar 5, 2019 via email

@codyskidmore
Copy link

codyskidmore commented Apr 19, 2019

@Nordes

I implemented LDAP in our IS3 implementation using Novell.Directory.Ldap. The connection had a property for turning on SSL.

// LdapConnection.SecureSocketLayer.. 
cn.SecureSocketLayer = _config.UseSSL;

Is this what you are thinking? If that is the case, I can take a look and see if your plugin is similar and help out with this. I have a full plate this weekend though but can make time next week-ish.

If I can get some help from you setting up the OpenLDAP container & the same testing you use, this will go much faster.

I can wing it and just send the pull request to you also.

@codyskidmore
Copy link

codyskidmore commented Apr 19, 2019

I actually, I poked around your the extension source and found this.

   public LdapService(ExtensionConfig config, ILogger<LdapService<TUser>> logger)
    {
        _logger = logger;
        _config = config.Connections;

        _config.ToList().ForEach(f => _ldapConnections.Add(f.FriendlyName, new LdapConnection
        {
            SecureSocketLayer = f.Ssl
        }));
    }

It looks like you use the same Novell Ldap library. Is SSL not working?

@malled
Copy link

malled commented Jun 27, 2019

Any news on this? I tried enabling SSL, changed port and it looks like it's working.

@codyskidmore
Copy link

I believe it is working. Under the covers it uses the same library I used on an IS3 implementation -- almost the exact code in fact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug🐞 Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants