The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo






Latest Joy of Tech!

Joy of Tech ... from Geek Culture



Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

The Ultimate Business Machine - Archives

List of Categories : Commentary * Database * Singapore * Technology * Travel *

Thu 01 Nov 2012

MailServe and LDAP

Category : Technology/MailServeLDAP.txt

If you're waiting for news on the LDAP front, I've got news for you. I've managed to get the mail server authenticating against the LDAP Server database. 

LDAPAndMailServe444.png

Basically, what I have is Dovecot authenticating against the passwords stored in the LDAP Server, rather than the built-in OS X accounts' password system. And then I get Postfix to use the LDAP authentication so set up, for its own SMTP authentication. And it works, with or without SSL.

I did so many things and tried so many variations, so now I have to take a step back and figure out just what I did to make this work. Then I will make new versions of MailServe and the LDAP Enabler that will do all this for the user with just one click on their respective Enablers.

Actually I might have gotten most of this working in Chengdu last week, so it was a pretty productive week, even though I was traipsing around Chengdu. 

I think what I didn't realise, until I got back to Singapore, was that the PAM module for LDAP that I was using, pam_ldap.so, needs to be built again for the x86_64 processor that is the default in Mountain Lion. I was using a pam_ldap.so that was a fat PPC/i386 binary - absolutely useless on Mountain Lion - and that explains the crashes whenever PAM was called which was whenever a user tries to authenticate against the LDAP Server. I banged my head against the wall so many times in Chengdu. It only cleared when I got back to Singapore, and then it became crystal clear what the problem was. It's a mystery how the mind works.

Posted at 11:10AM UTC | permalink


Mac@Work
Put your Mac to Work

Sivasothi.com? Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.