Res = l.search_s(HostBaseDn, ldap.SCOPE_SUBTREE, '(objectClass=debianServer)', ['hostname'] )
# Res is a list of tuples.
# The tuples contain a dn (str) and a dictionary.
Res = l.search_s(HostBaseDn, ldap.SCOPE_SUBTREE, '(objectClass=debianServer)', ['hostname'] )
# Res is a list of tuples.
# The tuples contain a dn (str) and a dictionary.