web service delegation spn
canadian_bacon
Member Posts: 91
I've found documentation stating that SPN's have to be created and associated with the computer on which web services run and documentation stating that they have to be associated with the domain user under which web services run. Can anyone add some clarity here? - Are SPN's supposed to be associated with the computer or domain user?
Thanks
Thanks
0
Comments
-
Download the "Service Pack 2 32-bit Support Tools" if you do not have the setspn command.
Usage:setspn –A ServerName_InstanceName/FullyQualifiedDomainNameOfServer:Port Domain \User
it means something like:Setspn -A yourServerName_DynamicsNAV/yourServerName.yourDomain.yourCompany.com:7046 yourdomain\yourUser
Where the yourDomain\yourUser is user account under which the NAV Server is running.0 -
Thanks for the reply kine but I tried this a while ago and it didn't work. And I have a question about this commmand:
Setspn -A yourServerName_DynamicsNAV/yourServerName.yourDomain.yourCompany.com:7046 yourdomain\yourUser
Instead of using "yourServerName_DynamicsNAV", should you not use the key name of the service instead (ie. MicrosoftDynamicsNavWS or MicrosoftDynamicsNavServer) which is how it's normally done with other services? And would you also have to set SPN for the web service separately which is port 7047? I've done both and the web service is still having authentication issues with SQL.
So, I take it then that the SPN's have to be associated to the domain user and NOT the computer?0 -
0
-
Okay, saw that you also have to associate other SPN's:
HTTP/FullyQualifiedDomainNameOfNavWebServiceServer
HTTP/NameOfNavWebServiceServer
It didn't work unfortunately...and the MS documentation makes no mention of this. Is there a source of info which lists ALL the SPN's which have to be created and to what they have to be associated?0 -
They must be associated to the user under which the service is running. And it must be the url used to connect to...
I found what I wrote in the MOC 80040A (Installation and Setup).0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

