Windows AD Groups

FishermanFisherman Member Posts: 456
Hi all -

Got a quick question about AD Groups as Windows Logins -

I've added my own AD security group to SQL as a login, to the Navision Database as a database user, and to Navision itself through the Windows Login screen. Resynced Navision security... When I switch my authentication type to Windows, I can log in with no problems - great so far... keep in mind, that I'm a member of the Administrator group, which also has logon rights to all three levels...

Now, I added one of our Accounting Department's Security groups in the same manner and resynced. I went to a member of that group and had him try to log on using Windows Authentication - no dice. I refreshed AD from the PDC to the BDC - no dice. I added another security group to which he is a member - no dice. I had him log off and back on while I resynchronized Navision security (again) , no dice...

Has anyone been able to get this to work correctly? I'd like to create our organizational hierarchy in AD, add the AD Groups to Navision, and then assign the permissions to those groups, but I'm having a hell of a time doing it. Are there any good Microsoft resources available on how to get this done?

Thanks.

Comments

  • bbrownbbrown Member Posts: 3,268
    With 4.x you need to assign each member of the AD group as a Windows Login in Navision along with the AD group itself. You only need to assign roles to the AD Group user.

    This is documented somewhere, but I can't remember where right now.

    Also, you do not need to add the AD user to SQL manually. The sync should take care of this.
    There are no bugs - only undocumented features.
  • FishermanFisherman Member Posts: 456
    Ahh... the documentation that I have says pretty explicitly that you can add the AD Group, and Navision would perform authentication from there (Chapter 8 - Security... but I think it may be an older version of the docs. It's all I've been able to get from our NSC).

    Did it work that way in 3.x? If so, then why in the world would they change it? I would think that would be the desired behavior?
    Also, you do not need to add the AD user to SQL manually. The sync should take care of this.

    So.. add the Group as a Database Login and user, and to Navision as a Windows Login. Assign Roles and Permissions to the Group, and then I only have to add the windows login to Navision from that point?
  • FishermanFisherman Member Posts: 456
    wait a tick, though...

    My Windows User Login is not set up in Navision, only the MIS and Administrator security groups.. and I'm able to log in with Windows Auth....
  • bbrownbbrown Member Posts: 3,268
    Yes this did work different in version 3. I understand that the change was to conform with the tighter Windws 2003 security model.

    You should not need to add anything manually in SQL. Just create your AD groups and assign users. Then add then to Navision as Windows logins and sync. The user doing the sync must be a member of the SQL security admin role or higher.
    There are no bugs - only undocumented features.
  • bbrownbbrown Member Posts: 3,268
    My Windows User Login is not set up in Navision, only the MIS and Administrator security groups.. and I'm able to log in with Windows Auth

    Didn't you say you were an Administrator? This basicly overrides everything.
    There are no bugs - only undocumented features.
  • FishermanFisherman Member Posts: 456
    OK... so the fact that I'm a Domain Administrator somehow overrides everything in Navision?

    Man.. this is just screwy. The old model of mapping organizational hierarchy through AD groups and adding those to Navision just makes more sense. I don't see how this really provides any tighter security.

    Do people like this new model?
  • bbrownbbrown Member Posts: 3,268
    Man.. this is just screwy

    I can't disagree with you. I used to have a 2.6 site with ~300 authorized users. With 20 to 30 user changes a month, the old model made this a breeze to manage.
    There are no bugs - only undocumented features.
  • bruno77bruno77 Member Posts: 62
    Stay tuned, the rumor is that it will be possible to select the "old"/"easy" way of handling security in v.4 SP3 (planned release in October / November).
  • kinekine Member Posts: 12,562
    It is simple. You just needs to remember:

    1) You can add group into navision and connect Navision roles to this group
    2) Users must have account for their user account in the Navision (but it can be without any role)
    3) Users must be directly members of the group used in the Navision, it is not possible to use more nested groups
    (It must be - NAV Role - AD Group - AD User, NAV Role - AD Group-AD Group -AD User is not allowed)
    4) You needs to run the synchronization process over the user ID, not over the group, sync for group is doing nothing...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • FishermanFisherman Member Posts: 456
    Thanks guys - I'll be anxiously awaiting SP3...

    It is simple. You just needs to remember...

    Thanks for the synopsis kine. It is simple... but it is simpler still to just be able to add/map the AD groups.
  • Scott_FrappierScott_Frappier Member Posts: 90
    Fisherman:

    4.0 SP2 Update 02 introduces the new option that allows you to choose between the old security model (prior to 4.0) and the new security (4.0 and above).

    You should contact your NSC/Microsoft to get the update...so far, we have not encountered any issues and use the Standard security model (prior to 4.0) that allows us to make changes to table data w/o synching the users! :)
    Scott Frappier
    Vice President, Deployment Operations

    Symbiant Technologies, Inc.
    http://www.symbiantsolutions.com
Sign In or Register to comment.