Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Active Directory / Samba Config für auth_ldap #35

@emtie

Description

@emtie

Hi all,

I've installed tiny tiny rss on ubuntu 18.04 with lamp stack and php7.2-ldap. I want to authenticate against Samba 4 Active Directory domain but I'm facing this error message:

E_USER_ERROR (256) | :0 | LDAP bind(): Bind failed ()with DN CN=ttrss,OU=serviceaccounts,DC=ad,DC=domain,DC=org

This is my config file:

        define('LDAP_AUTH_SERVER_URI', 'ldaps://samba.ad.domain.org:636/');
        define('LDAP_AUTH_USETLS', FALSE); // Enable StartTLS Support for ldap://
        define('LDAP_AUTH_ALLOW_UNTRUSTED_CERT', TRUE); // Allows untrusted certificate
        define('LDAP_AUTH_BASEDN', 'DC=ad,DC=domain,DC=org');
        define('LDAP_AUTH_ANONYMOUSBEFOREBIND', FALSE);
        // ??? will be replaced with the entered username(escaped) at login
        define('LDAP_AUTH_SEARCHFILTER', '(&(objectClass=person)(sAMAccountName=???))');

        // Optional configuration
        define('LDAP_AUTH_BINDDN', 'CN=ttrss,OU=serviceaccounts,DC=ad,DC=domain,DC=org');
        define('LDAP_AUTH_BINDPW', 'password');
//      define('LDAP_AUTH_LOGIN_ATTRIB', 'uid');
        define('LDAP_AUTH_LOG_ATTEMPTS', FALSE);

        // Enable Debug Logging
        define('LDAP_AUTH_DEBUG', TRUE);

What further information shall I provide to help solving this problem?

thanks in advance

emtie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions