Yes, I am aware of that, but you still need a username and password. In SQL*Plus which is an Oracle specific application you can connect using "/ as sysdba" which uses the operating system to verify if you belong to the dba group. Using DBD you cannot use the "/ as sysdba" to connect. You can use the ora_session_modes but you still need to pass a username and password. If you look at your code you are connecting as "SYS as SYSDBA" not "/ as sysdba".
Ah right, I see what you mean. Bummer.
-- Alan Burlison --
