What should I do to setup LDAP objects on oes to setup a mail server?
Thanks
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more
I just struggled through making dovecot work with LUM on OES 2018 SP3. Two issues prevent LUM user authentication from working:
Problem
Solution
/etc/apparmor.d/
usr.lib.dovecot.auth
usr.lib.dovecot.imap
usr.lib.dovecot.imap-login
usr.lib.dovecot.log
usr.lib.dovecot.pop3
usr.lib.dovecot.pop3-login
usr.sbin.dovecot
flags=(complain)
" to config, e.g. "/usr/lib/dovecot/auth flags=(complain) {
"/etc/pam.d/dovecot
add references to pam_nam.so at the top. The following configuration works for both local and eDirectory users:#%PAM-1.0
auth sufficient pam_nam.so use_first_pass
account sufficient pam_nam.so
password sufficient pam_nam.so
session optional pam_nam.so
auth optional pam_shells.so
auth include common-auth
account optional pam_nologin.so
account include common-account
password include common-password
session optional pam_loginuid.so
session include common-session
args = session=yes failure_show_msg=yes dovecot
You may also have to adjust permissions and/or group memberships for the dovecot user as needed