<module name="m_ldapauth.so">
<ldapauth baserdn="OU=Users,DC=did"
attribute="sAMAccountName"
server="ldap://activedirectory.example.com"
killreason="LDAP auth failed"
searchscope="subtree"
binddn="CN=binduser,OU=Users,DC=example,DC=com"
bindauth="password"
verbose="yes"
userfield="yes">
./configure --prefix=/usr/local/inspircd --enable-gnutls --uid 101 --enable-extras=m_ldapauth.cpp --enable-extras=m_ldapoper.cpp
I still have some more customization to do to make ChanServ work, but since this is internal I don’t know if that even matters. Also I can’t seem to get SSL working – I tried compiling with –enable-openssl but that failed, so I went with –enable-gnutls, which worked, but I can’t connect via ircs:// in my client. If it looks like people are interested in this I may fix it up, but I have a feeling most people won’t be as enthused about it as I am.