Skip to content

A modification to CyrusAuth that replaces a cloned user's nick, altnick, ident and realname on all existing networks with the username used to authenticate.

Notifications You must be signed in to change notification settings

robjh/CyrusAuthLDAP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Source/Credit

The original cyrusauth file modified to create this one was retrieved using apt-get source znc on Debian "Jessie". The changes should work if copied as-is to the source available on github or elsewhere, as is relevant to your system.

Compiling the Module

However, for cyrusauthldap to work, cyrusauthldapLDFLAGS := -lsasl2 has to be added to the Makefile in modules/ in the souce. Try cat Makefile | grep cyrusauth to see that this has been done for cyrusauth as well.

Note, you may need to run ./configure --enable-cyrus for this to work. Similarly, you most likely need to have installed znc with cyrusauth enabled, which has been the default since 1.0.

Running the Module

Once it's compiled and the .so file put in the currently installed ZNC's modules/ directory, connect to znc and /msg *status loadmod cyrusauthldap saslauthd, then set CreateUser to yes, set up CloneUser with a base user and set CreateFromLDAP to yes.

About

A modification to CyrusAuth that replaces a cloned user's nick, altnick, ident and realname on all existing networks with the username used to authenticate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%