Skip to content

JKingweb/prosody-mod_auth_pam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mod_auth_pam for Prosody

Description

mod_auth_pam is, as the name suggests, a PAM authentication module for Prosody, an XMPP server. The module requires lua-pam to operate.

Installation

First, lua-pam must be installed. Compilation and installation instructions for lua-pam are out of scope for this document.

A PAM service must also be configured correctly. The means of doing so are also out of scope for this document, but examples are readily available online.

Finally, simply follow the standard procedure for installing Prosody modules.

Configuration

You will need to change the value of the authentication option in prosody.cfg.lua to "pam". No further configuration is required, but depending on your set-up, the following options may need to be specified:

Option Default Description
auth_pam_service "system-auth" The PAM service to use, as usually configured in /etc/pam.d/
auth_append_host false Whether to authenticate the JID (e.g. user@example.com) rather than the localpart (user), by appending the hostname to the input supplied by the client

About

PAM authentication module for Prosody XMPP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages