Skip to content

support LDAP #690

@ivucica

Description

@ivucica

Hi,

tl;dr Oragono could have multiple password backends, incl. PAM on UNIXes, libsasl2, or it could talk to LDAP. PAM and libsasl2 are very customizable, but just LDAP would be enough.

PAM and libsasl2 probably require CGo to be acceptable, but hiding this code behind a build-tag is an option.


It would be great if username+password could be checked on a backend separate from the rest.

I run a Samba4 server to serve as a single store of user accounts (both for passwords, and for other generic user account information such as real name).

This is, on my side, used for:

  • accounts in Prosody for XMPP,
  • accounts in Dovecot for IMAP,
  • accounts in Postfix for SMTP,
  • provide username+password portion handling for an OAuth2 server,
  • log into a Windows with it,
  • log into Gerrit
  • etc

How?

  • Mostly things go straight into checking password via a direct LDAP bind,
  • sometimes it's LDAP bind+username lookup+actual LDAP bind for password check
  • sometimes things go through PAM towards LDAP,
  • sometimes libsasl2 + LDAP (though it could be libsasl2 + PAM + LDAP., not sure).

Gecos fields are also populated from LDAP.

Adding IRC to the mix would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions