I'm using PHP to connect to an Oracle OID LDAP - and I'm testing with different account types; in this case I know an account is expired (OID error 9000 - http://docs.oracle.com/cd/E15523_01/oid.1111/e10029/trblsht.htm#CHDJHCHC) but PHP is just returning me an error 49 (ldap_errno) which is just the generic invalid credentials error.
Is there another function or method to get more verbose messages from the server?