Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14664

LDAP: Operations error whith windows 2003

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.0.3, 4.1.0
    • None

    Description

      hi,
      Windows 2003 doesn't allow a search to the root DN.

      If i try a search from root DN, I have an 'Operations error' message from php ldap.

      To fix this problem, i suggest to add a line like:
      ldap_set_option($ad, LDAP_OPT_REFERRALS, 0);
      near the line 250 in eZLDAPUser::loginUser (maybe do this fix too in 'cronjobs/ldapusermanage.php')
      after
      ldap_set_option( $ds, LDAP_OPT_SIZELIMIT, 1000 );
      ldap_set_option( $ds, LDAP_OPT_TIMELIMIT, 0 );

      And I suggest another things!
      add in ldap.ini some settings variable for each ldap_set_option i.e: LDAP_OPT_REFERRALS, LDAP_OPT_SIZELIMIT, LDAP_OPT_TIMELIMIT )

      Attachments

        Activity

          People

            unknown unknown
            el_filipe@yahoo.com el_filipe@yahoo.com
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: