web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to make that the Dynamics NAV client request ALWAYS the user and password with Active Directory users

(0) ShareShare
ReportReport
Posted on by 105

Hello, I have the Dynamics NAV users integrated with our Active Directory so Dynamics Nav client start automatically when the user start the application, because Dynamics Na read the user session credentials,  but I would like that Dynamics NAV client ALWAYS request the user/password ...or password for to login.

Is it possible to configure it for to ask always the password? , even when the user credentials of the session were the same?.

Thanks a lot

*This post is locked for comments

I have the same question (0)
  • Kine_ Profile Picture
    2,053 on at

     Sorry, but this is the main feature of Windows authentiction - that you do not need to enter login and password... if you need to force users to enter this, you can use Database logins  for that. There are other consquences with that and this way is not possible when using Dynamics NAV 2009 RoleTailored client, but it is an option.

     

    But the main problem is somewhere else - Why you need that? May be there is another way how to solve your why, but without more details I cannot give you some tips... :-)

  • Daniel Rimmelzwaan Profile Picture
    3,485 on at

    Hi Francisco, did the reply that you got on Dynamics User Group answer your question? I'm referring to this one: http://dynamicsuser.net/forums/t/25638.aspx

  • Francisco morales Profile Picture
    105 on at

    I am going to explain why I need to do it ...It is very easy ...

    Our users ... open the sessions .... and them go away .... we have configurated the screensaver (by active directory politics) to start in 5 minutes after no activity in the system ... but .... what happen if somebody in four minutes open Microsoft Dynamics NAV???, that can access all the contability in the enterprise .... and I cant not create another user/password because they dont want to have two users with two password..

    The solution ... (one) ... force Microsoft Dynamics NAV to request always the password.

    Does it possible?, I need to increase the security

    Thanks

     

  • Kine_ Profile Picture
    2,053 on at

    There is no easier solution that good training of the users and move the responsibility for that on them (with some consequences when they break the rule...). You cannot solve that, because what if the user is in front the PC but only not using it? Do you want to lock the client too?

    Train the users to use Win+L keystroke when they are leaving the computer, it is much faster, cheaper and more effective than trying to think out another way...

  • Daniel Rimmelzwaan Profile Picture
    3,485 on at

    I agree with Kamil. Using Win+L is the best answer, it's what I always do whenever I leave my desk (even when I am at home by myself).

    When is a time good by the way, how do you determine what time is long enough.... 4 mnutes? 5 minutes? 10 minutes?Your example would apply also when you set that time to 1 minute and someone comes to their desk within 30 seconds. There is always going to be that time where you have an unattending computer. It doesn't make sense anyway, because most NAV users have the application open all day long anyway, so even if you put 6 passwords on it, it would not make a difference. Other people could just walk up and start using NAV.

    The only way to force a password when opening NAV, is using database logins instead of Windows logins. Someone suggested programming something in codeunit 1, but that would come down to exactly the same as database logins, so I would save yourself the time.

  • Rihards Timma Profile Picture
    80 on at
    OK, I too have a question on this topic... what are the main arguments to use windows or database logins? As I understand, windows logins are more easier to use because you don't have to enter login when opening the database. But which is better from security point of view? Is there any difference?
  • Kine_ Profile Picture
    2,053 on at

    Windows logins could be administered better, you can apply policy to enforce users to change the passwords, rules which the password needstp fullfill etc. you cannot use this for DB accounts.

  • Nilesh Mandani Profile Picture
    295 on at

    Hello,

    First, i agreed with kine on Ctrl + L culture withine organization.

    If the problem is too critical, then you should go for killing an idle session automatically connected to nav.
    Here, SQL doesn't kill idle session automatically, the front end application has to manage that functionality.

    Hence you should see at mibuso at http://www.mibuso.com/dlinfo.asp?FileID=367

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans