El 15/6/21 a les 15:46, Luca Olivetti ([email protected]) ha escrit:
Hello, I'm trying to setup cas authentication, the server is lemonldap.
I set SOGoAuthenticationType to cas and SOGoCASServiceURL to the
authentication server.
When the cas server tries to access /SOGo/casProxy sogo gives an
internal error. In /var/log/sogo.log there's also a suspicious "The hash
size used in signature (32) is less than the expected (48)"
Nobody?
Now I configured pam_cas on the imap server and exposed the
cas-proxy-modify.py as /SOGo/casProxy (I didn't know I had to do it), I
see that sogo tries to authenticate against the imap server and it
succeeds, but I still get the message
"The hash size used in signature (32) is less than the expected (48)"
and a new
"<0x0x561e4202aab0[SOGoCASSession]> unhandled success tag 'attributes'"
and still a lot of 500 errors.
Fun fact: I can see the Preferences page if I enter its url manually,
but I cannot save them
"POST /SOGo/so/luca/Preferences/save HTTP/1.1" 500 36/17489 0.015 - - 0 - 13
Bye
2021-06-15 15:33:11.398 sogod[1089071:1089071] The hash size used in
signature (32) is less than the expected (48)
Jun 15 15:33:11 sogod [1089073]: <0x0x55face6e7960[SOGoCache]> Cache
cleanup interval set every 300.000000 seconds
Jun 15 15:33:11 sogod [1089073]: <0x0x55face6e7960[SOGoCache]> Using
host(s) 'localhost' as server(s)
Jun 15 15:33:11 sogod [1089073]: [WARN]
<0x0x7ff562e57c00[WOxElemBuilder]> could not locate builders:
WOxExtElemBuilder,WOxExtElemBuilder
Jun 15 15:33:11 sogod [1089073]: 192.168.90.13 "GET
/SOGo/casProxy?pgtIou=PGTIOU-0d91a2ecfbb90abc390a4955948a021b95e94e1c23d45760a532477fef2c4963&pgtId=PGT-62bdb096d06d5ad19106464dfdb62e14eb7b2e349ae6e3cff2216637d5ff2c8c
HTTP/1.1" 500 36/0 0.054 - - 2M - 12
Jun 15 15:33:11 sogod [1089071]: <0x0x55face7ffd00[SOGoCASSession]>
unhandled success tag 'attributes'
Jun 15 15:33:11 sogod [1089071]: [WARN]
<0x0x55face7ffd00[SOGoCASSession]> failure to obtain a PGT from the
C.A.S. service
Jun 15 15:33:11 sogod [1089071]: [WARN]
<0x0x55facee3bb40[SOGoWebDAVAclManager]> entry '{DAV:}write' already
exists in DAV permissions table
Jun 15 15:33:11 sogod [1089071]: [WARN]
<0x0x55facee3bb40[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
Jun 15 15:33:11 sogod [1089071]: [WARN]
<0x0x55facee3bb40[SOGoWebDAVAclManager]> entry '{DAV:}write-content'
already exists in DAV permissions table
Jun 15 15:33:11 sogod [1089071]: 192.168.90.13 "GET
/SOGo/so/index?ticket=ST-13d97f1e9e2c97d3483e0ef9709d918f473af43246866a1e04afcbb7064cbe7c
HTTP/1.1" 302 0/0 0.431 - - 9M - 13
Jun 15 15:33:11 sogod [1089071]: 192.168.90.13 "GET /SOGo HTTP/1.1" 302
0/0 0.002 - - 0 - 13
Jun 15 15:33:11 sogod [1089071]: 192.168.90.13 "GET
/SOGo/so/index?ticket=ST-031aa85ed25310987fa21278f34a0a1c682c084d75332e96f430ed811cc93c49
HTTP/1.1" 302 0/0 0.003 - - 0 - 13
Jun 15 15:33:12 sogod [1089071]: 192.168.90.13 "GET /SOGo/so/luca
HTTP/1.1" 302 0/0 0.003 - - 0 - 13
Jun 15 15:33:12 sogod [1089071]: 192.168.90.13 "GET /SOGo/so/luca/view
HTTP/1.1" 302 0/0 0.009 - - 0 - 13
Jun 15 15:33:12 sogod [1089071]: 192.168.90.13 "GET
/SOGo/so/luca/Calendar HTTP/1.1" 302 0/0 0.025 - - 844K - 13
Jun 15 15:33:12 sogod [1089071]: 192.168.90.13 "GET
/SOGo/so/luca/Calendar/view HTTP/1.1" 200 23939/0 0.184 97354 75% 6M - 13
Jun 15 15:33:12 sogod [1089073]: [ERROR]
<0x0x55face8bf0e0[SOGoCASSession]> attempted to obtain a ticket for
service 'imap://mail.wetron.es' while no PGT available
Jun 15 15:33:12 sogod [1089073]: [ERROR]
<0x55face8b6dc0[SOGoMailAccount]:0> no IMAP4 password availableJun 15
15:33:12 sogod [1089071]: 192.168.90.13 "GET
/SOGo/so/luca/Calendar/alarmslist?browserTime=1623763992 HTTP/1.1" 500
36/0 0.016 - - 0 - 13
Jun 15 15:33:12 sogod [1089073]: [ERROR]
<0x55face8b6dc0[SOGoMailAccount]:0> Could not connect IMAP4
Jun 15 15:33:12 sogod [1089072]: <0x0x55face6e7eb0[SOGoCache]> Cache
cleanup interval set every 300.000000 seconds
Jun 15 15:33:12 sogod [1089072]: <0x0x55face6e7eb0[SOGoCache]> Using
host(s) 'localhost' as server(s)
Jun 15 15:33:12 sogod [1089072]: [WARN]
<0x0x55face756350[SOGoWebDAVAclManager]> entry '{DAV:}write' already
exists in DAV permissions tableJun 15 15:33:12 sogod [1089073]:
192.168.90.13 "POST /SOGo/so/luca/Mail/0/folderINBOX/view HTTP/1.1" 500
36/126 0.021 - - 952K - 12
Jun 15 15:33:12 sogod [1089072]: [WARN]
<0x0x55face756350[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
Jun 15 15:33:12 sogod [1089072]: [WARN]
<0x0x55face756350[SOGoWebDAVAclManager]> entry '{DAV:}write-content'
already exists in DAV permissions table
Jun 15 15:33:12 sogod [1089072]: 192.168.90.13 "GET
/SOGo/so/luca/Calendar/eventsblocks?ed=20210620&sd=20210614&view=weekview HTTP/1.1"
500 36/0 0.031 - - 3M - 12
Any hint on how to debug the issue further?
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
--
[email protected]
https://inverse.ca/sogo/lists