📅  最后修改于: 2022-03-11 14:46:18.982000             🧑  作者: Mango
entries = conn.extend.standard.paged_search(search_base='dc=something,dc=local',
search_filter='(&(objectclass=*)(description=*Zilina*))',
attributes=ALL_ATTRIBUTES, paged_size=5)
count = 0
for entry in entries:
print(entry.value)
count = count + 1
print("pocet entries: ", count)