[freetds] freeTDS sybase password encryption problem

Parker, Thomas P thomas_p_parker at fanniemae.com
Wed Jul 18 10:30:49 EDT 2007


Thank you for your research.  Its good to know that it wasn't something I was missing during the compiling phase.  

 


Thomas P. Parker

AutoSys Job Scheduling
Senior Engineer
Phone: 301-418-7826
Pager: 1-800-SKY-FNMA

The electronic mail message you have received and any files transmitted with it are confidential and solely for the intended addressee(s)’s attention. Do not divulge, copy, forward, or use the contents, attachments, or information without permission of Fannie Mae. Information contained in this message is provided solely for the purpose stated in the message or its attachment(s) and must not be disclosed to any third party or used for any other purpose without consent of Fannie Mae. If you have received this message and/or any files transmitted with it in error, please delete them from your system, destroy any hard copies of them, and contact the sender.


-----Original Message-----
From: freetds-bounces at lists.ibiblio.org [mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Wednesday, July 18, 2007 10:27 AM
To: FreeTDS Development Group
Subject: Re: [freetds] freeTDS sybase password encryption problem

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
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds


More information about the FreeTDS mailing list