Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SOGoUserSources = (
- {
- // Used for user authentication
- type = ldap;
- id = users;
- canAuthenticate = YES;
- isAddressBook = NO;
- displayName = "LDAP Authentication";
- hostname = "ldap://127.0.0.1:389";
- baseDN = "domainName=%d,o=domains,dc=a,dc=io";
- bindDN = "cn=vmail,dc=a,dc=io";
- bindPassword = "f70c8f378fa49c3684b84637d790da37";
- filter = "objectClass=mailUser AND accountStatus=active AND enabledService=mail AND enabledService=sogo";
- scope = SUB;
- // always keep binding to the LDAP server using the DN of the
- // currently authenticated user. bindDN and bindPassword are still
- // required to find DN of the user.
- // Note: with default LDAP acl configured by iRedMail, user doesn't
- // have privilege to query o=domains,dc=a,dc=io.
- // so this doesn't work.
- bindAsCurrentUser = YES;
- // The algorithm used for password encryption when changing
- // passwords without Password Policies enabled.
- // Possible values are: plain, crypt, md5-crypt, ssha, ssha512.
- userPasswordAlgorithm = ssha512;
- CNFieldName = cn;
- IDFieldName = mail;
- // value of UIDFieldName must be unique on entire server
- UIDFieldName = mail;
- IMAPLoginFieldName = mail;
- MailFieldNames = (mail);
- bindFields = (mail);
- },
- {
- // Used for global address book
- type = ldap;
- id = global_addressbook;
- canAuthenticate = NO;
- isAddressBook = YES;
- displayName = "Global Address Book";
- bindAsCurrentUser = YES;
- // Listing of this LDAP source is only possible when performing a
- // search (respecting the SOGoSearchMinimumWordLength parameter)
- // or when explicitely typing a single dot.
- // Defaults to YES when unset.
- //
- // WARNING: if you have many accounts in this address book, it may
- // reach server-side query size limit, or cause
- // performance issue.
- listRequiresDot = NO;
- hostname = "ldap://127.0.0.1:389";
- baseDN = "domainName=%d,o=domains,dc=a,dc=io";
- bindDN = "cn=vmail,dc=a,dc=io";
- bindPassword = "f70c8f378fa49c3684b84637d790da37";
- filter = "((enabledService=mail AND accountStatus=active AND enabledService=displayedInGlobalAddressBook) AND ((objectClass=mailUser AND enabledService=sogo) OR (objectClass=mailList) OR (objectClass=mailAlias)))";
- scope = SUB;
- IDFieldName = mail;
- bindFields = (mail);
- // value of UID field must be unique on whole server.
- UIDFieldName = mail;
- IMAPLoginFieldName = mail;
- CNFieldName = cn;
- SearchFieldNames = (cn, sn, displayName, telephoneNumber, mail, shadowAddress, departmentNumber);
- // Resources management (Free/Busy)
- // Reference: https://docs.iredmail.org/sogo.manage.resources.html
- KindFieldName = "Kind";
- MultipleBookingsFieldName = "MultipleBookings";
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement