hi

replace some of the invalid chars..
like “ replace with "

okay here it is in plain text that will work with SOGo (sogo can read it.)
NOTE
i replaced "ldap://127.0.0.1:389"; with 127.0.0.1 not hat it makes a difference it's just shorter to write
and “ with "

-.-
    SOGoUserSources = (
        {
            CNFieldName = cn;
            IDFieldName = mail;
            IMAPLoginFieldName = mail;
            SearchFieldNames = (
                cn,
                sn,
                displayName,
                telephoneNumber,
                mail,
                shadowAddress
            );
            UIDFieldName = mail;
            baseDN = "o=domains,dc=domain,dc=com";
            bindDN = "cn=vmailadmin,dc=domain,dc=com";
            bindFields = (
                mail
            );
            bindPassword = "PASSWD";
            canAuthenticate = YES;
            displayName = "LDAP Auth";
            filter = "objectClass=mailUser AND accountStatus=active";
            hostname = "127.0.0.1";
            id = "ldap_auth";
            isAddressBook = NO;
            scope = SUB;
            type = ldap;
            userPasswordAlgorithm = ssha;
        },
        {
            CNFieldName = cn;
            IDFieldName = mail;
            IMAPLoginFieldName = mail;
            SearchFieldNames = (
                cn,
                sn,
                displayName,
                telephoneNumber,
                mail,
                shadowAddress
            );
            UIDFieldName = mail;
            baseDN = "o=domains,dc=domain,dc=com";
            bindDN = "cn=vmailadmin,dc=domain,dc=com";
            bindFields = (
                mail
            );
            bindPassword = "PASSWD";
            canAuthenticate = NO;
            displayName = "Global Address Book";
filter = "objectClass=mailUser AND accountStatus=active AND enabledService=mail AND mail <> fi...@domain.com AND mail <> sec...@domain.com";
            hostname = "127.0.0.1";
            id = "ldap_addressbook";
            isAddressBook = YES;
            scope = SUB;
            type = ldap;
            userPasswordAlgorithm = ssha;
        }
    );

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to