Type: Posts; User: f1shrman
Search took 0.01 seconds.
September 18th, 2006, 03:48 PM
Just a thought, if you want to catch compiles and links, could you watch the processes and then count how many times you see CL.exe and Link.exe run.
September 18th, 2006, 03:41 PM
Metallica - Better Than You
September 17th, 2006, 07:25 PM
There are many ways of doing this in C++....here are two examples, one using c style strings and another using std::string:
September 15th, 2006, 01:11 PM
Are you talking about the confinguration used by the apache server?
If so, isn't it in the httpd.conf file in <drive letter>:\<Apache Install Directory>\conf\................for apache 2.0.59 the...
September 14th, 2006, 08:47 PM
For directories that hold custom headers.....utility classes and such...I use project settings...C++.....preprocessor.....Additional include directories (VC6). As long as I have not used relative...
September 13th, 2006, 07:40 AM
Also add a check for the length of the password so it meets the length requirements.
int pwLen = strlen( pw );
if( pwLen < 6 )
//password to short
September 13th, 2006, 07:32 AM
Have you looked at the Crypto++ Library 5.2.1 - http://www.eskimo.com/~weidai/cryptlib.html
It may have what you need as well....I have not used it, but it looks to have pretty good support for...
September 13th, 2006, 07:28 AM
I would agree that using SHA-256 or SHA-512 will cover the bases well.
I think that you may want to use a salt when you create your hashes. A salt is a value you add when the hash is created to...
September 12th, 2006, 05:07 PM
If you have to store the password and you are using it for internal authentication then hashing (preferably SHA-1 or better) is the way to go.
And yes the key used to hash the passwords will be...
September 12th, 2006, 04:17 PM
Before you try to address the proper encryption scheme to use, you have to be 100% sure that you have to be responsible for password security in your application. There will more to protecting your...
September 12th, 2006, 10:57 AM
I think this is possible to do, but you have to really want to do it.
First create a very deep directory structure.
Then using a utility like junction from Sysinternals create a symbolic link...
September 12th, 2006, 08:17 AM
If you can find the administrators account, you should be able to use System.DirectoryServices to rename it.
DirectoryEntry de = new DirectoryEntry( "WinNT://target_computer/admin_uid" );
September 12th, 2006, 07:13 AM
Looking at the code, you try to bind to the domain and then search for the account you created. If that is correct.......
In the value for sCN.data() value, do you specify a target domain...
August 22nd, 2006, 02:30 PM
H.I.M. - Wings of a Butterfly
August 21st, 2006, 02:04 PM
Megadeth - Of Mice and Men
August 21st, 2006, 01:26 PM
First, a question - are you trying to spawn the application from a service? If so, is the service configured so that it has the ability to interact with the desktop? If the service does not have the...
August 16th, 2006, 03:26 PM
VB is expecting a BSTR data type to be returned from your dll.
If you do not have to convert the incoming BSTR to std::string then don't and just return the BSTR value.
If you have to...
August 11th, 2006, 11:01 AM
What libraries are you including in your project, something like adsiid.lib and actveds.lib?
August 11th, 2006, 10:57 AM
Try to find your target object in the Active Directory Users and Computers snap-in, say an OU. You can right click the OU and select delegate control and then set the permissions for the group.
January 18th, 2006, 05:44 AM
Have you installed the MS trap provider? This has to be installed before you can receive traps.
If not, go to add and remove programs --> windows components --> network --> snmp ( not 100%...
January 13th, 2006, 05:55 AM
For AD, looked at an attribute called UnicodePWD ......for other directories, userPassword usually works....but you are always safer checking the schema first.
January 13th, 2006, 05:50 AM
It may be that don't have the updated header and library files that include this.
Try downloading and installing the new ms sdk then update the project settings to use the additional include and...
June 30th, 2005, 05:48 AM
Had a typo sorry - try this instead......
V_I4(&var) &= ~ADS_UF_PASSWD_CANT_CHANGE;
June 29th, 2005, 05:01 AM
If you are trying to remove the flag try using the ~ operator
V_I4(&var) & ~ ( ADS_UF_ACCOUNTDISABLE );
June 26th, 2005, 07:59 AM
I think you need to reference the returned data differently. At least in the sample, the return value appears to be an array of items. Also, the DN is referenced as a ".DNString".
Click Here to Expand Forum to Full Width