-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ldapsource.py expects modifyTimestamp
instead of modifyTimeStamp
#52
Comments
It occurred to me that this bug might be a result of my LDAP server being different. The insensitive lookup option is probably much safer. |
What server version are you using? On Fri, 2 Oct 2015, 05:58 Joshua Pereyda notifications@github.com wrote:
|
Active Directory. My IS department tells me they're Server 2012 and Server 2008 R2. |
Update: the change-to- |
Issue #52 Fix case-insensitive modifyTimestamp
Stack trace; notice
'modifyTimeStamp': ['20150920045950.0Z']
on line 2 and the exception at the bottom:KeyError: 'modifyTimestamp'
:The lookup expects
modifyTimestamp
, but LDAP givesmodifyTimeStamp
.The quick fix is to change the string in ldapsource.py (recommend changing entire file for consistency).
The better fix would be to make comparisons case-insensitive. Hypothetically, an LDAP server could send us modifyTimestamp.
The text was updated successfully, but these errors were encountered: