def baseDN(self): # Python-LDAP takes strings in UTF8 return encodeUTF8(unicode(self.baseDNBox.currentText()))
def server(self): return encodeUTF8(unicode(self.serverBox.currentText()))