#2987 winsync agreement cannot be created
Closed: Fixed None Opened 11 years ago by mkosek.

Winsync agreement always returns an error:

# ipa-replica-manage connect --winsync --cacert=/home/mkosek/ad-test.cer --binddn='cn=Administrator,cn=users,dc=ad,dc=test' --bindpw='Password123' 10.16.79.99 --passsync PASSWORD -v
unexpected error: unsupported operand type(s) for -: 'NoneType' and 'NoneType'

This is the relevant traceback:

Traceback (most recent call last):
  File "/sbin/ipa-replica-manage", line 542, in <module>
    main()
  File "/sbin/ipa-replica-manage", line 531, in main
    add_link(realm, replica1, replica2, dirman_passwd, options)
  File "/sbin/ipa-replica-manage", line 379, in add_link
    dm_password = dirman_passwd)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py", line 178, in __init__
    self.__setup_sub_dict()
  File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py", line 326, in __setup_sub_dict
    IDRANGE_SIZE=self.idmax-self.idstart+1
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'

Patch freeipa-mkosek-292-fix-winsync-agreements-creation.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0 Beta 2

7 years ago

Login to comment on this ticket.

Metadata