Can't Login at OX App Suite

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.
ucs_registerLDAPExtension: registraton of /usr/share/univention-ox/ldap/oxforucs-extra.schema failed.
65univention-ox.inst: Failed to register LDAP module.
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 (
  NAME 'acl'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX{256} )

# flag for allowing unrestriced length of mails
attributetype (
  NAME 'unrestrictedMailSize'
  EQUALITY booleanMatch

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

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

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