Developer forum
E-mail notifications
ADSI not quite working
I have set up the AD connection to the DC. All AD groups are available AD permissions in DW page properties.
One thing i cant figure out from Appendix A and thread created by Kevin is the checkbox for extended user management. Cant find this possibillity in the my solution. So maybe im missing a module.
How should i solve this ?
Replies
In management center, System, System setup apply the FQDN of the domain controller.
In GlobalSettings.aspx make sure that in <Users> section
that setting looks like this:
<UseExtendedComponent>False</UseExtendedComponent>
On a pages properties, the advanced tab in ribbon, you should find a button called "AD permissions". There you can set rights for that page in frontend.
UseExtendedComponent is set to false
AD permissions button is available on the ribbon bar, but still it does not work..
Is this somrthing we can get support on ?
<ADSI-Domain>msdemo.local</ADSI-Domain>
If I remember it correctly the standard node looks like this
<ADSI-Domain>
</ADSI-Domain>
Try to eliminate all whitespaces inside the node. And run a iisrestart
(We have just set this up on a IIS 7.5 Win2k8 R2 with version 19.1.0.5)
<ActiveDirectory>
<ADSI-Domain>heimdalur.shey-nam.lan</ADSI-Domain>
<UserName></UserName>
<Password></Password>
<ADSI-Domain2></ADSI-Domain2>
</ActiveDirectory>
<ADSI-Domain>shey-nam.lan</ADSI-Domain>
The issue with this is usually a permission problem.
The webserver you have installed Dynamicweb on is of course member of the domain controller you are trying to query?
Also - the w3wp.exe runs under a user - that user needs read access to the dc. If the webserver is member of a tree node in the DC, you probably runs into a security issue.
From the webserver in a command window, try querying the domain using the same user as w3wp.exe is running as. See http://technet.microsoft.com/en-us/library/cc757170(WS.10).aspx.
Also note that IIS (w3wp.exe) under 2008 R2 runs with a different user than on earlier versions of Windows - security has been tightened, so you probably need to get hold of the AD administrator to make sure that the user has read access to the domain.
How is your Authentication setup in IIS ?
But that has only something to do with how the user logs into the website. To get the list of security groups from the domain, the authentication has no impact.
After enabling windoes authentication, the users entering the website will be prompted for a username and password to the domain (or logged in autotically). You can add &ShowAD=True to the querystring and view source - then you can see what user has been logged in and which groups the user is member of.
My AD user magnih (pwd 12345, is only a temporary user) is a member of shey-nam/Brúkarar/Næmingar/Stud2010. Stud2010 is also a member of shey-nam.lan
http://dw.shey.fo/Default.aspx?ID=77
The w3wp.exe service uses the built-in user ApplicationPoolIdentity as its user. Should i choose another one ? This user is not available in mmc.
I got the administrator user, so i can make the changes in AD.
What user should i set read access for ?
Would it be easier if i reported this case to dw service desk ?
The key issue is that ApplicationPoolIdentity user does not have access to query the DC for information - that is my best guess. It can be a policy, a setting, permissions on the user, domain trust rules, something else... The administrator of the DC would be able to help you on this.
Rule is - that the user under which the w3wp.exe runs as, need read access to the DC - how to set that up is very different depening on the environment. It works 'out of the box' with normal MS setup - so I'm quite sure the DC admin knows what to touch.
Otherwise create a new domain user and have the worker process run as that user.
BR Nicolai
Later this month i will make our custom module marketplace page on sendistovan.fo, were this AD login is to be found. I can send you this link later if you want.
You must be logged in to post in the forum