Doed HAB work in Zi...
 
Notifications
Clear all

Doed HAB work in Zimbra 9?

1 Posts
1 Users
0 Reactions
50 Views
(@lexus)
Joined: 2 months ago
Posts: 1
Topic starter  

Hello!

OS version: Ubuntu 20.04 fresh installation
Zimbra version: 9.0.0 by Zextras fresh installed just out-of-the-box

HAB (Hierarchy address book) can not be configured on fresh installed Zimbra.
Any command for zmprov HAB configuration return an error service.UNKNOWN_DOCUMENT for soap.

Results for executions:

Spoiler
zmprov createHABOrgUnit fipa211.domain testou

ERROR: service.UNKNOWN_DOCUMENT (unknown document: HABOrgUnitRequest)
Spoiler
zmprov -v createHABOrgUnit fipa211.domain testou

ERROR: service.UNKNOWN_DOCUMENT (unknown document: HABOrgUnitRequest)
com.zimbra.common.soap.SoapFaultException: unknown document: HABOrgUnitRequest
ExceptionId:qtp664457955-135:1727406672131:fe7fcaf0f0490ce7
Code:service.UNKNOWN_DOCUMENT
at com.zimbra.common.soap.Soap12Protocol.soapFault(Soap12Protocol.java:90)
at com.zimbra.common.soap.SoapTransport.extractBodyElement(SoapTransport.java:376)
at com.zimbra.common.soap.SoapTransport.parseSoapResponse(SoapTransport.java:349)
at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:341)
at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:196)
at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:189)
at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:447)
at com.zimbra.common.soap.SoapTransport.invokeWithoutSession(SoapTransport.java:432)
at com.zimbra.cs.account.soap.SoapProvisioning.invokeRequest(SoapProvisioning.java:624)
at com.zimbra.cs.account.soap.SoapProvisioning.invoke(SoapProvisioning.java:669)
at com.zimbra.cs.account.soap.SoapProvisioning.invokeJaxb(SoapProvisioning.java:728)
at com.zimbra.cs.account.soap.SoapProvisioning.createHabOrgUnit(SoapProvisioning.java:3123)
at com.zimbra.cs.account.ProvUtil.doCreateHabOrgUnit(ProvUtil.java:1771)
at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.java:1615)
at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:4160)
Spoiler
zmprov -d createHABOrgUnit fipa211.domain testou

========== SOAP SEND ==========
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<nosession/>
<userAgent name="zmprov" version="9.0.0_ZEXTRAS_20231104"/>
<authTokenControl voidOnExpired="0"/>
</context>
</soap:Header>
<soap:Body>
<AuthRequest xmlns="urn:zimbraAdmin">
<name>zimbra</name>
<password>2tdihvaK</password>
</AuthRequest>
</soap:Body>
</soap:Envelope>
===============================
======== SOAP RECEIVE =========
<AuthResponse xmlns="urn:zimbraAdmin">
<lifetime>43199997</lifetime>
<authToken>0_e428405c115c89a58753641813b79a6d1e71ca56_69643d33363a65306661666438392d313336302d313164392d383636312d3030306139356439386566323b6578703d31333a313732373434393837393530353b61646d696e3d313a313b747970653d363a7a696d6272613b753d313a613b7469643d31303a313835353731343332353b76657273696f6e3d32323a392e302e305f5a4558545241535f32303233313130343b</authToken>
</AuthResponse>
=============================== (227 msecs)
========== SOAP SEND ==========
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>0_e428405c115c89a58753641813b79a6d1e71ca56_69643d33363a65306661666438392d313336302d313164392d383636312d3030306139356439386566323b6578703d31333a313732373434393837393530353b61646d696e3d313a313b747970653d363a7a696d6272613b753d313a613b7469643d31303a313835353731343332353b76657273696f6e3d32323a392e302e305f5a4558545241535f32303233313130343b</authToken>
<nosession/>
<userAgent name="zmprov" version="9.0.0_ZEXTRAS_20231104"/>
<authTokenControl voidOnExpired="1"/>
</context>
</soap:Header>
<soap:Body>
<GetDomainRequest applyConfig="0" xmlns="urn:zimbraAdmin">
<domain by="name">fipa211.domain</domain>
</GetDomainRequest>
</soap:Body>
</soap:Envelope>
===============================
======== SOAP RECEIVE =========
<GetDomainResponse xmlns="urn:zimbraAdmin">
<domain name="fipa211.domain" id="cc40aee4-7a16-4605-ae59-d8e10e5db910">
<a n="zimbraGalAccountId">2a46c339-9f47-4aa2-89a4-df6383eab384</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_attachmail</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_phone</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_srchhighlighter</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_mailarchive</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_url</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_email</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_webex</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zextras_drive_open</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_ymemoticons</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zextras_chat_open</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_attachcontacts</a>
<a n="zimbraZimletDomainAvailableZimlets">+com_zimbra_date</a>
<a n="zimbraAuthLdapSearchFilter">(&amp;(objectClass=inetOrgPerson)(objectClass=posixAccount)(uid=%u))</a>
<a n="zimbraAuthLdapSearchBindDn">uid=zimbra,cn=sysaccounts,cn=etc,dc=fipa211,dc=domain</a>
<a n="zimbraDomainName">fipa211.domain</a>
<a n="zimbraAuthLdapURL">ldap://192.168.205.7:389</a>
<a n="objectClass">dcObject</a>
<a n="objectClass">organization</a>
<a n="objectClass">zimbraDomain</a>
<a n="objectClass">amavisAccount</a>
<a n="zimbraAuthLdapSearchBase">cn=users,cn=accounts,dc=fipa211,dc=domain</a>
<a n="zimbraHierarchicalAddressBookRoot">5c25cdc4-0536-4be5-85cb-67ef444421f9</a>
<a n="zimbraMailStatus">enabled</a>
<a n="zimbraGalMode">zimbra</a>
<a n="zimbraAuthMech">ldap</a>
<a n="o">fipa211.domain domain</a>
<a n="zimbraDomainStatus">active</a>
<a n="zimbraPrefTimeZoneId">Europe/Moscow</a>
<a n="zimbraId">cc40aee4-7a16-4605-ae59-d8e10e5db910</a>
<a n="zimbraGalDefinitionLastModifiedTime">20240925184208.863Z</a>
<a n="zimbraDomainType">local</a>
<a n="zimbraCreateTimestamp">20240925184208.859Z</a>
<a n="zimbraAuthLdapSearchBindPassword">woofwoofimasecretpasswordthatisreallydifficult</a>
<a n="dc">fipa211</a>
</domain>
</GetDomainResponse>
=============================== (28 msecs)
========== SOAP SEND ==========
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>0_e428405c115c89a58753641813b79a6d1e71ca56_69643d33363a65306661666438392d313336302d313164392d383636312d3030306139356439386566323b6578703d31333a313732373434393837393530353b61646d696e3d313a313b747970653d363a7a696d6272613b753d313a613b7469643d31303a313835353731343332353b76657273696f6e3d32323a392e302e305f5a4558545241535f32303233313130343b</authToken>
<nosession/>
<userAgent name="zmprov" version="9.0.0_ZEXTRAS_20231104"/>
<authTokenControl voidOnExpired="1"/>
</context>
</soap:Header>
<soap:Body>
<HABOrgUnitRequest op="create" name="testou" xmlns="urn:zimbraAdmin">
<domain by="name">fipa211.domain</domain>
</HABOrgUnitRequest>
</soap:Body>
</soap:Envelope>
===============================
ERROR: service.UNKNOWN_DOCUMENT (unknown document: HABOrgUnitRequest)
Spoiler
and some access logs winth 500 error:

127.0.0.1 - - [27/Sep/2024:03:11:19 +0000] "POST /service/admin/soap/AuthRequest HTTP/1.1" 200 603 "-" "zmprov 9.0.0_ZEXTRAS_20231104" 6
127.0.0.1 - - [27/Sep/2024:03:11:20 +0000] "POST /service/admin/soap/GetDomainRequest HTTP/1.1" 200 802 "-" "zmprov 9.0.0_ZEXTRAS_20231104" 2
127.0.0.1 - - [27/Sep/2024:03:11:21 +0000] "POST /service/admin/soap/HABOrgUnitRequest HTTP/1.1" 500 492 "-" "zmprov 9.0.0_ZEXTRAS_20231104" 3 

createHABOrgUnit could be exectuted with -l ldap-provisioning, but HAB-groups configuration commands require SOAP and fail with same errors.

Does this zimbra build not support HUB?

or maybe i missed something in configuration or forgot some module to be installed?

Thank you!


   
Quote