Skip to content

Conversation

ds-04
Copy link
Contributor

@ds-04 ds-04 commented Oct 3, 2025

Signed-off-by: David Simpson <>

remove unnecessary connection in project_openldap utils.py


try:
conn.modify(dn, {"description": [(MODIFY_REPLACE, [openldap_description])]})
conn.unbind()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should also be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes overzealous use of unbind... will correct in due course

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected now in latest force push


try:
conn.modify_dn(current_dn, relative_dn, new_superior=archive_ou)
conn.unbind()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes overzealous use of unbind... will correct in due course

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected now in latest force push

@ds-04 ds-04 force-pushed the project_openldap_fix_connection_i branch from ceba62b to 738b5ef Compare October 9, 2025 13:59
@ds-04 ds-04 force-pushed the project_openldap_fix_connection_i branch from 738b5ef to 34edfd3 Compare October 17, 2025 15:25
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.

2 participants