<legend id='az6t0'><style id='az6t0'><dir id='az6t0'><q id='az6t0'></q></dir></style></legend>
      <bdo id='az6t0'></bdo><ul id='az6t0'></ul>

    1. <tfoot id='az6t0'></tfoot>

    2. <i id='az6t0'><tr id='az6t0'><dt id='az6t0'><q id='az6t0'><span id='az6t0'><b id='az6t0'><form id='az6t0'><ins id='az6t0'></ins><ul id='az6t0'></ul><sub id='az6t0'></sub></form><legend id='az6t0'></legend><bdo id='az6t0'><pre id='az6t0'><center id='az6t0'></center></pre></bdo></b><th id='az6t0'></th></span></q></dt></tr></i><div id='az6t0'><tfoot id='az6t0'></tfoot><dl id='az6t0'><fieldset id='az6t0'></fieldset></dl></div>
    3. <small id='az6t0'></small><noframes id='az6t0'>

    4. 如何使用 Python LDAP 获得比服务器的 sizelimit 更多的搜索结果?

      How to get more search results than the server#39;s sizelimit with Python LDAP?(如何使用 Python LDAP 获得比服务器的 sizelimit 更多的搜索结果?)

    5. <i id='cViFa'><tr id='cViFa'><dt id='cViFa'><q id='cViFa'><span id='cViFa'><b id='cViFa'><form id='cViFa'><ins id='cViFa'></ins><ul id='cViFa'></ul><sub id='cViFa'></sub></form><legend id='cViFa'></legend><bdo id='cViFa'><pre id='cViFa'><center id='cViFa'></center></pre></bdo></b><th id='cViFa'></th></span></q></dt></tr></i><div id='cViFa'><tfoot id='cViFa'></tfoot><dl id='cViFa'><fieldset id='cViFa'></fieldset></dl></div>
        1. <small id='cViFa'></small><noframes id='cViFa'>

        2. <tfoot id='cViFa'></tfoot>

            <tbody id='cViFa'></tbody>
            <bdo id='cViFa'></bdo><ul id='cViFa'></ul>
                <legend id='cViFa'><style id='cViFa'><dir id='cViFa'><q id='cViFa'></q></dir></style></legend>
                本文介绍了如何使用 Python LDAP 获得比服务器的 sizelimit 更多的搜索结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在使用 python-ldap 模块来(除其他外)搜索组,并且正在运行服务器的大小限制并获得 SIZELIMIT_EXCEEDED 异常.我已经尝试过同步和异步搜索,并以两种方式解决了问题.

                I am using the python-ldap module to (amongst other things) search for groups, and am running into the server's size limit and getting a SIZELIMIT_EXCEEDED exception. I have tried both synchronous and asynchronous searches and hit the problem both ways.

                您应该能够通过在搜索上设置分页控件来解决此问题,但根据 python-ldap 文档,这些控件尚未为 search_ext() 实现.有没有办法在 Python 中做到这一点?如果 python-ldap 库不支持,是否还有其他 Python 库支持?

                You are supposed to be able to work round this by setting a paging control on the search, but according to the python-ldap docs these controls are not yet implemented for search_ext(). Is there a way to do this in Python? If the python-ldap library does not support it, is there another Python library that does?

                推荐答案

                这里有一些与python-ldap中分页相关的链接.

                Here are some links related to paging in python-ldap.

                • 文档:http://www.python-ldap.org/doc/html/ldap-controls.html#ldap.controls.SimplePagedResultsControl
                • 使用分页的示例代码:http://www.novell.com/coolsolutions/tip/18274.html
                • 更多示例代码:http://google-apps-for-your-domain-ldap-sync.googlecode.com/svn/trunk/ldap_ctxt.py

                这篇关于如何使用 Python LDAP 获得比服务器的 sizelimit 更多的搜索结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Pythonic and efficient way of finding adjacent cells in grid(在网格中查找相邻单元格的 Pythonic 和有效方法)
                map a hexagonal grid in matplotlib(在 matplotlib 中映射六边形网格)
                Execute arbitrary python code remotely - can it be done?(远程执行任意 python 代码 - 可以吗?)
                Python - Plotting colored grid based on values(Python - 根据值绘制彩色网格)
                Is there a GUI design app for the Tkinter / grid geometry?(是否有 Tkinter/网格几何图形的 GUI 设计应用程序?)
                tkinter Canvas Scrollbar with Grid?(带有网格的 tkinter 画布滚动条?)

                <i id='oaOom'><tr id='oaOom'><dt id='oaOom'><q id='oaOom'><span id='oaOom'><b id='oaOom'><form id='oaOom'><ins id='oaOom'></ins><ul id='oaOom'></ul><sub id='oaOom'></sub></form><legend id='oaOom'></legend><bdo id='oaOom'><pre id='oaOom'><center id='oaOom'></center></pre></bdo></b><th id='oaOom'></th></span></q></dt></tr></i><div id='oaOom'><tfoot id='oaOom'></tfoot><dl id='oaOom'><fieldset id='oaOom'></fieldset></dl></div>

                  <tbody id='oaOom'></tbody>
              1. <tfoot id='oaOom'></tfoot>

                  • <bdo id='oaOom'></bdo><ul id='oaOom'></ul>
                    • <small id='oaOom'></small><noframes id='oaOom'>

                          <legend id='oaOom'><style id='oaOom'><dir id='oaOom'><q id='oaOom'></q></dir></style></legend>