Skip to content

Panic: empty value in filter #757

@saimikiry

Description

@saimikiry

Hi, devs! Using an empty value in "rules/ldapsearch/filter" will cause the program to panic (looks like: #709).

ldap2pg.yml

postgres:
  ...

rules:
- description: "..."
  ldapsearch:
    base: cn=admin,dc=test,dc=com
    filter: # empty (panic)

Expectations

Apparently, this exception is expected to be handled gracefully and not cause panic.

Verbose output of ldap2pg execution

Verbose output Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions