Skip to content
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

Refactor model #9

Merged
merged 6 commits into from
Mar 9, 2015
Merged

Refactor model #9

merged 6 commits into from
Mar 9, 2015

Conversation

rroemhild
Copy link
Owner

Re-factored the LDAPConn model class. The new model class inherits now from the ldap3.Entry class, the Attributes from ldap3.Attribute. Hopefully this get me to save Models to the LDAP server.

I changed the value names for model meta-data:

  • __basedn__ is now base_dn
  • __objectclasses__ is now object_classes

Feel free to test and provide feedback before I merge this PR to master.

Renamed meta-data values. This breaks compatibility with the existing
LDAP model class.

* __basedn__ is now base_dn
* __objectclasses__ is now object_classes
@rroemhild rroemhild mentioned this pull request Mar 8, 2015
@rroemhild rroemhild merged commit 55f44d7 into master Mar 9, 2015
@rroemhild rroemhild deleted the refactor_model branch March 13, 2015 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant