I'm trying to set up a simple IRC server for myself and some friends as part of my homelab. I already have an Active Directory server that I use for centralized password management, and I'm looking to use LDAP to connect with it so that only users with an account can use my IRC relay. I'm fairly certain that this should be possible, because inspIRCd has an LDAP module, and Active Directory can be accessed through LDAP, but I just can't figure out the configuration. I've recompiled inspIRCd with the m_ldapauth module, but I can't figure out the configuration. Here's what I have so far in my ./conf/inspircd.conf (I replaced a few values with redacted just to not give away too much about my network, but all of these values are filled with real data in my actual config)
Right now when I try to connect to the server with weechat, I just get "Access denied." I've tried filling every field labeled username or password in the weechat settings with a valid username and password, but nothing seems to work. I know for a fact that the irc server can reach the Active Directory server, as I can use ldapsearch to contact the server. I was previously getting "no password provided" when I looked in startup.log on the server, but now I don't get anything. Any help would be greatly appreciated.