Windows Login Authentication

pedrocalvinpedrocalvin Member Posts: 8
Hi!

Did anyone already had to develop a Windows Authentication?

The situation is easy: I have users using Windows Login to access Navision.

Now i'm developing an extra module that for safety issues needs an extra authentication from the user. And he will have to type his Windows password.

So my question is: is there anyway to ask the system if the password he typed is the correct password??

Thanks in advance,
Pedro

Comments

  • nunomaianunomaia Member Posts: 1,153
    I don’t see the point for this. Windows Security it's quite secure.

    But there is a workaround.
    Develop in .NET a COM object that makes the login in AD.
    In codeunit 1 , call that COM object every time the user logons to Navision.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • pedrocalvinpedrocalvin Member Posts: 8
    hi nuno. thanks for ur reply.

    the point is that im developing codeunits to be in use with ADCS (i.e., software for pda terminals).

    ADCS routines have already a way of doing the Login in the PDA, but with DB authentication. (accessing Table 2000000002 - User)

    The problem is that the database is already in use in the client with Windows Authentication.

    So I would prefer to keep the same login/password...
  • nunomaianunomaia Member Posts: 1,153
    In codeunit 7705, function CheckPassword(TextValue : Text[250]) ReturnValue : Boolean

    Change the Validation to use a .NET COM object, to validate the user and password in the Active Directory.

    There are plenty of .NET samples in the WWW, just make a .NET wrapper for that.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • DduranDduran Member Posts: 22
    I propose an alternative solution to you. In software standard, in the Client\Program Files\Microsoft Business Solutions-Navision\Client forder ther is the nfencrypt.dll that permit to generate keys encripted. the problem is that they should use a second key.

    regards.

    David
Sign In or Register to comment.