cancel
Showing results for 
Search instead for 
Did you mean: 

ASE LOGINREC info with traceflag 4001

jayrijnbergen
Active Participant
0 Kudos

Hi

I'm working on enforcing net password encryption, and want to monitor all connections to the ASE instance. With traceflag 4001 I get all LOGINREC info in the console output, and I know these statuses:

SECURITY: option: 0x00 -- no password encryption

SECURITY: option: 0xa1 -- password encryption

However, I also see plenty of records with: option: 0x21 and option: 0x01

Anyone knows the meaning of those values?

I guess it's a bit map, but not sure which bit actually indicates the pw encryption

0x01 = 0000 0001
0x21 = 0010 0001
0xa1 = 1010 0001

Are there any other statuses I can expect?

thanks

Accepted Solutions (1)

Accepted Solutions (1)

jayrijnbergen
Active Participant
0 Kudos

sorted it out

option != 0x00 means some kind of encryption is used

different values for different mechanisms, also depends on the type of pw encryption

And an alternative to check if password encryption is used: dbcc pss(0,0)

check the output for this string: ENCRYPT

Answers (0)