Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug #63126, imap_open: DISABLE_AUTHENTICATOR ignores array #200

Closed
wants to merge 2 commits into from

Conversation

remicollet
Copy link
Member

For PHP-5.3, 5.4 and master

@lstrojny
Copy link
Contributor

Thanks! We need a test for that. PHPT test that is.

@remicollet
Copy link
Member Author

I can add a unit test, but this test will requires a GSSAPI enabled server (MS Exchange p.e.) ?
How can I ensure this ?

@laruence
Copy link
Member

you can add a config.inc, and skip the test if it is not configured properly, like the pdo_mysql's tests https://github.com/php/php-src/blob/master/ext/pdo_mysql/tests/config.inc

@remicollet
Copy link
Member Author

Here is a unit test. It uses imap_include as all other imap tests, and a specific skip script.

It will be skipped on most case (need a Kerberos aware server and a not aware client)

It fails on our internal Exchange 2007 server and php 5.3.3 (RHEL-6) or 5.4.7 (Fedora 18)
It succeed with php 5.4.7+patch applied

@Drarok
Copy link

Drarok commented Nov 16, 2012

Been butting my head against this bug for the best part of a day, thank you for reporting it, and patching it (though I can't try the patch on the production server). Worked around the problem by using a string for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants