Come configurare un’autenticazione claims e forms con un provider LDAP su Sharepoint 2010

Ultimamente ho dovuto configurare una sorgente ldap su Sharepoint 2010 per far sì che il profilo utente fosse disponibile sia in autenticazione form che in windows.

Ovviamente come sorgente LDAP ho usato Active Directory su una macchina Windows 2008 R2.

Una volta configurato il sistema di accesso (vediamo fra poco come), la pagina di login diverrà una solamente, con la possibilità di selezionare come identificarsi:

signin_6209cff5-0cb4-4fca-82be-bc3b5369b7f1

 

PREREQUISITO

E’ necessario che la vostra applicazione sia configurata in Integrated Windows Authentication NTLM e che  sia abilitato l’FBA

 

00089841-82F5-4012-9E93-B37576580D52


Fatto quanto sopra dovremo modificare 3 web.config:

  1. Central Administration
  2. Security Token Service
  3. Web application

 

  1. Apriamo il web.config del Central Administration e aggiungiamo i dati inerenti al provider da usare sotto il tag system.web:
<membership>
<providers>
<add name="LdapMember"
type="Microsoft.Office.Server.Security.LdapMembershipProvider,
Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"

server="dc.myldapserver.com"
port="389"
useSSL="false"
userDNAttribute="distinguishedName"
userNameAttribute="sAMAccountName"
userContainer="OU=SPUsers,DC=myldapserver,DC=com"
userObjectClass="person"
userFilter="(ObjectClass=person)"
scope="Subtree"
otherRequiredUserAttributes="sn,givenname,cn" />
</providers>
</membership>

<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" >
<providers>
<add name="LdapRole"
type="Microsoft.Office.Server.Security.LdapRoleProvider,
Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"

server="dc.myldapserver.com"
port="389"
useSSL="false"
groupContainer="OU=SPUsers,DC=sharepoint,DC=com"
groupNameAttribute="cn"
groupNameAlternateSearchAttribute="samAccountName"
groupMemberAttribute="member"
userNameAttribute="sAMAccountName"
dnAttribute="distinguishedName"
groupFilter="(ObjectClass=group)"
userFilter="(ObjectClass=person)"
scope="Subtree" />
</providers>
</roleManager>

sotto il tag <PeoplePickerWildcards>

<clear />
<add key="AspNetSqlMembershipProvider" value="%" />
<add key="LdapMember" value="*"/>
<add key="LdapRole" value="*"/>

adesso ripetiamo la stessa cosa negli altri due web.config

2.  Nel tag system.web del Security Token Service e nella web application riscriviamo nel provider LdapMember e il roleManager inserito sopra

unica differenza, il PeoplePickerWildcards non dovete inserirlo nel Security Token Service ma solamente nella web application (ovviamente come detto prima anche sul Central Administration)

Fatto questo dovrebbe essere tutto funzionante.

Rebitting Tags: |

posted @ Tuesday, November 29, 2011 1:00 PM

Print

Comments on this entry:

# tory bruch outlet

Left by Tory Burch Outlet at 8/8/2012 2:48 AM
Gravatar
Creep before you walk.TORY

# Roger Vivier

Left by Roger Vivier at 4/11/2013 3:11 AM
Gravatar
Great and nice post thank you.

# No survey hacks

Left by No survey hacks at 9/7/2014 5:55 AM
Gravatar
Come configurare un'autenticazione claims e forms con un provider LDAP su Sharepoint 2010

# A new adidas nmd r2 online appearance again!Adidas NMD R2 "white shoe"

Left by BobbyDes at 3/20/2018 11:44 AM
Gravatar
March sale of hypoallergenic Curry some champions suit sales abnormally hot, a lot of men and women with money to buy long ago chuai, there is no snap up. But recently, this title set in platinum color version are going to be released in this thirty day period alone, made the new round from the opportunity to give the actual fans

Tag: kyrie irving shoes calvin klein curry 2 kyrie 4 confetti air jordan 32 Lebron Shoes kyrie 4 kyrie 4 curry 4 Nike Soccer Cleats kyrie 3 shoes curry 4 Cristiano Ronaldo CR7 adidas yeezy adidas ultra boost Nike CR7 Nike Lebron James Shoes adidas supreme yeezys

kd shoes nike air presto lebron james shoes john wall shoes air jordan 32 birkenstock shoes lebron 15 ashes nike air vapormax michael jordan shoes nike zoom vaporfly elite puma fenty kyrie 4 puma fenty adidas yeezy boost 350 v2 zebra curry 4 lebron james shoes nike sock racer ugg 5815 lebron 14 shoes adidas terrex curry shoes yeezy supreme nike huarache pg shoes nike kyrie 4 calvin klein underwear adidas eqt Nike Soccer Cleats nike sb dunk asics shoes

# erectile therapist

Left by erectile pills at 6/7/2018 9:12 PM
Gravatar
erectile with long time
erectile dysfunction
erectile tissue function
best drugs for ed
erectile therapy jordan http://eddrugsgeneric.com/

# where can i buy viagra without a prescription buy.c.ia.lis.o.n.l.ine

Left by CoreyRox at 6/8/2018 10:45 PM
Gravatar
buy cialis soft tadalafil in kitchenercialis how much in thailanddifference entre cialis viagra et levitrachinese cialis 50 mgimpotence pill cialis softcheap cialis online canadian pharmacyalternatives to viagra and cialiscialis generic tadalafil best price comparesubaction showcomments cialis optional onlinecialis zonder recept bestellencialis cuantos mg haycialis online kaufen gunstigconstruction automobile presse sp cialis ecialis for sale south africaapproved cialis fdacialis testamonialscialis en vrouwencialis generic 32 tabletsdreampharmaceuticals order cialis online
what is cialis Cialis 5mg
cialis tadalafil online Buy cialis
cialis free trial http://babecolate.com/
cialis soft supplies ukchinese cialiscialis usa pharmacyworks better viagra cialishow does cialis workcialis providercialis 20 mg cenacialis ohne rezept in hollandhow much cialis can you takecialis preis apotheke schweiznitroglycerin cialis interactionarginine nitric oxide viagra levitra cialiscialis in frankreich ohne rezeptcialis works better than expectedcialis advice

# where can i buy viagra cheap b.uyc.i.a.lis.on.l.ine

Left by CoreyRox at 7/18/2018 2:00 AM
Gravatar
viagra uk where can i buy viagra over the counter viagraiy.com
viagra uk price http://viagraiy.com/
buy viagra now http://viagraiy.com/#viagra-uk
best online drugstore viagrahow long do boners last with viagraviagra with health menforum cialis ou viagraque pasa si me tomo una viagrais viagra a statinviagra e hemorroidaandere mittel als viagraviagra generico bariel viagra ayuda contra la eyaculacion precozviagra precio farmacia cruz verde

# viagra alternatives b.u.yc.i.al.is.on.li.n.e.

Left by CoreyRox at 7/19/2018 12:00 AM
Gravatar
where to buy viagra viagra purchase online viabiovit.com
where to order viagra online http://viabiovit.com/
get prescription for viagra http://viabiovit.com/#viagra-generic
is viagra good for blood circulationcounterfeit viagra pillsbuying viagra in perthbuy cheap viagra online without prescriptionviagra y diabetes tipo 2viagra conseil d'utilisationwhere to buy viagra in uaecrema effetto viagraviagra and blood clotsgeneric viagra for pulmonary hypertensionwhere to get viagra in lagosalternative medicine for viagrahow to put viagraviagra patent verlopen

# buy viagra canadian pharmacy bu.yc.iali.s.on.li.ne

Left by TyroneDut at 7/21/2018 4:48 PM
Gravatar
cialis effetti del cialis cialissv.com
where to buy cialis in ontario http://cialissv.com/
cialis 30 day trial coupon http://cialissv.com/#cialis-20mg
erectile dysfunction generic cialis pillshow long does cialis last forprecio viagra y cialiswhat to do when viagra and cialis dont workonline meds cialisviagra levitra cialis apcalis regalis zenegrawhat does cialis costcialis vouchercialis germany1cheap cialisliquid ancilliaries nolvadex liquidex cialiscialis generic cheapest price free shipping

# viagra pills b.uyc.ia.l.is.onl.ine

Left by TyroneDut at 7/26/2018 6:04 PM
Gravatar
cialis arginine interactio cialis for sale in europa kawanboni.com/cialis-arginine-interactio.html
cialis 20mg http://kawanboni.com/cialis-arginine-interactio.html
buy cialis without a doctor's prescription kawanboni.com/cialis-arginine-interactio.html
generic cialis from india warninginteractions for cialiscialis coscomprare viagra e cialiscialis 5mg infarmedcan i take viagra after taking cialisordering cialis onlineefficacite cialis 5mgcialis kopen zonder voorschriftcialis kopen groningensnorting cialisgeneric middotxpress cialis softcialis eller viagra flashbackcialis kaufenvoorschrift nodig voor cialisprices buy cialis cialascialis precautionscialis and back painaustralia online cialis shopping

# viagra online pharmacy b.u.yc.i.ali.s.o.n.lin.e

Left by TyroneDut at 7/30/2018 1:20 AM
Gravatar
best legit site to buy cialis canadian pharmacy cialis cialisbuys.com/best-legit-site-to-buy-cialis.html
medication cialis http://cialisbuys.com/best-legit-site-to-buy-cialis.html
poppers and cialis cialisbuys.com/best-legit-site-to-buy-cialis.html
cialis viagra paypalcialis soft codcialis vs viagra gay mencialis dream onlinegebruik cialis 5 mgcialis genericaacheter cialis 5 mg comprime pellicule boite de 28prijs cialis belgiecompatibilite cialis viagracialis in ukcialis barginsside effects cialis coumadin allegracomprar cialis internet segurocheapest secure delivery cialis uk

# cialis patent expiration buy.c.i.ali.s.onl.i.n.e.

Left by TyroneDut at 8/2/2018 6:29 PM
Gravatar
buy cialis by pills unit free cialis babecolate.com/buy-cialis-by-pills-unit.html
cialis cost http://babecolate.com/buy-cialis-by-pills-unit.html
cialis for prostate problems babecolate.com/buy-cialis-by-pills-unit.html
viagra versus cialis reviewscheap cialis generic levitra viagracialis female reviewprijzen cialis 5 mgreview cialis vs viagratransdermal cialiscialis commande internetcialis works betterskillnad cialis och viagrafree generic cialisbuy soft cialiservaringen cialis once a daycheap generic cialis uk onlinecialis female viagracialis ohne rezeptcialis legal bestellen

# buy viagra cheap b.uy.c.ia.l.ison.l.i.ne.

Left by TyroneDut at 8/3/2018 4:58 PM
Gravatar
online purchase of viagra where to buy viagra online without prescription viabiovit.com/online-purchase-of-viagra.html
buying viagra from canada http://viabiovit.com/online-purchase-of-viagra.html
buy female viagra online viabiovit.com/online-purchase-of-viagra.html
viagra before pumpingusing viagra first timeside effects of taking viagra at young ageeye pain after viagrateflon post-it und viagrahvor lang tid holder viagramanfaat viagra dan cialisservizio delle iene sul viagraviagra available in beijingrecipe for viagra

# cialis 20mg prix en pharmacie buyc.i.a.lis.on.li.n.e.

Left by TyroneDut at 8/4/2018 6:50 AM
Gravatar
viagra to buy in uk i want to buy viagra online viabiovit.com/viagra-to-buy-in-uk.html
viagra buy online uk http://viabiovit.com/viagra-to-buy-in-uk.html
where to buy viagra in stores http://viabiovit.com/viagra-to-buy-in-uk.html
iherb viagraviagra kopen 25 mgfabrica de viagra en torontoinhale viagradolor de cabeza viagraviagra shop paypalbuy viagra online safeviagra alternativesconsumo de viagra en jovenescomposicao viagra femininoviagra sin receta medica andorrablind durch viagranguoi binh thuong co nen dung viagravaso ultra herbal viagra pillstelefono de viagra spain

# windows xp blue lite sp3 espaГ±ol

Left by RogerFef at 8/10/2018 7:21 PM
Gravatar

# simcity 4 deluxe edition no cd key

Left by RogerFef at 8/12/2018 12:50 AM
Gravatar

# tubemate youtube downloader version 2.2.6 free download

Left by RogerFef at 8/12/2018 5:47 AM
Gravatar

# blue pill b.u.y.cia.l.is.o.n.l.i.ne.

Left by TyroneDut at 8/12/2018 9:20 PM
Gravatar
cialissy.com does humana cover cialis 5mg
cialis canada prices http://cialissy.com/
cialis great britain http://cialissy.com/

# how is cialis taken bu.yci.a.l.is.o.nlin.e

Left by TyroneDut at 8/14/2018 6:07 PM
Gravatar
discount for cialis best online cialis pharmacy reviews cialissy.com
cialis from walmart http://cialissy.com/
buy cheap cialis coupon http://cialissy.com/
comparar viagra levitra e cialiscialis couponsbuy cialis online in usadifference in viagra cialis levitracialis online paypal australiageneric cialis soft tabs 20mgcialis south africawomen who take cialiscialis 20 mg 4 comprimidosachat cialiswanneer moet ik cialis innemenoriginal viagra cialis und generikais it ok to take cialis and viagra together

# canadian discount pharmacies in ocala fl bu.ycialisonl.i.n.e.

Left by CoreyRox at 8/24/2018 12:09 AM
Gravatar
online pharmacies legitimate canadian prescriptions online serc 24 mg canadianpharmacyies.com
online pharmacies of canada http://canadianpharmacyies.com/
canadian prescription drugstore canadianpharmacyies.com/#low-cost-viagra-20mg
canadian prescriptions online serc 24 mgcanada medication listtrust pharmacy of canadacanadian online pharmacies legalcanada online pharmacies for mencanadian pharcharmy onlinedrugs for sale in mexicobuy viagrow procanadian pharmacysaarp recommended canadian online pharmaciescanada rxcanadian pharmacycanadian pharmacycanadian pharmacies shipping to usacanadian pharmacy viagralegitimate canadian mail order pharmacies

# cash advance macclenny florida

Left by Zhoranok at 8/30/2018 6:43 AM
Gravatar
payday loan cash in one hour

http://applyloanozx.com/ - quick personal loans online
online personal loans

quick loans in michigan

# cover letter service uk

Left by Ovanovanok at 8/30/2018 12:57 PM
Gravatar
professional report writing services

-


who can help me find someone

# custom writing in 24 hrs

Left by Ovanovanok at 8/31/2018 2:10 AM
Gravatar
business plan writer philippines

<a href=>


distribution company business plan

# cherche viagra strasbourg

Left by Polikushinanok at 9/1/2018 10:21 AM
Gravatar
tadalafil and viagra together

http://cheapviagramedas.com/ - viagra online pharmacy
buy viagra online

canada viagra pro

# viagras wikipedia

Left by Polikushinanok at 9/1/2018 9:01 PM
Gravatar
viagra by buy

http://cheapviagramedas.com/ - viagra buy
viagra generic

viagra online best prices

# viagra 25mg dosing b.u.y.cial.i.s.onl.i.n.e.

Left by TyroneDut at 9/2/2018 4:49 AM
Gravatar
buy cialis no rx cialis tadalafil 40mg cialisvu.com
buy cialis usa http://cialisvu.com/
lilly cialis uk http://cialisvu.com/
ervaringen cialis once a daycialis and hair lossgenetic cialis from indiacialis viagra trial packcialis once a day bijwerkingenbuying cialis online safelycompra cialis en espa adoes daily cialis work better than viagracialis kopen afhalenbest price viagra and cialiscialis canadian pharmacycomprare viagra e cialisdaily cialis vs viagracialis websitecialis generika 10 mgcialis free shippingcialis manilacialis disclaimer

# viagra super aktiv kaufen

Left by Polikushinanok at 9/2/2018 7:26 AM
Gravatar
il viagra in vendita uk

http://cheapviagramedas.com/ - viagra online pharmacy
viagra

price viagra increasing

# viagra pills for women bu.y.cial.i.so.n.l.in.e

Left by TyroneDut at 9/2/2018 12:45 PM
Gravatar
real cialis without a doctors prescription generic cialis tadalafil 2018 cialisvus.com
tadalafil 10 mg tablets http://cialisvus.com/
generic cialis from uk http://cialisvus.com/
cialis 5 mg buygeneric cialis soft onlineviagra vs cialis safercialis eli lillycialis holland betrouwbaarcialis levitra viagra cost comparisoncost of cialis and viagracialis gay cockimdur and cialis contraindicatedcialis not doing wellcialis soft prescribing informationcialis y diabetesdiferencias entre el cialis y la viagradiferencias entre viagra y cialiscompare cialis to levitra

# only here cheap cialis in uk

Left by Lyudanok at 9/3/2018 10:55 PM
Gravatar
real cialis

generic cialis
cialis online

cialis generika paypal

# look here buy cialis china

Left by Lyudanok at 9/4/2018 12:05 AM
Gravatar
cheapest prices forcialis

cialis generic
buy cialis online

cialis facts

# Adidas NMD lots of new color first adidas nmd shoes exposure

Left by BobbyDes at 9/4/2018 12:22 AM
Gravatar

# cialis demi vie

Left by Lyudanok at 9/4/2018 8:55 PM
Gravatar
acquisto cialis online sicuro

cialis
cialis

cialis 10mg lign

Your comment:



 (will not be displayed)


 
 
 
Please add 7 and 4 and type the answer here:
 

Live Comment Preview: