def misc_enum_users(self, kwargs):
        """
        Anonymously enumerate enabled users with LDAP pings.

        Arguments:
            #file:string
                File containing a list of usernames to try.
            @delay:int = 0
                Delay in milliseconds between each try.
        """

        # LDAP pings can only be used with an anonymous bind
        if self.engine.ldap.authentication != "ANONYMOUS":
            error(
                "The enum_users feature can only be used with an anonymous bind (-a option)"
            )

        file = kwargs["file"]
        delay = kwargs["delay"]
        try:
            with open(file, "r") as f:
                while True:
                    line = f.readline()[:-1]
                    if not line:
                        break
                    if self.engine.user_exists(line):
                        print(line)
                    sleep(delay / 1000)
        except FileNotFoundError:
            error(f"Can't find file {file}")

        Anonymously enumerate enabled users with LDAP pings.

        Arguments:
            #file:string
                File containing a list of usernames to try.
            @delay:int = 0
                Delay in milliseconds between each try.
        
ldeep/__main__.py