Comments on Postfix Virtual Hosting With LDAP Backend And With Dovecot As IMAP/POP3 Server On Ubuntu Trusty Tahr 14.04
Postfix Virtual Hosting With LDAP Backend And With Dovecot As IMAP/POP3 Server On Ubuntu Trusty Tahr 14.04 Here we we use an LDAP backend for both the MTA (Postfix) and POP3/IMAP server (Dovecot), and a web based management interface.
8 Comment(s)
Comments
cp /usr/src/phamm-0.5.17/schema/contrib/perversia.net.schema /etc/ldap/schema.
objectClass: top
o: hosting
description: Hosting Organization
# Read only account
dn: cn=phamm,o=hosting,dc=example,dc=tld
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: phamm
userPassword: {MD5}M267sheb6qc0Ck8WIPOvQA==
description: Read only account
additional info: no global superior knowledge
objectClass: organizationalUnit
objectClass: top
o: hosting
description: Hosting Organization
# Read only account
dn: cn=phamm,o=hosting,dc=example,dc=tld
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: phamm
userPassword: {MD5}M267sheb6qc0Ck8WIPOvQA==
description: Read only account
ldap_add: Object class violation (65)
additional info: object class 'organizationalUnit' requires attribute 'ou'
The typo's have been removed and corrected.
Well I assumed if someone installs a base system, they would not install ftp software since this guide covers it.
If you need help, use the messaging system.
Regards,
Miguel
there are still 3 typos on page 2
the dot at the end of the two lines should by deleted. Page 2: cp /usr/src/phamm-0.6.4/schema/phamm.schema /etc/ldap/schema cp /usr/src/phamm-0.6.4/schema/contrib/perversia.net.schema /etc/ldap/schema and apt should by apt-getapt-get install slapd ldap-utils
Thank you for the guideline provided.
however this guideline aswell as the others provided for PHAMM aren't working.
Not only it is impossible to have the base.ldif version as described cannot being included, it needs to being adjusted as followed:
dn: o=hosting,dc=example,dc=tld
o: hosting description: Hosting Organization
objectClass: organization
objectClass: top
# Read only account
dn: cn=phamm,o=hosting,dc=example,dc=tld
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: phamm
userPassword: {MD5}Uv67nQ8+4ca2bDRMu5tuyYIA==
description: Read only account
also the schema cannot being imported into the LDAP unless the dc=example,dc=tld is included.
After walking through the entire document and installation of the exact same version used I finally could start the Phamm GUI.
Logged in with the admin user as have being set, tried to add a domain with password.
this results into the the error Error: LDAP Error: Invalid DN syntax (Code 34)
which is freaking frustrating.
Isn't there a preinstalled version which can be downloaded in an iso or image?
Thank you in advance,
Patrick
Thankyou for updating this to the newest version of Dovecot and Postfix. Just in time for my server migration at that =)
Im stuck at uploading the base DN to the database.
ldapmodify -a -D cn=admin,dc=example,dc=tld -W -f base.ldif
Enter LDAP Password:ldap_bind: Invalid credentials (49)
This install is stock besides changes in this How to. Only one pass has been configured. Any thoughts?
Reply wouldn't work so started a new thread.
I ended up missing a few dc=example,dc=tlds that needed to be edited which later caused my ldap_bind: Invalid credentials (49) Error. After a redo, I was able to complete the HowTo. I am, however, at a loss of what to input to login to phamm. Nothing seems to work.
Will create a backup image and try again from the beginning.
After applying the olcAccess modifications, I can't simply locate any of the LDAP objects that I've added. If I restore to the original one, I can list all of them
Can you please post the official method to modify acls?