Bug 46172 - 61_udm-users/26_password_expire_date fails
61_udm-users/26_password_expire_date fails
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Connector maintainers
Samba maintainers
: interim-2
Depends on: 45842 45877 46174
Blocks: 46116
  Show dependency treegraph
 
Reported: 2018-01-26 11:21 CET by Florian Best
Modified: 2019-02-27 18:05 CET (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): API change, Cleanup, Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2018-01-26 11:21:58 CET
After merging Bug #45842 there is a strange error in the S4-connector:

Reproducible with 61_udm-users/26_password_expire_date:

# service univention-s4-connector stop
# /usr/sbin/udm-test users/user create --position cn=users,dc=dev,dc=local --set username=yrek0r06ou --set firstname=eqpw94co9s --set lastname=v8xes63m7h --set disabled=none --set password=0hsewih9gk

# univention-ldapsearch -b uid=yrek0r06ou,cn=users,dc=dev,dc=local krb5KDCFlags -LLL                                                                                                                                              
dn: uid=yrek0r06ou,cn=users,dc=dev,dc=local
krb5KDCFlags: 126

# service univention-s4-connector start
# sleep 3
# univention-ldapsearch -b uid=yrek0r06ou,cn=users,dc=dev,dc=local krb5KDCFlags -LLL
dn: uid=yrek0r06ou,cn=users,dc=dev,dc=local
krb5KDCFlags: 254

→ why does the S4-Connector set krb5KDCFlags=254 when we set locked=none ?

+++ This bug was initially created as a clone of Bug #45842 +++
Comment 1 Florian Best univentionstaff 2018-01-26 12:30:12 CET
This was a typo in an interim version:
return str(False) instead of return False in unmapKerberosDisabled.