Skip to content

binding not released #12

@whitlockjc

Description

@whitlockjc

I am using your script on CentOS 6. I got the following error when using your script more then once:
Error performing search: {'info': '00002024: LdapErr: DSID-0C060595, comment: No other operations may be performed on the connection while a bind is outstanding., data 0, v1772', 'desc': 'Server is busy'} It seems the binding is not released by your script. I added an unbind function. Since I'm unfamiliar with Bitbucket here are the relevant snippets.

# bind()
def unbind(ldapobject):
  ldapobject.unbind()
  if verbose:
    print("Released binding to %s..." % url)
# unbind()

Cheers, Jasper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions