17 comments

  1. Interesting – but why? Under what scenario would you want to use forms auth (and not NTLM/Kerberos) against AD? Curious….

    Oskar Austegard

  2. why? Well, we use WSS in a hosted environment. This means multiple clients on the same AD. We would like to have our clients log on by using there SPN adress instead of the usual acocuntname. This way, you can.

    And by using the AD Provider, I can specifically target a single OU or container in the AD to authenticate against per Web Application.

    Hope this clarifies it a bit.

    bartg

  3. I have 2 problems. One is that when I add the membership part to the web.config my SharePoint Services v3 site gives an error. The second is I’m not sure how I fill the LDAP connection string exactly.

    When I remove the part from the web.config of my site where I want forms authentication I can see the loginform.

    Any idea?

    Barend

  4. Barend,

    The web.config file is case sensitive so make sure it is absolutely the same. Also, copy-pasting directly from a web-page could lead to incorrect characters inserted in the web.config. First, paste it into notepad, from there copy-paste it into the web.config.

    I cannot help you with your second problem, this LDAP string is different for each AD. Mine looks like this:

    LDAP://bartg03_moss.moss.contoso.com/OU=TESTUSERS,DC=MOSS,DC=CONTOSO,DC=COM

    Good luck!

    Bart

    bartg

  5. Thanks, it really helps to find out exact error

    Indranil

  6. Thank you for this article.

    For me everything works fine.
    I was able to add users from AD to my sharepoint group,
    but I was not able to find AD group even it is inside users directory.

    Sharepoint user

  7. Bart,

    Thanks for putting this together! I have been looking for detailed instructions on how to setup FBA with AD membership provider.

    I am running into an error when trying to add a site collection administrator. The people picker cannot seem to find any users.

    Any help would be greatly appreciated!
    Thanks,
    EJ

    EJ

  8. Hello, I have been able to successfully hook up the ActiveDirectoryMembershipProvider and my site successfully uses forms authentication. However, I cannot find out how to add security groups to my sharepoint groups. I can add AD users all day long, but it never sees security groups. How do I add security groups?

    Thanks a ton,
    Robby

    Robby

  9. Hi Robby
    I was having same problem.
    If you find the solution please post here.
    I will do the same.

    Thanks

    Sharepoint user

  10. I am sucessfully able to configure form based authentication with active doirectory using LDAP , but my site link doen’t come up when i logged in into the webapplication with form based authentication using AD users.

    shekhar

  11. I am sucessfully able to configure form based authentication with active doirectory using LDAP , but my site link doen’t come up when i logged in into the webapplication with form based authentication using AD users

    hotman

  12. Hi, just a follow-up to a couple of the requests above. I have also managed to get FBA working with the AD provider, but I also need to access security groups.

    I’ve tried adding a roleManager using the Windows ASP provider, but that doesn’t work.

    Any ideas?

    Mat

  13. hi…
    I’m not sure how I fill the LDAP connection string exactly.
    can someone describe what exactly each field is? what should be entered here::::

    LDAP://bartg03_moss.moss.contoso.com/OU=TESTUSERS,DC=MOSS,DC=CONTOSO,DC=COM

    supposing i use an ip instead of a site name, what should be my OU,DC???

    someone kindly help me out.

    Thanx.

    george mathews

  14. Hi George,

    an LDAP connection is set up like: LDAP:/// so you should have a look in your Active Directory to determin which OU, DC you should use.

    Regards,
    Bart

    bartg

  15. Thanx a lot Bart.
    Will ask you if i face any other problem.

    george mathews

  16. hi…
    Inside Policy for web application, i need to add users. so, when I click on browse directory icon, i need to enter the user names which i need to add right?

    what is the format in which i need enter the user name?

    is it anything like membershipprovidername:username or just the username or is there anything else?

    kindly help me out.

    thanx.

    george mathews

  17. George, you can just type the username, it should show two users
    One being ;
    the other being

    Emma

Comments are closed.