Ejemplo n.º 1
0
 def setUp(self):
     super(TestLDAPSearchAuthenticatorReturnLogin, self).setUp()
     # Loading the plugin:
     self.plugin = LDAPSearchAuthenticatorPlugin(
         self.connection,
         base_dn,
         returned_id='login',
     )
Ejemplo n.º 2
0
 def setUp(self):
     super(TestLDAPSearchAuthenticatorPluginNaming, self).setUp()
     # Loading the plugin:
     self.plugin = LDAPSearchAuthenticatorPlugin(
         self.connection,
         base_dn,
         naming_attribute='telephone',
     )