Can't Login at OX App Suite

Hello,
when try to login at OX App Suite
show message :The user name or password is incorrect. (LGI-0006)
and after checking Domain Join - 65univention-ox - pending
try to excuse && Force But no result
when check logs :

univention-run-join-scripts finished

cp: cannot stat '': No such file or directory

univention-run-join-scripts started
univention-join-hooks: looking for hook type "join/pre-joinscripts" on ucs-4821.hussain.local
Found hooks:

RUNNING 65univention-ox.inst
2019-09-28 14:35:18.017766320+03:00 (in joinscript_init)
ucs_registerLDAPExtension --schema /usr/share/univention-ox/ldap/oxforucs-extra.schema
Object exists: cn=ldapschema,cn=univention,dc=hussain,dc=local
INFO: No change of core data of object oxforucs-extra.
No modification: cn=oxforucs-extra,cn=ldapschema,cn=univention,dc=hussain,dc=local

WARNING: cannot append oxseforucs_7.10.2-ucs1 to appidentifier, value exists
No modification: cn=oxforucs-extra,cn=ldapschema,cn=univention,dc=hussain,dc=local

Waiting for activation of the extension object oxforucs-extra: .......................................................ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-ox/ldap/oxforucs-extra.schema failed.
65univention-ox.inst: Failed to register LDAP module.
EXITCODE=1
9e0b6adc-5e5e-401a-bcd0-b2ca305f3a64
univention-join-hooks: looking for hook type "join/post-joinscripts" on ucs-4821.hussain.local
Found hooks:

and oxforucs-extra.schema

/usr/share/univention-ox/ldap# cat oxforucs-extra.schema
# cyrus imapd access control list
# acls work with users and groups
attributetype ( 1.3.6.1.4.1.19414.2.1.651
  NAME 'acl'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

# flag for allowing unrestriced length of mails
attributetype ( 1.3.6.1.4.1.19419.1.1.1.2
  NAME 'unrestrictedMailSize'
  EQUALITY booleanMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )

# user specific quota on the cyrus imap server
attributetype ( 1.3.6.1.4.1.19414.2.1.605
  NAME 'cyrus-userquota'
  DESC 'Mailbox hard quota limit in MB'
  EQUALITY integerMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )

so where is the wrong ?
Best Regards

When reporting a problem, please include some information about your setup.

  • On what system/role is OX installed (on a mastre/backup/slave)? → ucr get server/role
  • UCS version of master (and if app on different system, that of that system as well) → univention-app info
  • OX app version → univention-app info

Greetings
Daniel Tröder

As I got a similar problem, I will necrobump this topic:

In my case, the LDAP attribute unrestrictedMailSize (included in oxforucs-extra.schema) wasn’t available in the LDAP, which caused the registering of oxforucs.schema to fail.

Solution (for OX-Connector)

WARNING: the following may have a big impact on your domain! We delete (domain-wide) LDAP schema extensions here!

  • Uninstall the ox-connector app: univention-app remove ox-connector
  • Remove leftover LDAP schema: udm settings/ldapschema remove --dn "cn=oxforucs,cn=ldapschema,cn=univention,${ldap_base}"
  • udm settings/ldapschema remove --dn "cn=oxforucs-extra,cn=ldapschema,cn=univention,${ldap_base}"
  • Re-Install the OX-Connector app: univention-app install ox-connector

Worked for me

Mastodon