[freetds] freeTDS sybase password encryption problem

James K. Lowden jklowden at freetds.org
Wed Jul 18 10:27:25 EDT 2007


Parker, Thomas P wrote:
> 
> i did find out that the program uses the following sybase call
>  
> DBSETLENCRYPT()
> 
> does freetds support a call like this?  

USTL, Thomas!  The (disappointing) answer to your query can be found in
doc/api_status.txt and in src/dblib/dblib.c:

RETCODE
dbsetlbool(LOGINREC * login, int value, int which)
{
	tdsdump_log(TDS_DBG_FUNC, "dbsetlbool(%p, %d, %d)\n", login, value,
which);

	switch (which) {
	case DBSETBCP:
		tds_set_bulk(login->tds_login, (TDS_TINYINT) value);
		return SUCCEED;
		break;
	case DBSETNOSHORT:
	case DBSETENCRYPT:
	case DBSETLABELED:
	default:
		tdsdump_log(TDS_DBG_FUNC, "UNIMPLEMENTED dbsetlbool() which =
%d\n", which);
		return FAIL;
		break;
	}
}

HTH.  

--jkl


More information about the FreeTDS mailing list