webmail problems
Have installed message server:
Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
libimta.so 6.2-3.04 (built 01:43:03, Jul 15 2005)
SunOS m_mail 5.9 Generic_118558-30 sun4u sparc SUNW,Sun-Fire-V240
and am running into problems when testing the webmail functions. While logging in a popup window appears with "unable to modify attributes". Once in the webmail interface
using address functions or changing options gives the same error. The httpd logs show:
[09/Nov/2006:15:35:52 -0500] m_mail httpd[19936]: General Error: Error saving attributes for uid=test,ou=People,o=aoo.tuff: Can't connect to the LDAP server
[09/Nov/2006:15:37:53 -0500] m_mail httpd[19936]: General Error: Cannot add pabURI attribute to uid=test,ou=People,o=aoo.tuff: Can't connect to the LDAP server
Is there a way to get more verbose logs? If the LDAP server in the log entries is the configuration diretory setup for the message server, is there a way to test connecting to it? IMAP/IMAPS connections seem to be working fine.Any troubelshooting steps are appreciated.
Thanks,
[1129 byte] By [
jmck407] at [2007-11-26 11:23:23]

# 5
thanks Jay. Note message server was installed with a script using values set by upper levels of our organization, so I may not be able to answer exactly why some variables have their settings, but will try to answer any questions you have after looking over the output.
bash-2.05# ./configutil |grep "local.*"
local.defdomain = bbbb.ccc
local.enduseradmincred = XXXXXXXXX
local.enduseradmindn = "uid=msg-admin-m-mail.aaaa.bbbb.ccc-20060926193402Z, ou=People, o=bbbb.ccc,o=bbbb.ccc"
local.ens.enable = 1
local.hostname = m-mail.aaaa.bbbb.ccc
local.imta.enable = 1
local.imta.imta_tailor = /opt/messaging/config/imta_tailor
local.imta.ssrenabled = yes
local.installeddir = /opt/messaging
local.instancedir = /opt/messaging
local.lastconfigfetch = 1163179999
local.ldapbasedn = o=NetscapeRoot
local.ldapcachefile = /opt/messaging/config/local.conf
local.ldaphost = m-mail.aaaa.bbbb.ccc
local.ldapport = 389
local.ldapsiecred = XXXXXXXX
local.ldapsiedn = "cn=msg-config, cn=Sun ONE Messaging Suite, cn=Server Group,
cn=m-mail.aaaa.bbbb.ccc, ou=aaaa.bbbb.ccc, o=NetscapeRoot"
local.ldapusessl = False
local.mmp.enable = 0
local.sched.enable = 1
local.schedule.expire = "0 23 * * * /opt/messaging/sbin/imexpire"
local.schedule.msprobe = "5,15,25,35,45,55 * * * * /opt/messaging/lib/msprobe"
local.schedule.purge = "0 0,4,8,12,16,20 * * * /opt/messaging/lib/purge -num=5"
local.schedule.return_job = "30 0 * * * /opt/messaging/lib/return_job"
local.servergid = sunone
local.servername = m-mail.aaaa.bbbb.ccc
local.serverroot = /opt/messaging
local.servertype = msg
local.serveruid = sunone
local.service.pab.attributelist = pabattrs
local.service.pab.enabled = 1
local.service.pab.ldapbasedn = o=pab
local.service.pab.ldapbinddn = "uid=msg-admin-m-mail.aaaa.bbbb.ccc 20060926193402Z, ou=People, o=bbbb.ccc,o=bbbb.ccc"
local.service.pab.ldaphost = m-mail.aaaa.bbbb.ccc
local.service.pab.ldappasswd = XXXXXXXX
local.service.pab.ldapport = 389
local.service.pab.maxnumberofentries = 500
local.store.enable = 1
local.store.snapshotdirs = 3
local.store.snapshotinterval = 1440
local.store.snapshotpath = dbdata/snapshots
local.supportedlanguages = "[en,de,fr,es,af,ca,da,nl,fi,gl,ga,is,it,no,pt,sv,ja,ko,zh-CN,zh-TW]"
local.tmpdir = /opt/messaging/data/tmp
local.ugldapbasedn = o=bbbb.ccc
local.ugldapbindcred = XXXXXXXX
local.ugldapbinddn = "uid=m-mail.aaaa.bbbb.ccc,ou=Mail Servers,o=bbbb.ccc"
local.ugldapdeforgdn = o=bbbb.ccc
local.ugldaphost = "ldap.aaaa.bbbb.ccc ldap-e.ddd.bbbb.ccc"
local.ugldapport = 636
local.ugldapuselocal = yes
local.ugldapusessl = yes
local.watcher.enable = yes
local.webmail.da.host = m-mail.aaaa.bbbb.ccc
local.webmail.da.port = 8080
local.webmail.sso.enable = 0
local.webmail.sso.singlesignoff = 1
# 6
Here's what I'm looking at:
local.defdomain = bbbb.ccc
local.ldaphost = m-mail.aaaa.bbbb.ccc
local.ldapport = 389
local.service.pab.ldapbinddn = "uid=msg-admin-m-mail.aaaa.bbbb.ccc 20060926193402Z, ou=People, o=bbbb.ccc,o=bbbb.ccc"
local.service.pab.ldaphost = m-mail.aaaa.bbbb.ccc
local.service.pab.ldappasswd = XXXXXXXX
local.service.pab.ldapport = 389
Ok, I see your config ldap is "m-mail".
However, you have also pointed your PAB to that same ldap server. but, your Users/Groups ldap server is different:
local.ugldapbinddn = "uid=m-mail.aaaa.bbbb.ccc,ou=Mail Servers,o=bbbb.ccc"
local.ugldaphost = "ldap.aaaa.bbbb.ccc ldap-e.ddd.bbbb.ccc"
local.ugldapport = 636
I suspect that this is your problem....... The user/password supplied for PAB doesn't work on your config ldap server.
# 9
Jay,
The only things sanitized in the configutil output are the hostnames, domains, and passwords, edited with a find/replace.Note the 3 credential lines are all different and should have been sanitized as XXXXXX, YYYYYY, ZZZZZZ (the edit button is not allowing me to edit the post).Curious as to what is showing the PAB ldap is using the same creds as the u/g ldap? The uids look slightly different to me, and the ou's are different. Was it the XXXXXX for all the creds, or the o=bbb.ccc?
local.service.pab.attributelist = pabattrs
local.service.pab.enabled = 1
local.service.pab.ldapbasedn = o=pab
local.service.pab.ldapbinddn = "uid=msg-admin-m-mail.aaaa.bbbb.ccc 20060926193402Z, ou=People, o=bbbb.ccc,o=bbbb.ccc"
local.service.pab.ldaphost = m-mail.aaaa.bbbb.ccc
local.service.pab.ldappasswd =YYYYYYYY
local.service.pab.ldapport = 389
local.ugldapbasedn = o=bbbb.ccc
local.ugldapbindcred = ZZZZZZZZ
local.ugldapbinddn = "uid=m-mail.aaaa.bbbb.ccc,ou=Mail Servers,o=bbbb.ccc"
local.ugldapdeforgdn = o=bbbb.ccc
local.ugldaphost = "ldap.aaaa.bbbb.ccc ldap-e.ddd.bbbb.ccc"
local.ugldapport = 636
local.ugldapuselocal = yes
local.ugldapusessl = yes