SSL only: could not get server configuration in ldap
Hi,
when I try to set up encrypted connections from MS to LDAP I get the following error message in the default log:
[19/Jul/2007:10:17:00 +0200] mail msprobe[22813]: General Warning: could not get server configuration in ldap, using cached configuration information
I know that it means, that MS cant get the configuration for some reason, but I dont understand why. This is what I did:
1. Added certificate to /opt/SUNWmsgsr/config/cert8.db
2. testing connection:
bash-3.00# ldapsearch -v -h ldapserver -p 636 -Z -P /opt/SUNWmsgsr/config/cert8.db -b "" -s base "objectclass=*" supportedSASLMechanisms
ldapsearch: started Thu Jul 19 10:49:26 2007
ldap_init( ldapserver, 636 )
filter pattern: objectclass=*
returning: supportedSASLMechanisms
filter is: (objectclass=*)
version: 1
dn:
supportedSASLMechanisms: EXTERNAL
supportedSASLMechanisms: GSSAPI
supportedSASLMechanisms: DIGEST-MD5
1 matches
3. changed configuration:
bash-3.00# configutil -o local.ldapport -v 636
OK SET
bash-3.00# configutil -o local.ldapusessl -v 1
OK SET
after changing these values a "configutil" takes a few minutes till giving any output!? I suppose this is because it tries to connect to get the configuration from ldap..
And of course if I change everything back to non ssl its working fine.
4. imsimta cnbuild
takes very long and then displays:
[19/Jul/2007:10:53:20 +0200] mail [22862]: General Warning: could not get server configuration in ldap, using cached configuration information
since this is the production environment, I didnt try to "stop-msg" and "start-msg". In the Testenvironment it worked exactly that way. The only difference is, that I have the latest version of MS (6.3) in Testenvironment. In production we have:
Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
SunOS mail 5.10 Generic sun4u sparc SUNW,UltraAX-i2
This is the log on the LDAP side:
[19/Jul/2007:11:03:02 +0200] conn=12769 op=-1 msgId=-1 - fd=135 slot=135 LDAPS connection from 123.456.789.101 to 192.168.123.456
[19/Jul/2007:11:04:02 +0200] conn=12769 op=-1 msgId=-1 - closing - B1
[19/Jul/2007:11:04:02 +0200] conn=12769 op=-1 msgId=-1 - closed.
any hints greatly appreciated
David

