MCPcopy Create free account
hub / github.com/XiaoliChan/LDAPShell / __init__

Method __init__

utils/ldap_shell.py:34–46  ·  view source on GitHub ↗
(self, base_DN, domain_dumper, client)

Source from the content-addressed store, hash-verified

32 LDAP_MATCHING_RULE_IN_CHAIN = "1.2.840.113556.1.4.1941"
33
34 def __init__(self, base_DN, domain_dumper, client):
35 cmd.Cmd.__init__(self)
36 self.base_DN = base_DN
37 self.use_rawinput = True
38
39 self.prompt = '\n[%s]> '%self.base_DN
40 self.tid = None
41 self.intro = 'Type help for list of commands'
42 self.loggedIn = True
43 self.last_output = None
44 self.completion = []
45 self.client = client
46 self.domain_dumper = domain_dumper
47
48 def emptyline(self):
49 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected