Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

xp_ndo_enumusersids and xp_ndo_enumusergroups?

(0) ShareShare
ReportReport
Posted on by

Hi there, we run lots of Nav implementation all over the network but in any standalone or Always On organization we have these system stored procedures.

According my lectures we have different level domain users as login/users in each database. Apart of that we have for every user a schema with the same name. (I suppose for internal Nav control)

So far so good, and then, we have an application role and schema $ndo$shadow

When you start Nav client first read $ndo$dbproperty and $ndo$serverproperty tables for fetching some parameters; in our case this last table does not exist all and we have $ndo$dbconfig table as well but is empty in all the implementations.

Then will use $ndo$shadow application role and then for the concrete login call to this own Application Role that starts with this tag:

[$ndo$ar$..............

However I don't find in master database in both xp_ndo_enumusersids and xp_ndo_enumusergroups. What does it mean not having these stored procedures in our system? How does it affect us?

Thanks indeed for your responses and time,

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: xp_ndo_enumusersids and xp_ndo_enumusergroups?

    Hi ya Tharanga, no, no issue at all in our Navision live... I mean, other day trying to understand Navision security read an article talking about the security.. In our system, we have different level domain users as login/users in each database. Apart of that we have for every user a schema same name.

    We also have an application role and schema $ndo$shadow

    When you start Nav client first read $ndo$dbproperty table for fetching some parameters..

    $ndo$shadow application role supposedly will call xp_ndo_enumusersids and xp_ndo_enumusergroups system stored procedures but these ones are not installed in master database.

    I don’t know why and don’t know how can it impact in our system and what does it really mean not having them in live.

    So, insist my system works properly.

  • Tharanga Chandrasekara Profile Picture
    23,116 on at
    RE: xp_ndo_enumusersids and xp_ndo_enumusergroups?

    Can you please explain bot more on your issue.

  • Community Member Profile Picture
    on at
    RE: xp_ndo_enumusersids and xp_ndo_enumusergroups?

    Hi, it is not possible. We don't have in any NAV implementation (15) these system stored procedures. How is it possible? Unless that these objects are hidden, I doubt that.

    We run Nav Classic Client

    Thanks for any clarification on that!

  • Suggested answer
    Rabin Profile Picture
    2,976 on at
    RE: xp_ndo_enumusersids and xp_ndo_enumusergroups?

    Hi,

    Dynamics NAV System requires two extended stored procedures( DLLs that an instance of SQL Server can dynamically load and run) from xp_ndo.dll to exist on SQL Server if Windows logins are used. If these extended stored procedures do not exist, you will get this error when trying to log on using Windows Authentication:

    2016_2D00_07_2D00_28_5F00_13_2D00_26_2D00_53.png

    Until this procedure and library have been added, it will not be possible to connect to this server from Microsoft Dynamics NAV with Windows Authentication, but you will still be able to connect with Database Server Authentication.  You can read more about adding this extended stored procedure in the help pages on the product CD. 

    Follow this link to resolve the issue...

    blogs.msdn.microsoft.com/.../basic-sql-creating-extended-stored-procedure-xp_ndo-dll

  • Tharanga Chandrasekara Profile Picture
    23,116 on at
    RE: xp_ndo_enumusersids and xp_ndo_enumusergroups?

    Microsoft Dynamics NAV requires two extended stored procedures from xp_ndo.dll to exist on SQL Server if Windows logins are used. If these extended stored procedures do not exist, you will get this error when trying to log on using Windows Authentication.

    https://blogs.msdn.microsoft.com/nav_developer/2008/11/05/basic-sql-creating-extended-stored-procedure-xp_ndo-dll/

    Refer the forum answers : https://community.dynamics.com/nav/f/34/t/13864

    Hope this will help and if you need additional support let us know.

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at
    RE: xp_ndo_enumusersids and xp_ndo_enumusergroups?

    hi,

    about xp_ndo_enumusersids and xp_ndo_enumusergroups

    Scope

    You should now have two extended stored procedures, and should be able to use Windows login from NAV. "

    old sql server extended stored procedures based on "xp_ndo.dll"

    look here

    blogs.msdn.microsoft.com/.../basic-sql-creating-extended-stored-procedure-xp_ndo-dll

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans