diff options
author | Christopher Jones <sixd@php.net> | 2008-07-16 22:14:03 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2008-07-16 22:14:03 +0000 |
commit | 336d8c5bd898045bfcb51ae2e03d4796ba4a5697 (patch) | |
tree | 7855579e12f1d0992ce14f9dec6cf92a5885b166 /ext/pdo_sqlite/sqlite/src | |
parent | 895066687def7cd9dd5564da8d0e07562ca39b2b (diff) | |
download | php-git-336d8c5bd898045bfcb51ae2e03d4796ba4a5697.tar.gz |
1. Merged ARG_INFO patch (Felipe)
2. Allow an empty username/password to be passed so Oracle can do
non-password based authentication, i.e. "External Authentication".
http://news.php.net/php.internals/37545
[DOC]
A new OCI_CRED_EXT flag can be passed as the "session_mode" parameter
to oci_connect(), oci_new_connect() and oci_pconnect().
$c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT);
This tells Oracle to do external or OS authentication, if configured
in the database.
OCI_CRED_EXT can only be used with username of "/" and a empty
password. Oci8.privileged_connection may be On or Off.
The new flag may be combined with the existing OCI_SYSOPER or
OCI_SYSDBA modes (note: oci8.privileged_connection needs to be On for
OCI_SYSDBA and OCI_SYSOPER mode), e.g.:
$c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT+OCI_SYSOPER);
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src')
0 files changed, 0 insertions, 0 deletions