Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: f1shrman

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: How to capture Visual Studio compile event from external app

    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.
  2. Replies
    2,687
    Views
    380,405

    View Post

    Metallica - Better Than You
  3. Replies
    9
    Views
    1,048

    Re: Extract substring from string

    There are many ways of doing this in C++....here are two examples, one using c style strings and another using std::string:



    #include <cstdlib>
    #include <cstdio>
    #include <cstring>
    #include...
  4. Replies
    2
    Views
    704

    Re: apache server path ??

    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...
  5. Replies
    5
    Views
    604

    Re: #include and alternate directories

    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...
  6. Replies
    3
    Views
    1,342

    Re: implementing password complexity

    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
  7. Replies
    23
    Views
    3,470

    Re: Best way to store a password

    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...
  8. Replies
    23
    Views
    3,470

    Re: Best way to store a password

    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...
  9. Replies
    23
    Views
    3,470

    Re: Best way to store a password

    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...
  10. Replies
    23
    Views
    3,470

    Re: Best way to store a password

    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...
  11. Replies
    8
    Views
    803

    Re: How long full path of a file may be...?

    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...
  12. Re: Renaming the Administrator Account, programatically, in win 2k, no AD

    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" );
    ...
  13. Replies
    6
    Views
    578

    Re: Active directory call failing

    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...
  14. Replies
    2,687
    Views
    380,405

    View Post

    H.I.M. - Wings of a Butterfly
  15. Replies
    2,687
    Views
    380,405

    View Post

    Megadeth - Of Mice and Men
  16. Replies
    1
    Views
    433

    Re: Non-interactvie user account

    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...
  17. Replies
    4
    Views
    2,052

    Re: std::string to BSTR conversion

    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...
  18. Re: ADSI Terminal Server Extensions (IADsTSUserEx)

    What libraries are you including in your project, something like adsiid.lib and actveds.lib?
  19. Replies
    1
    Views
    7,739

    Re: Active Directory Add User Permissions

    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.
    ...
  20. Thread: Trap SNMP

    by f1shrman
    Replies
    7
    Views
    6,664

    Re: Trap SNMP

    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%...
  21. Replies
    2
    Views
    3,020

    Re: Changing Passwords using ldap c api

    For AD, looked at an attribute called UnicodePWD ......for other directories, userPassword usually works....but you are always safer checking the schema first.
  22. Replies
    1
    Views
    3,945

    Re: ADSI / using IADsNameTranslate in C++

    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...
  23. Replies
    9
    Views
    3,492

    Re: ADSI userAccountControl Furtif_00 Project

    Had a typo sorry - try this instead......


    V_I4(&var) &= ~ADS_UF_PASSWD_CANT_CHANGE;


    HTH
  24. Replies
    9
    Views
    3,492

    Re: ADSI userAccountControl Furtif_00 Project

    If you are trying to remove the flag try using the ~ operator


    V_I4(&var) & ~ ( ADS_UF_ACCOUNTDISABLE );


    HTH
  25. Replies
    1
    Views
    2,479

    Re: ADSI VC++/ geeting the DN of a User

    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".

    from MSDN:

    ...
Results 1 to 25 of 194
Page 1 of 8 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center