Logo Search packages:      
Sourcecode: zope-ldap version File versions

def ZLDAPConnection::ZLDAP::manage_addZLDAPConnection (   self,
  id,
  title,
  hostport,
  basedn,
  bind_as,
  pw,
  openc,
  REQUEST = None 
)

create an LDAP connection and install it

Definition at line 506 of file ZLDAP.py.

                                           :
    """create an LDAP connection and install it"""
    host, port = splitHostPort(hostport)
    conn = ZLDAPConnection(id, title, host, port, basedn, bind_as, pw, openc)
    self._setObject(id, conn)
    if REQUEST is not None:
        return self.manage_main(self, REQUEST)
        return self.manage_main(self, REQUEST)


Generated by  Doxygen 1.6.0   Back to index