iSeries
Single
signon
Version
5
Release
3
iSeries
Single
signon
Version
5
Release
3
Note
Beforeusingthisinformationandtheproductitsupports,be suretoreadtheinformationin “Notices,”onpage85.
FirstEdition(May2004)
Thiseditionappliestoversion5,release3,modification0ofIBMOperatingSystem/400(productnumber5722–SS1) andtoallsubsequentreleasesandmodificationsuntilotherwiseindicatedinneweditions.Thisversiondoesnot runonallreducedinstructionsetcomputer(RISC)modelsnordoesitrunonCISCmodels.
Contents
Single
signon
.
.
.
.
.
.
.
.
.
.
.
. 1
What’snewforV5R3 . . . 1
Printthistopic. . . 2
Scenarios . . . 3
Scenario:Createasinglesignontestenvironment 3 Scenario:EnablesinglesignonforOS/400 . . . 17
Scenario:Propagatenetworkauthentication serviceandEIMacrossmultiplesystems . . . 42
Scenario:ConfiguretheManagementCentral serversforsinglesignon . . . 50
Scenario:EnablesinglesignonforISV applications . . . 56
Concepts . . . 68
Singlesignonoverview . . . 68
Authentication . . . 69 Authorization . . . 69 Domains . . . 70 Identitymapping . . . 71 OS/400enablement. . . 72 ISVenablement . . . 73
Planforsinglesignonenablement. . . 74
Requirementsforconfiguringasinglesignon environment . . . 75
Singlesignonconfigurationplanningworksheets 76 Configuresinglesignon . . . 78
Manageasinglesignonenvironment. . . 80
Troubleshootasinglesignonconfiguration. . . . 80
Relatedinformationforsinglesignon. . . 84
Codedisclaimer. . . 84
Appendix.
Notices
.
.
.
.
.
.
.
.
.
. 85
ProgrammingInterfaceInformation . . . 87
Trademarks . . . 87
Termsandconditionsfordownloadingandprinting publication . . . 87
Single
signon
Ifyouare lookingforaway toeliminatethenumberof passwordsthatyourusersmustuseandthat youradministratorsmust manage,thenimplementing asingle signonenvironmentmaybe theanswer youneed.Thisinformationpresentsasingle signonsolutionforOS/400,whichusesnetwork
authenticationservice(IBM’simplementationoftheKerberosV5standardfromMIT) pairedwith
EnterpriseIdentityMapping(EIM).Thesinglesignonsolutionreducesthenumberofsign-onsthatauser mustperform,aswellasthenumberofpasswordsthata userrequirestoaccessmultipleapplications andservers.Thiscodedisclaimerpertainstocodeexamplesthatareprovidedwithin thistopic. Thefollowinginformationprovidesspecificdetailspertainingtothesinglesignonsolution:
What’snewforV5R3
Learn aboutnew informationandfunctionsthatareavailableregardingsingle signonenablementfor your enterpriseorforOS/400®.
Printthistopic
PrintPDFversionsof thistopicandrelatedinformation,suchasEnterpriseIdentityMapping(EIM) and networkauthentication service.
Scenarios
Usethis informationtoreviewscenariosthatillustratetypicalsinglesignonimplementationsituations tohelpyouplanyour owncertificate implementationaspartof yourserversecuritypolicy.
Concepts
Learn abouttheunderlyingconceptsforsinglesignonforabetterunderstandingofhow youcanplan tousesinglesignoninyourenterprise.
Plan
Learn aboutplanningconsiderationsand tasksforimplementing singlesignon,includingsoftware and hardwareprerequisites andotherrequirements.Also,reviewthesinglesignonplanningprocess tohelpyouplanhow bestto implementsinglesignoninyour enterprise
Configure
Learn howtoconfigureeverythingyouneedtoimplementasinglesignonenvironmentinyour enterprise.
Manage
Usethis informationtolearnhow tomanageyoursingle signonenvironment,includingmanagement tasks fornetworkauthentication serviceandEIM.
Troubleshoot
Usethis informationtolearnhow toresolvesomecommonerrorsthatyoumight experiencewhile configuringandusingasinglesignonenvironment.
Relatedinformationforsingle signon
Usethis resourcetoaccessinformationthatsupportsthesingle signonsolutionand itsunderlying technologies.
What’s
new
for
V5R3
SinglesignoncapabilityforOS/400,first introducedinV5R2,offersnew functionsandenhancementsin V5R3.Thistopichighlightswhatisnewand changedforsinglesignon.
Neworenhancedfunctionsforsinglesignon
v SynchronizeFunctionswizardfornetwork authenticationservice andEIMconfigurations Tomakeimplementing singlesignoneasier acrossyour enterprise,youcannow usetheiSeries™ NavigatorSynchronizeFunctionswizardtopropagatea singlesetofnetworkauthenticationservice andEnterpriseIdentityMapping(EIM) configurationstoagroupofiSeries systems.Thewizard
duplicatestheconfigurationsonthemodelsystemandcopiesthemtotheothersystemsinthegroup. Yousavetimebyperformingconfigurationonetimeonthemodelsystemand thenusingthewizard topropagatethatconfigurationtomultiplesystems, ratherthanhavingtoconfigureeachsystem individually.Seethe“Scenario:Propagatenetworkauthentication serviceandEIM acrossmultiple systems”onpage42scenariofortechnicalandconfigurationdetails.
v Enhancedsinglesignonsupport forOS/400applicationsthatusetheManagementCentralservers Enhancedsinglesignonsupporteliminatestherestrictionofhavingidenticalpasswordsonthesystems thatyoumanage witha centralsysteminiSeriesNavigator.See “Scenario:ConfiguretheManagement Centralserversforsingle signon”onpage50fortechnicalandconfigurationdetails.
v EIMandnetworkauthenticationserviceenhancements
Manyoftheneworenhancedsinglesignonfunctionsare aresultof newandenhancedfunctionfor EIMand networkauthentication service,thetwotechnologieswhichmakeuptheOS/400single signonsolution.Refer tothefollowingtopics formoreinformationaboutspecificenhancements: – What’snew forEIM
– What’snew fornetworkauthentication service
Neworenhancedinformationaboutthistopic
Previously,informationaboutthesingle signonfunction wasavailableinthenetworkauthentication serviceandEIMtopics becausetheseare thetwotechnologiesthatfunctiontogethertoenable thesingle signonenvironment.ThisnewInformationCentertopicprovides centralizedinformationabout
configuringand usingsingle signon.Thisnewtopicalsoprovides enhancedand morecomplete information,includingimportantconcepts,detailedplanningmaterial,andscenariosthathelpyou determinewhenandhowtousethesinglesignoncapabilities.
Tofindotherinformationaboutwhat’sneworchangedthisrelease,seetheMemotoUsers.
this
topic
ToviewordownloadthePDFversionofthisdocument,selectSinglesignon(about600KB). Youcanview ordownloadtheserelatedtopics:
v EnterpriseIdentityMapping(EIM)(about700 KB).EnterpriseIdentityMapping(EIM) isa mechanism formappinga personorentity(suchasaservice)totheappropriateuser identitiesinvarioususer registriesthroughouttheenterprise.
v Networkauthentication service(about990KB).Networkauthentication serviceallowsaniSeriesserver toparticipateinanexistingKerberosnetwork.
SavingPDFfiles
Tosavea PDFonyour workstationforviewingor printing: v Right-clickthePDFinyour browser(right-clickthelinkabove).
v ClickSave TargetAs...ifyouare usingInternet Explorer.ClickSaveLink As...if youareusing NetscapeCommunicator.
v Navigatetothedirectory inwhichyouwanttosavethePDF. v ClickSave.
DownloadingAdobeAcrobatReader
YouneedAdobeAcrobatReadertovieworprintthesePDFs.Youcandownloada copyfromtheAdobe Website(www.adobe.com/products/acrobat/readstep.html) .
Scenarios
Thesescenariosprovidea logicalprogressionforconfiguringandusingsinglesignoninanenterprise. Althoughallofthesescenariosprovidemodels fornetworkadministrators,thereisalso ascenariofor applicationdevelopersthatdemonstratesthetasks thata developerneedstocompletetocreate applicationsthatcanparticipateina singlesignonenvironment.
Reviewthefollowingscenariostobecomefamiliarwiththetechnicalandconfigurationdetailsinvolved insettingupsingle signon:
Scenario:Createa singlesignontest environment
Thisscenariodemonstrateshowtoconfigurenetworkauthenticationserviceand EIMtocreatea basic singlesignontestenvironment.Administratorscanusethis scenariotogaina basicunderstandingof whatconfiguringa singlesignonenvironmentinvolvesonasmallscalebeforeimplementing single signonacrossan entireenterprise.
Scenario:Enablesingle signonforOS/400
Thisscenariodemonstrateshowtoconfigurenetworkauthenticationserviceand EIMtocreatea singlesignonenvironmentacrossmultiplesystemsinanenterprise.Thisscenarioexpandsuponthe conceptsandtaskspresented intheprevious scenariowhichdemonstrates howtocreatea simple singlesignontestenvironment.
Scenario:Propagatenetworkauthenticationservice andEIMacrossmultiplesystems
ThisscenariodemonstrateshowtousetheSynchronizeFunctions wizardiniSeriesNavigatorto propagatea singlesignonconfigurationacrossmultiplesystemsinamixedOS/400release
environment.Administratorscansavetimebyconfiguringsinglesignononceand propagatingthat configurationtoalloftheirsystems, insteadofconfiguringeachsystem individually.
Scenario:ConfiguretheManagementCentralservers forsinglesignon
Thisscenariodemonstrateshowtoconfigureyour V5R3ManagementCentralserverstoparticipatein a singlesignonenvironment.Afteradministrators completethescenarioforpropagatinga single signonconfigurationacrossmultiplesystems, theycandothenecessaryconfigurationsothattheir Management Centralserverscanparticipateinthesinglesignonenvironment.
Scenario:Enablesingle signonforISVapplications
Thisscenariodemonstrateshowtowriteapplicationstorunin asinglesignonenvironment.
IndependentSoftwareVendor(ISV)applicationdeveloperscanusethis scenariotolearnhowtouse EIM applicationprogramminginterfaces(APIs)inconjunctionwithnetworkauthenticationserviceor anotherauthentication mechanism,suchasIBM® DirectoryServer foriSeries(LDAP),tocreate applicationsthatcanfullyparticipateinasingle signonenvironment.
Scenario:
Create
a
single
signon
test
environment
Situation
You,JohnDay,are anetworkadministratorforalargewholesalecompany.Currentlyyouspendmuchof yourtimetroubleshootingpasswordanduseridentityproblems,suchasforgottenpasswords.Your networkiscomprisedofseveraliSeriessystemsanda Windows®2000server,whereyourusersare
registeredinMicrosoft®WindowsActiveDirectory.Basedonyour research,youknowthatMicrosoft
ActiveDirectoryusestheKerberosprotocoltoauthenticateWindowsusers.YoualsoknowthatOS/400 providesasingle signonsolutionbased onanimplementationof Kerberosauthentication,callednetwork authenticationservice,inconjunctionwithEIM.
Youareexcitedaboutthebenefitsofusingsinglesignon. However,youwanttothoroughly understand singlesignonconfigurationand usagebeforeyoubeginusingit acrossyour entireenterprise.
Consequently,youdecidetoconfigureatest environmentfirst.
Afterconsideringthevariousgroupsinyour company,youdecidetocreatethetestenvironment forthe OrderReceiving department.TheemployeesintheOrderReceivingdepartmentusemultiple applications ononeiSeriessystemtohandleincomingcustomerorders. Consequently,theOrderReceiving
departmentprovides anexcellentopportunityforyoutocreateasingle signontestenvironment thatyou canusetobetterunderstandhowsingle signonworksand howtoplanasinglesignonimplementation acrossyour enterprise.
Thisscenariohasthefollowingadvantages:
v Allowsyoutoseesomeof thebenefitsofsingle signonona smallscaletobetter understandhowyou cantakefulladvantageof itbeforeyoucreatealarge-scale,singlesignonenvironment.
v Providesyouwitha betterunderstandingoftheplanningprocess youneedtousetosuccessfullyand tomorequickly implementsinglesignonacrossyour entireenterprise.
v Minimizesthelearningcurveofimplementing singlesignonacrossyour enterprise.
Objectives
AsthenetworkadministratoratMyCo,Inc.,youwanttocreatea smallsingle signonenvironmentfor testingthatincludesa smallnumber ofusersandasingle iSeriesserver.Youwanttoperform thorough testingtoensure thatuser identitiesare correctlymappedwithin yourtestenvironment.Based onthis configuration,youeventuallywanttoexpandthetestenvironment toincludetheothersystemsand usersinyourenterprise.
Theobjectivesofthisscenarioareasfollows:
v TheiSeriessystem,known asiSeriesA,must beable touseKerberoswithintheMYCO.COMrealmto authenticatetheusersandservices thatareparticipatinginthis singlesignontest environment.To enablethesystemtouseKerberos,iSeriesAmust beconfiguredfornetworkauthentication service. v ThedirectoryserveroniSeriesAmust functionasthedomaincontrollerforthenewEIM domain.
Note: Refer to“Domains”onpage70tolearnhowanEIM domainanda Windows2000domainboth fit intothesinglesignonenvironment.
v OneuserprofileoniSeriesAandoneKerberosprincipalmusteachbe mappedtoasingleEIM identifier.
v AKerberosserviceprincipalmust beusedtoauthenticatetheusertotheiSeriesAccessfor Windows applications.
Details
Thefigureillustratesthefollowingpointsrelevanttothis scenario.
EIMdomaindatadefinedfortheenterprise
v AnEIM registrydefinitionforiSeriesAcalledISERIESA.MYCO.COM. v AnEIM registrydefinitionfortheKerberosregistrycalledMYCO.COM.
v AnEIM identifiercalledJohnDay. Thisidentifieruniquely identifiesJohnDay,theadministratorfor MyCo.
v Asourceassociationforthejday KerberosprincipalontheWindows2000server. v AtargetassociationfortheJOHNDuserprofileoniSeriesA.
Windows2000server
v ActsastheKerberosserver(kdc1.myco.com),alsoknownasa keydistribution center(KDC),forthe network.
v ThedefaultrealmfortheKerberosserverisMYCO.COM.
v AKerberosprincipalofjday isregisteredwith theKerberosserverontheWindows 2000server.This principalwillbe usedtocreatea sourceassociationtotheEIMidentifier,JohnDay.
iSeriesA
v RunsOS/400Version5Release3 (V5R3)with thefollowingoptionsandlicensedproductsinstalled: – OS/400HostServers(5722-SS1 Option12)
– QshellInterpreter (5722-SS1Option30) – iSeriesAccessforWindows(5722-XE1) – CryptographicAccessProvider(5722-AC3)
Note: YoucanimplementthisscenariousingaserverthatrunsV5R2.However,someofthe configurationstepswillbe slightlydifferentdue toV5R3enhancements.See“What’snew for V5R3” onpage1formoreinformationonsinglesignonenhancementsforV5R3.
v TheIBMDirectoryServerfor iSeries(LDAP)oniSeriesAwillbeconfiguredtobe theEIMdomain controllerforthenewEIMdomain,MyCoEimDomain.
v iSeriesAparticipates intheEIMdomain,MyCoEimDomain.
v TheprincipalnameforiSeriesAiskrbsvr400/[email protected].
v TheuserprofileofJOHNDexistsoniSeriesA.Youwillcreatea targetassociationbetweenthisuser profileandtheEIMidentifier,JohnDay.
v Thehomedirectory fortheOS/400user profile,JOHND,(/home/JOHND)isdefinedoniSeriesA.
ClientPCused forsinglesignonadministration
v RunsMicrosoftWindows 2000operatingsystem. v RunsV5R3iSeriesAccessforWindows (5722-XE1).
v RunsiSeriesNavigatorwiththefollowingsubcomponentsinstalled: – Network
– Security
v Servesastheprimary logonsystem foradministratorJohnDay. v Configuredtobe partoftheMYCO.COMrealm(Windows domain).
Prerequisitesandassumptions
Successfulimplementationofthisscenariorequiresthatthefollowingassumptionsand prerequisitesare met:
1. Allsystemrequirements, includingsoftwareand operatingsysteminstallation,havebeen verified. Toverify thatthelicensedprogramshavebeeninstalled,completethefollowing:
a. IniSeriesNavigator,expandyouriSeriesserver→ConfigurationandService→Software→Installed Products.
b. Ensurethatallthenecessarylicensedprogramsareinstalled. 2. Allnecessaryhardwareplanningand setupiscomplete.
3. TCP/IPand basicsystemsecurityareconfiguredandtestedoneachsystem. 4. ThedirectoryserverandEIMshouldnotbepreviouslyconfiguredoniSeriesA.
Note: Instructionsinthisscenarioarebased ontheassumptionthatthedirectory serverhasnotbeen previouslyconfiguredoniSeriesA. However,if youalreadyconfiguredthedirectoryserver, youcanstill usetheseinstructions withonlyslightdifferences.Thesedifferencesarenotedin theappropriateplaceswithintheconfigurationsteps.
5. Asingle DNSserverisusedforhostnameresolutionforthenetwork.Hosttablesarenotusedfor hostnameresolution.
Note: Theuseofhosttableswith Kerberosauthentication mayresultinnameresolutionerrorsor otherproblems.Formoredetailedinformationabouthowhostnameresolutionworkswith Kerberosauthentication,seeHostnameresolutionconsiderations.
Configurationsteps
Note: Youneedtothoroughly understandtheconceptsrelatedtosinglesignonwhichincludenetwork authentication serviceandEnterpriseIdentityMapping(EIM)concepts, beforeyouimplementthis scenario.Seethefollowinginformationtolearnaboutthetermsand conceptsrelatedtosingle signon:
v Network authenticationservice 1. Completetheplanningworksheets
2. Createabasicsingle signonconfigurationforiSeriesA 3. AddiSeriesAserviceprincipaltotheKerberosserver 4. CreatehomedirectoryforJohnDayoniSeriesA
5. TestnetworkauthenticationserviceconfigurationoniSeriesA 6. CreateEIMidentifierforJohnDay
7. CreatesourceassociationandtargetassociationforthenewEIM identifier 8. TestEIMidentitymappings
9. ConfigureiSeriesAccessforWindows applicationstouseKerberos 10. Verifynetworkauthentication serviceandEIMconfiguration 11. (Optional)Post configurationconsiderations
Scenario
details:
Create
a
single
signon
test
environment
Step1:CompletetheplanningworksheetsThefollowingplanningworksheetsaretailoredtofit thisscenariobasedonthegeneralsinglesignon planningworksheets. Theseplanningworksheetsdemonstratetheinformationthatyouneed togather andthedecisionsyouneedtomaketopreparethesinglesignonimplementationdescribedbythis scenario.Toensurea successfulimplementation,youmustbeable toanswerYestoallprerequisiteitems intheworksheet andyoushouldgather alltheinformationnecessarytocompletetheworksheetsbefore youperform anyconfigurationtasks.
Note: Youneedtothoroughly understandtheconceptsrelatedtosinglesignonwhichincludenetwork authentication serviceandEnterpriseIdentityMapping(EIM)concepts, beforeyouimplementthis scenario.Seethefollowinginformationtolearnaboutthetermsand conceptsrelatedtosingle signon:
v EnterpriseIdentityMapping(EIM) v Network authenticationservice
Table1.Singlesignonprerequisiteworksheet
Prerequisiteworksheet Answers
IsyourOS/400V5R3(5722-SS1)orlater? Yes ArethefollowingoptionsandlicensedproductsinstalledoniSeries A?
v OS/400HostServers(5722-SS1Option12) v QshellInterpreter(5722-SS1Option30) v iSeriesAccessforWindows(5722-XE1) v CryptographicAccessProvider(5722-AC3)
Yes
Haveyouinstalledanapplicationthatisenabledforsinglesignonon eachofthePCsthatwillparticipateinthesinglesignonenvironment? Note: Forthisscenario,alloftheparticipatingPCshaveiSeriesAccess forWindows(5722-XE1)installed.
Yes
IsiSeriesNavigatorinstalledontheadministrator’sPC?
v IstheSecuritysubcomponentofiSeriesNavigatorinstalledonthe administrator’sPC?
v IstheNetworksubcomponentofiSeriesNavigatorinstalledonthe administrator’sPC?
Yes
HaveyouinstalledthelatestiSeriesAccessforWindowsservicepack? SeeiSeriesAccess forthelatestservicepack.
Table1.Singlesignonprerequisiteworksheet (continued)
Doyou,theadministrator,have*SECADM,*ALLOBJ,and*IOSYSCFG specialauthorities?
Yes DoyouhaveoneofthefollowingsystemsactingastheKerberos
server(alsoknownastheKDC)?Ifyes,specifywhichsystem. 1. Windows(R)
2000Server
Note: MicrosoftWindows2000ServerusesKerberos authenticationasitsdefaultsecuritymechanism. 2. Windows(R)
Server2003 3. OS/400PASE(V5R3orlater) 4. AIX®
server 5. zSeries®
Yes,Windows(R)
2000Server
AreallyourPCsinyournetworkconfiguredinaWindows(R)
2000 domain?
Yes Haveyouappliedthelatestprogramtemporaryfixes(PTFs)? Yes IstheiSeriessystemtimewithin5minutesofthesystemtimeonthe Kerberosserver?IfnotseeSynchronizesystemtimes.
Yes
YouneedthisinformationtoconfigureEIMand networkauthentication servicetocreateasingle signon testenvironment.
Table2.SinglesignonconfigurationplanningworksheetforiSeriesA
ConfigurationplanningworksheetforiSeriesA Answers
UsethefollowinginformationtocompletetheEIMConfigurationwizard.Theinformationinthisworksheet correlateswiththeinformationyouneedtosupplyforeachpageinthewizard:
HowdoyouwanttoconfigureEIMforyoursystem? v Joinanexistingdomain
v Createandjoinanewdomain
Createandjoinanewdomain
WheredoyouwanttoconfigureyourEIMdomain? Onthelocaldirectoryserver
Note: Thiswillconfigurethedirectoryserver onthesamesystemonwhichyouarecurrently configuringEIM.
Doyouwanttoconfigurenetworkauthenticationservice? Note: Youmustconfigurenetworkauthenticationserviceto configuresinglesignon.
Yes
TheNetworkAuthenticationServicewizardlaunchesfromtheEIMConfigurationwizard.Usethefollowing informationtocompletetheNetworkAuthenticationServicewizard:
Note: YoucanlaunchtheNetworkAuthenticationServicewizardindependentlyoftheEIMConfigurationwizard. WhatisthenameoftheKerberosdefaultrealmtowhichyour
iSerieswillbelong?
Note: AWindows2000domainissimilartoaKerberosrealm. MicrosoftWindowsActiveDirectoryusesKerberosauthentication asitsdefaultsecuritymechanism.
MYCO.COM
AreyouusingMicrosoftActiveDirectory? Yes WhatistheKerberosserver,alsoknownasakeydistribution
center(KDC),forthisKerberosdefaultrealm?Whatistheporton whichtheKerberosserverlistens?
KDC: kdc1.myco.com Port: 88
Note: ThisisthedefaultportfortheKerberos server.
Table2.SinglesignonconfigurationplanningworksheetforiSeriesA (continued)
ConfigurationplanningworksheetforiSeriesA Answers Doyouwanttoconfigureapasswordserverforthisdefault
realm?Ifyes,answerthefollowingquestions:
What is name of the password server for this Kerberos server? What is the port on which the password server listens?
Yes
Password server: kdc1.myco.com Port: 464
Note: Thisisthedefaultportforthepassword server.
Forwhichservicesdoyouwanttocreatekeytabentries? v OS/400KerberosAuthentication
v LDAP
v iSeriesIBMHTTPServer v iSeriesNetServer
OS/400KerberosAuthentication
Whatisthepasswordforyourserviceprincipalorprincipals? iseriesa123
Note: Anyandallpasswordsspecifiedinthis scenarioareforexamplepurposesonly.To preventacompromisetoyoursystemor networksecurity,youshouldneverusethese passwordsaspartofyourownconfiguration. Doyouwanttocreateabatchfiletoautomateaddingtheservice
principalsforiSeriesAtotheKerberosregistry?
Yes DoyouwanttoincludepasswordswiththeOS/400service
principalsinthebatchfile?
Yes
AsyouexittheNetworkAuthenticationServicewizard,youwillreturntotheEIMConfigurationwizard.Usethe followinginformationtocompletetheEIMConfigurationwizard:
Specifyuserinformationthatthewizardshouldusewhen configuringthedirectoryserver.Thisistheconnectionuser.You mustspecifytheportnumber,administratordistinguishedname, andapasswordfortheadministrator.
Note: SpecifytheLDAPadministrator’sdistinguishedname(DN) andpasswordtoensurethewizardhasenoughauthorityto administertheEIMdomainandtheobjectsinit.
Port: 389
Distinguished name: cn=administrator Password: mycopwd
Note: Anyandallpasswordsspecifiedinthis scenarioareforexamplepurposesonly.To preventacompromisetoyoursystemor networksecurity,youshouldneverusethese passwordsaspartofyourownconfiguration. WhatisthenameoftheEIMdomainthatyouwanttocreate? MyCoEimDomain
DoyouwanttospecifyaparentDNfortheEIMdomain? No
WhichuserregistriesdoyouwanttoaddtotheEIMdomain? Local OS/400--ISERIESA.MYCO.COM Kerberos--MYCO.COM
Note: TheKerberosprincipalsstoredonthe Windows2000serverarenotcasesensitive; thereforeyoushouldnotselectKerberosuser identitiesarecasesensitive.
WhichEIMuserdoyouwantiSeriesAtousewhenperforming EIMoperations?Thisisthesystemuser.
Note: Ifyouhavenotconfiguredthedirectoryserverpriorto configuringsinglesignon,theonlydistinguishedname(DN)you canprovideforthesystemuseristheLDAPadministrator’sDN andpassword.
User type: Distinguished name and password User: cn=administrator
Password: mycopwd
Note: Anyandallpasswordsspecifiedinthis scenarioareforexamplepurposesonly.To preventacompromisetoyoursystemor networksecurity,youshouldneverusethese passwordsaspartofyourownconfiguration. AfteryoucompletetheEIMConfigurationwizard,usethefollowinginformationtocompletetheremainingsteps requiredforconfiguringsinglesignon:
Table2.SinglesignonconfigurationplanningworksheetforiSeriesA (continued)
ConfigurationplanningworksheetforiSeriesA Answers WhatisthenameoftheEIMidentifierthatyouwanttocreate? John Day
Whatkindsofassociationsdoyouwanttocreate? Source association: Kerberos principal jday Target association: OS/400 user profile JOHND WhatisthenameoftheuserregistrythatcontainstheKerberos
principalforwhichyouarecreatingthesourceassociation?
MYCO.COM
WhatisthenameoftheuserregistrythatcontainstheOS/400 userprofileforwhichyouarecreatingthetargetassociation?
ISERIESA.MYCO.COM
WhatinformationdoyouneedtosupplytotestEIMidentity mapping?
Source registry: MYCO.COM Source user: jday
Target registry: ISERIESA.MYCO.COM
Step2:CreateabasicsinglesignonconfigurationforiSeriesA
TheEIMConfigurationwizardhelpsyoucreatea basicEIMconfigurationandalso openstheNetwork AuthenticationServicewizardtoallowyoutocreateabasicnetworkauthentication serviceconfiguration.
Note: Instructionsinthis scenarioare basedontheassumptionthatthedirectoryserverhasnotbeen previouslyconfiguredoniSeriesA.However, ifyoualreadyconfiguredthedirectoryserver,you canstillusetheseinstructionswith onlyslightdifferences.Thesedifferencesarenotedinthe appropriateplaceswithin theconfigurationsteps.
Whenyouhavefinishedthis step,youwillhavecompletedthefollowingtasks: v Createda newEIMdomain
v ConfiguredthedirectoryserveroniSeriesAtobe theEIMdomaincontroller v Configurednetworkauthenticationservice
v CreatedEIMregistrydefinitions fortheiSeriesAOS/400registryandtheKerberosregistryinthe newlycreatedEIMdomain
v ConfigurediSeriesAtoparticipateintheEIM domain
UsetheinformationfromyourplanningworksheetstoconfigureEIM andnetworkauthentication serviceoniSeriesA:
1. IniSeriesNavigator,expandiSeriesA→Network→EnterpriseIdentityMapping. 2. Right-clickConfiguration andselectConfiguretostart theEIMConfigurationwizard. 3. OntheWelcomepage,selectCreateandjoin anewdomain.ClickNext.
4. OntheSpecifyEIMDomainLocationpage,selectOnthelocalDirectoryserver.ClickNext and theNetworkAuthenticationServicewizardisdisplayed.
Note: TheNetworkAuthenticationServicewizardonlydisplays whenthesystemdeterminesthat youneedtoenteradditionalinformationtoconfigurenetworkauthenticationserviceforthe single signonimplementation.
5. Completethese taskstoconfigurenetworkauthenticationservice: a. OntheConfigureNetworkAuthenticationServicepage,selectYes.
Note: ThislaunchestheNetworkAuthenticationServicewizard.Withthiswizard, youcan configureseveralOS/400interfacesandservicestoparticipate inaKerberosrealm. b. OntheSpecifyRealmInformationpage,enterMYCO.COMintheDefaultrealmfieldandselect
c. OntheSpecifyKDCInformationpage,enterkdc1.myco.comintheKDCfieldandenter88in thePort field.Click Next.
d. On theSpecifyPasswordServerInformationpage,selectYes.Enterkdc1.myco.cominthe
Passwordserverfieldand464in thePort field.Click Next.
e. On theSelectKeytabEntries page,selectOS/400Kerberos Authentication.ClickNext. f. On theCreateOS/400KeytabEntry page,enterandconfirma password,andclick Next.For
example,iseriesa123.ThispasswordwillbeusedwheniSeriesAisaddedtotheKerberosserver.
Note: Anyand allpasswordsspecifiedinthisscenarioareforexample purposesonly.Toprevent acompromisetoyour systemornetworksecurity,youshouldneverusethese passwords aspartofyourown configuration.
g. On theCreateBatchFilepage,selectYes,specifythefollowinginformation,andclickNext: v Batchfile:Addthetextiseriesatotheendofthedefaultbatchfilename.Forexample,
C:\Documents and Settings\All Users\Documents\IBM\Client Access\NASConfigiseriesa.bat. v SelectIncludepassword.Thisensuresthatall passwordsassociatedwiththeOS/400service
principalare includedinthebatchfile.Itisimportanttonotethatpasswordsaredisplayedin cleartextandcanberead byanyonewithread accesstothebatchfile.Therefore,it is
recommendedthatyoudeletethebatchfilefromtheKerberosserverandfromyour PC immediatelyafter use.
Note: Ifyoudonotincludethepassword,youwillbe promptedforthepasswordwhenthe batchfileisrun.
h. On theSummarypage,reviewthenetworkauthenticationserviceconfigurationdetails.Click
Finish tocompletetheNetworkAuthenticationServicewizardandreturntotheEIM Configurationwizard.
6. OntheConfigureDirectoryServerpage,enterthefollowinginformation,andclickNext:
Note: Ifyouconfiguredthedirectoryserverbeforeyoustartedthisscenario,youwillseethe
SpecifyUserforConnectionpageinsteadoftheConfigureDirectoryServerpage.Inthat case, youmust specifythedistinguishednameandpasswordfor theLDAPadministrator. v Port:389
v Distinguishedname:cn=administrator v Password:mycopwd
Note: Anyandall passwordsspecifiedinthisscenarioareforexamplepurposesonly.Toprevent a compromisetoyoursystem ornetworksecurity,youshouldnever usethesepasswordsas part ofyourown configuration.
7. OntheSpecifyDomainpage,enterthenameofthedomainintheDomainfield,and clickNext. Forexample,MyCoEimDomain.
8. OntheSpecifyParentDNforDomainpage,selectNo,andclick Next.
Note: Ifthedirectoryserverisactive,amessageisdisplayedthatindicatesyouneedtoendand restart thedirectory serverfor thechanges totakeeffect.ClickYestorestartthedirectory server.
9. OntheRegistryInformationpage,selectLocalOS/400 andKerberos,and clickNext.Writedown theregistrynames.Youwillneedthese registrynameswhen youcreateassociationstoEIM identifiers.
Note:
v Youcanenteraspecific registrydefinitionnamefortheuserregistryif youwanttousea specific registrydefinitionnamingplan.However,forthis scenarioyoucanacceptthe default values.
10. OntheSpecifyEIMSystemUserpage,selecttheusertheoperatingsystemuseswhenperforming EIMoperationsonbehalfofoperatingsystem functions,andclick Next:
Note: Becauseyoudidnotconfigurethedirectoryserverpriortoperformingthestepsinthis scenario,theonlydistinguishedname(DN)thatyoucanchooseistheLDAP administrator’s DN.
v User type: Distinguished name and password v Distinguishedname:cn=administrator v Password:mycopwd
Note: Anyandall passwordsspecifiedinthisscenarioareforexamplepurposesonly.Toprevent a compromisetoyoursystem ornetworksecurity,youshouldnever usethesepasswordsas part ofyourown configuration.
11. OntheSummarypage,confirmtheEIMconfigurationinformation.ClickFinish.
NowthatyouhavecompletedabasicEIM andnetworkauthenticationserviceconfigurationoniSeriesA, youcanaddtheserviceprincipalfor iSeriesAtotheKerberosserver.
Step3:AddiSeriesAserviceprincipalto theKerberosserver
YoucanuseoneoftwomethodstoaddthenecessaryOS/400serviceprincipaltotheKerberosserver. Youcanmanuallyaddtheserviceprincipalor,asthisscenarioillustrates,youcanuseabatchfiletoadd it.Youcreatedthis batchfileinStep2. Tousethisfile,youcanuseFileTransferProtocol(FTP)tocopy thefiletotheKerberosserverandrunit.
FollowthesestepstousethebatchfiletoaddprincipalstotheKerberosserver:
FTPbatch filecreatedbythewizard
1. OntheWindows2000workstationthatyouusedtoconfigurenetworkauthentication service,opena commandpromptand typeftp kdc1.myco.comtostart anFTPsessiononyour PC.Youwillbe promptedfortheadministrator’s usernameandpassword.
2. Atthe FTP prompt, enter lcd ″C:\Documents and Settings\All Users\Documents\IBM\Client Access″. PressEnter. You should receive themessage Local directory now C:\Documents and Settings\All Users\Documents\IBM\Client Access.
3. AttheFTPprompt,type cd\mydirectory,wheremydirectoryisa directorylocatedonkdc1.myco.com. 4. Atthe FTPprompt,type put NASConfigiseriesa.bat.Youshouldreceivethis message:226 Transfer
complete.
5. TypequittoexittheFTPsession.
Runthebatch fileon kdc1.myco.com
1. OnyourWindows 2000server,openthedirectorywhereyoutransferredthebatchfile. 2. FindtheNASConfigiseriesa.batfileanddouble-click thefiletorunit.
3. Afterthefileruns,verifythattheOS/400principalhasbeenaddedtotheKerberosserverby completingthefollowing:
a. On yourWindows2000server,expandAdministrativeTools→ActiveDirectoryUsersand Computers→Users.
Note: ThisWindows 2000domain shouldbe thesame asthedefaultrealmnamethatyou specifiedinthenetworkauthentication serviceconfiguration.
c. Inthelistofusersthatisdisplayed,find iseriesa_1_krbsvr400.Thisistheuseraccountgenerated fortheOS/400principalname.
d. (Optional)AccessthepropertiesonyourActiveDirectoryuser.FromtheAccounttab,selectthe
Accountistrustedfordelegation.
Note: Thisoptionalstep enablesyour systemtodelegate,orforward,auser’scredentialstoother systems.Asa result,theOS/400serviceprincipalcanaccessservices onmultiple systems onbehalfof theuser.Thisisusefulinamulti-tiernetwork.
NowthatyouhaveaddedtheiSeriesAserviceprincipaltotheKerberosserver,youcancreatea home directoryforJohnDay.
Step4:CreatehomedirectoryforJohn Dayon iSeriesA
Youneedtocreateadirectoryinthe/home directorytostoreyourKerberoscredentialscache.Tocreate ahomedirectory, completethefollowing:
On a commandline, enter:CRTDIR’/home/userprofile’where userprofile isyour OS/400 user profile name. For example:CRTDIR ’/home/JOHND’.
Nowthatyouhavecreatedthehomedirectory, youcanverifythatnetworkauthenticationserviceis configuredcorrectly.
Step5:Testnetworkauthenticationservice configurationoniSeriesA
Nowthatyouhavecompletedthenetworkauthentication serviceconfigurationtasks foriSeriesA, you needtotestthatyour configurationworks correctly.Youcandothisbyrequestingaticket grantingticket fortheiSeriesAprincipalname.
Totestthenetworkauthentication serviceconfiguration,followthesesteps:
Note: Ensurethatyouhavecreatedahomedirectory foryourOS/400user profilebefore performingthis procedure.
1. On acommandline,enterQSH tostarttheQshellInterpreter.
2. Enterkeytablist todisplayalist ofprincipalsregisteredinthekeytab file.Inthis scenario, krbsvr400/iseriesa.myco.com@MYCO.COMshoulddisplayastheprincipalnameforiSeriesA. 3. Enter kinit -kkrbsvr400/[email protected]. Ifthis issuccessful,then thekinitcommand
isdisplayedwithouterrors.
4. Enterklist toverifythatthedefaultprincipaliskrbsvr400/[email protected]. Nowthatyouhavetestedthenetworkauthenticationservice configuration,youcancreateanEIM identifierforJohnDay.
Step6:CreateEIMidentifierforJohn Day
Nowthatyouhaveperformedtheinitial stepstocreateabasicsinglesignonconfiguration, youcan begintoaddinformationtothis configurationtocompleteyoursingle signontestenvironment.Youneed tocreatetheEIMidentifierthatyouspecifiedin theplanningworksheet.Inthis scenario,this EIM identifierisa namethatuniquely identifiesyou,JohnDay,in yourenterprise.
1. IniSeriesNavigator, expandiSeriesA→Network→EnterpriseIdentityMapping→Domain Management→MyCoEimDomain.
Note: Youmaybepromptedtoconnecttothedomaincontroller.Inthatcase,theConnecttoEIM DomainControllerdialogboxisdisplayed.Youmustconnecttothedomainbeforeyoucan performactionsinit.Toconnecttothedomaincontroller,providethefollowinginformation andclick OK:
v User type:Distinguished name
v Distinguishedname:cn=administrator v Password:mycopwd
Note: Anyand allpasswordsspecifiedinthisscenarioareforexamplepurposesonly.To preventacompromisetoyoursystem ornetworksecurity,youshouldnever usethese passwordsaspart ofyourown configuration.
2. Right-clickIdentifiersand selectNew Identifier....
3. OntheNewEIMIdentifierdialogbox,entera nameforthenewidentifierintheIdentifierfield,and clickOK.Forexample,JohnDay.
Nowthatyouhavecreatedyour identifier,youcanaddassociations totheidentifierto definethe relationshipbetweentheidentifierandthecorrespondingKerberosprincipaland OS/400userprofile.
Step7:Createsourceassociationandtargetassociationforthenew EIMidentifier
YoumustcreatetheappropriateassociationsbetweentheEIMidentifierandtheuser identitiesthatthe personrepresentedbytheidentifieruses.Theseidentifierassociations,whenproperlyconfigured,enable theusertoparticipateina singlesignonenvironment.
Inthisscenario,youneedtocreatetwoidentifierassociationsfortheJohnDay identifier:
v AsourceassociationforthejdayKerberosprincipal,whichistheuseridentitythatJohnDay,the person,usestologintoWindowsand thenetwork. ThesourceassociationallowstheKerberos principaltobemappedtoanotheruser identityasdefinedina correspondingtargetassociation. v AtargetassociationfortheJOHNDOS/400user profile,whichistheuseridentitythatJohnDay, the
person,usestologintoiSeriesNavigatorand otherOS/400applicationsoniSeriesA.Thetarget associationspecifiesthata mappinglookupoperationcanmaptothisuser identityfromanotherone asdefinedin asourceassociationforthesameidentifier.
NowthatyouhavecreatedtheJohnDayidentifier,youneedtocreatebotha sourceassociationanda targetassociationforit.
TocreateasourceassociationbetweentheKerberosprincipalandtheJohnDayidentifier,followthese steps:
1. IniSeriesNavigator, expandiSeriesA→EnterpriseIdentityMapping→Domain Management→MyCoEimDomain→Identifiers.
2. Right-clickJohnDay,and selectProperties. 3. OntheAssociationspage,clickAdd.
4. IntheAddAssociationdialog,specifyorBrowse...toselectthefollowinginformation,andclick OK: v Registry:MYCO.COM
v User:jday
v Associationtype:Source
5. ClickOKtoclosetheAddAssociationdialog.
Tocreatea targetassociationbetweentheOS/400userprofileandtheJohnDayidentifier,follow thesesteps:
6. On theAssociationspage,clickAdd.
7. On theAddAssociationdialog,specifyorBrowse...toselectthefollowinginformation,andclickOK: v Registry:ISERIESA.MYCO.COM
v User:JOHND
v Associationtype:Target
8. Click OKtoclosetheAddAssociationdialog. 9. Click OKtoclosethePropertiesdialog.
Nowthatyouhavecreatedanidentifierand addedtheappropriateassociationstotheidentifier,you needtotestthatthemappingsbetweenassociateduser identitiesworkscorrectly.
Step8:TestEIMidentitymappings
YouneedtoverifythatEIMmappinglookupoperationsreturn thecorrectresultsbased onthe configuredassociations.
TotestthatEIMmappingoperationsworkcorrectly,followthesesteps:
1. IniSeriesNavigator,expand iSeriesA→Network→EnterpriseIdentityMapping→Domain Management→MyCoEimDomain
Note: Youmaybepromptedtoconnecttothedomaincontroller.Inthatcase, theConnecttoEIM DomainControllerdialogisdisplayed.Youmust connecttothedomainbeforeyoucan performactionsinit.Toconnecttothedomaincontroller,providethefollowinginformation andclick OK:
v User type: Distinguished name
v Distinguishedname:cn=administrator v Password:mycopwd
Note: Anyand allpasswordsspecifiedinthisscenarioareforexamplepurposesonly.To preventacompromisetoyoursystem ornetworksecurity,youshouldnever usethese passwordsaspart ofyourown configuration.
2. Right-clickMyCoEimDomainandselectTest amapping....
3. IntheTesta mappingdialog,specifyorBrowse...toselectthefollowinginformation: v Sourceregistry:MYCO.COM
v Sourceuser:jday
v Targetregistry:ISERIESA.MYCO.COM
Note: ClickHelp,ifnecessary, formoredetailsaboutwhatinformationisneededforeachfieldinthe dialog.
Click Test,andclick Close.
IfyourEIM mappingsarecorrectlyconfigured,thefollowingresultsare displayedintheMappingfound
portionofthepage:
Forthesefields Seetheseresults
Targetuser JOHND
Origin EIMIdentifier:JohnDay
Ifyoureceivemessagesorerrorsthatindicateproblemswith yourmappings orwithcommunications, seeEIM troubleshootingtohelpyoufindsolutionstothese problems.
NowthatyouhavetestedtheEIM identifymappings,youcanconfigureiSeriesAccessforWindows applicationstouseKerberosauthentication.
Step9:ConfigureiSeriesAccessforWindowsapplicationstouseKerberos authentication
YoumustuseKerberostoauthenticate beforeyoucanuseiSeriesNavigatortoaccessiSeriesA.Therefore, fromyourPC, youneedtoconfigureiSeriesAccessforWindowstouseKerberosauthentication.
ToconfigureiSeriesAccessforWindows applicationstouseKerberosauthentication, completethe followingsteps:
1. LogontotheWindows(R)
2000domainbysigningintoyourPC. 2. IniSeriesNavigatoronyourPC,right-clickiSeriesAandselectProperties.
3. OntheConnectionpage,selectUseKerberosprincipalname,noprompting.ThiswillallowiSeriesAccessfor WindowsconnectionstousetheKerberosprincipalnameandpasswordforauthentication.
4. Amessageisdisplayedthatindicatesyouneedtocloseandrestartallapplicationsthatarecurrentlyrunningfor thechangestotheconnectionsettingstotakeeffect.ClickOK.Then,endandrestartiSeriesNavigator.
NowthatyouhaveconfigurediSeriesAccessforWindowsapplicationstouseKerberosauthentication,youcan verifythesinglesignontestenvironment.
Step10:VerifynetworkauthenticationserviceandEIMconfiguration
Nowthatyouhaveverifiedtheindividualpiecesofyoursinglesignonconfigurationandensuredthatallsetupis complete,youmustverifythatyouhaveconfiguredEIMandnetworkauthenticationservicecorrectlyandthatsingle signonworksasexpected.
Toverifythatyoursinglesignonenvironmentworkscorrectly,haveJohnDayfollowthesesteps: 1. IniSeriesNavigator,expandiSeriesAtoopenaconnectiontoiSeriesA.
2. PressF5torefreshthescreen.
3. Intherightpane,findiSeriesAintheNamecolumn,andverifythatJohnDay’sOS/400userprofile,JOHND,is displayedasthecorrespondingentryintheSignedOnUsercolumn.
iSeriesNavigatorsuccessfullyusedEIMtomapthejdayKerberosprincipaltotheJOHNDiSeriesAuserprofile becauseoftheassociationsdefinedforEIMidentifier,JohnDay.TheiSeriesNavigatorsessionforiSeriesAisnow connectedasJOHND.
Step11:(Optional)Postconfigurationconsiderations
Nowthatyoufinishedthisscenario,theonlyEIMuseryouhavedefinedthatEIMcanuseistheDNfortheLDAP administrator.TheLDAPadministratorDNthatyouspecifiedforthesystemuseroniSeriesAhasahighlevelof authoritytoalldataonthedirectoryserver.Therefore,youmightconsidercreatingoneormoreDNsasadditional usersthathavemoreappropriateandlimitedaccesscontrolforEIMdata.ThenumberofadditionalEIMusersthat youdefinedependsonyoursecuritypolicy’semphasisontheseparationofsecuritydutiesandresponsibilities. Typically,youmightcreateatleastthetwofollowingtypesofDNs:
v AuserthathasEIMadministratoraccesscontrol
ThisEIMadministratorDNprovidestheappropriatelevelofauthorityforanadministratorwhoisresponsiblefor managingtheEIMdomain.ThisEIMadministratorDNcouldbeusedtoconnecttothedomaincontrollerwhen managingallaspectsoftheEIMdomainbymeansofiSeriesNavigator.
v Atleastoneuserthathasallofthefollowingaccesscontrols: – Identifieradministrator
– Registryadministrator – EIMmappingoperations
ThisuserprovidestheappropriatelevelofaccesscontrolrequiredforthesystemuserthatperformsEIM operationsonbehalfoftheoperatingsystem.
Note: TousethisnewDNforthesystemuserinsteadoftheLDAPadministratorDN,youmustchangetheEIM configurationpropertiesforeachsystem.Forthisscenario,youneedtochangetheEIMconfiguration
propertiesforiSeriesA.SeeManageEIMconfigurationpropertiestolearnhowtochangethesystemuserDN. Nowthatyouhavesuccessfullycreatedatestenvironment,youmightwanttoexploreimplementingsinglesignon onalargerscale.ThescenarioEnablesinglesignonforOS/400demonstrateshowtodothis.
Scenario:
Enable
single
signon
for
OS/400
Situation
Youareanetworkadministratorthatmanagesa networkandnetworksecurityforyour company, includingtheOrderReceivingdepartment.YouoverseetheIToperationsfora largenumberof employeeswhotakecustomerorders overthetelephone.Youalsosupervisetwoothernetwork administratorswhohelp youmaintainthenetwork.
TheemployeesintheOrderReceivingdepartmentuseWindows 2000andOS/400andrequire multiple passwordsforthedifferentapplicationstheyuseeveryday.Consequently,youspenda lotoftime managingand troubleshootingproblemsrelatedtopasswordsanduser identities,suchasresetting forgottenpasswords.
Asthecompany’s networkadministrator, youarealways lookingforwaystoimprovethebusiness, startingwiththeOrderReceiving department.Youknowthatmostofyouremployeesneedthesame typeofauthoritytoaccesstheapplication thattheyusetoqueryinventorystatus.Itseems redundant andtimeconsumingforyoutomaintainindividualuser profilesandnumerouspasswordsthatare requiredinthis situation.Inaddition,youknowthatall ofyouremployeescanbenefitbyusingfewer userIDsandpasswords.Youwanttodo thesethings:
v SimplifythetaskofpasswordmanagementfortheOrderReceivingdepartment.Specifically,youwant toefficientlymanageuseraccesstotheapplicationyour employeesroutinelyuseforcustomerorders. v Decreasetheuseof multipleuserIDsand passwordsforthedepartmentemployees,aswell asforthe
networkadministrators.However,youdo notwanttomaketheWindows2000IDsand OS/400user profilesthesamenordoyouwanttousepasswordcachingorsynching.
Basedonyourresearch,youknowthatOS/400supportssinglesignon,a solutionthatallowsyourusers tologononcetoaccessmultipleapplicationsandservices thatnormallyrequirethemtologonwith multipleuser IDsand passwords.Becauseyour usersdonotneedtoprovideasmanyuser IDsand passwordstodotheirjobs,youhavefewerpasswordproblemstosolveforthem.Singlesignonseems to beanidealsolutionbecauseitallowsyoutosimplifypasswordmanagement inthefollowingways: v Fortypicalusersthatrequirethesameauthoritytoanapplication,youcancreatepolicyassociations.
Forexample,youwanttheorderclerksintheOrderReceivingdepartmenttobeable tologononce withtheirWindows usernameandpasswordandthenbe abletoaccessanew inventoryquery applicationinthemanufacturingdepartmentwithouthavingtobeauthenticatedagain.However,you alsowanttoensurethatthelevelofauthorizationthattheyhavewhenusingthis applicationis appropriate.Toattainthis goal,youdecidetocreateapolicyassociationthatmapstheWindows2000 useridentities forthisgroupofuserstoa singleOS/400userprofilethathastheappropriatelevelof authorityforrunningtheinventoryqueryapplication.Becausethisisaquery-onlyapplication in whichuserscannotchangedata,youare notasconcerned aboutdetailedauditingforthis application. Consequently,youfeelconfidantthatusingapolicyassociationinthissituation conformstoyour securitypolicy.
Youcreateapolicyassociationtomapthegroup oforderclerkswith similarauthorityrequirementsto asingle OS/400userprofilewiththeappropriatelevelofauthorityfor theinventoryqueryapplication. Yourusersbenefitbyhavingonelesspasswordtorememberand onelesslogonto perform.Asthe administrator,youbenefitbyhavingtomaintainonlyoneuserprofileforuseraccesstotheapplication insteadofmultiple userprofilesforeveryoneinthegroup.
v Foreachofyour networkadministratorswhohaveuserprofileswith specialauthorities,suchas *ALLOBJand*SECADM,youcancreateidentifierassociations.Forexample,youwantalloftheuser
identitiesfora singlenetworkadministratortobepreciselyandindividuallymappedtooneanother becauseoftheadministrator’shighlevelofauthority.
Basedonyour company’ssecuritypolicy,youdecidetocreateidentifierassociations tomap
specificallyfromeachnetworkadministrator’sWindowsidentitytohis OS/400userprofile.Youcan moreeasilymonitor andtracetheactivityoftheadministratorbecauseoftheone-to-onemappingthat identifierassociationsprovide.Forexample,youcanmonitorthejobsandobjectsthatrunonthe systemfora specificuser identity.Yournetworkadministratorbenefitsbyhavingonelesspasswordto rememberandonelesslogontoperform.Asthenetworkadministrator,youbenefitbytightly
controllingtherelationshipsbetweenall ofyouradministrator’suser identities. Thisscenariohasthefollowingadvantages:
v Simplifiesauthenticationprocess forusers. v Simplifiesmanagingaccesstoapplications.
v Easestheoverheadofmanagingaccessto serversinthenetwork. v Minimizesthethreatofpasswordtheft.
v Avoidstheneed formultiplesignons.
v Simplifiesuseridentitymanagement acrossthenetwork.
Objectives
Inthisscenario,youaretheadministratoratMyCo,Inc.who wantstoenable singlesignonfortheusers intheOrderReceivingdepartment.
Theobjectivesofthisscenarioareasfollows:
v iSeriesAand iSeriesBmustparticipate intheMYCO.COMrealmtoauthenticatetheusersandservices thatareparticipating inthissinglesignonenvironment.ToenablethesystemstouseKerberos,iSeries AandiSeriesBmust beconfiguredfornetworkauthentication service.
v TheIBMDirectoryServerfor iSeries(LDAP)oniSeriesAmust functionasthedomaincontrollerfor thenewEIMdomain.
Note: Refer todomainstolearnhowtwodifferenttypesofdomains,an EIMdomainanda Windows 2000domain,fitinto thesinglesignonenvironment.
v Alluser identitiesintheKerberosregistrymust mapsuccessfullytoa singleOS/400userprofilewith appropriateauthorityforuseraccesstotheinventoryqueryapplication.
v Basedonyour securitypolicy,twoadministrators,JohnDayand SharonJones,who alsohaveuser identitiesintheKerberosregistry,musthaveidentifierassociationstomaptheseidentities totheir OS/400user profileswhichhave*SECADMspecialauthority.Theseone-to-onemappingsenableyou tocloselymonitor thejobsandobjectsthatrunonthesystemforthese useridentities.
v AKerberosserviceprincipalmust beusedtoauthenticatetheuserstotheIBM iSeriesAccessfor Windowsapplications,includingiSeries Navigator.
Details
Thefigureillustratesthefollowingpointsrelevanttothis scenario.
EIMdomaindatadefinedfortheenterprise
v Threeregistrydefinitionnames:
– AregistrydefinitionnameofMYCO.COMfortheWindows2000serverregistry.Youwilldefinethis whenyouusetheEIM configurationwizardoniSeriesA.
– AregistrydefinitionnameofISERIESA.MYCO.COMfortheOS/400registryoniSeriesA.Youwill definethiswhen youusetheEIM configurationwizardoniSeriesA.
– AregistrydefinitionnameofISERIESB.MYCO.COMfortheOS/400 registryoniSeries B.Youwill definethiswhen youusetheEIM configurationwizardoniSeriesB.
v Twodefaultregistrypolicyassociations:
Note: EIM lookupoperationprocessingassignsthehighestprioritytoidentifierassociations.Therefore, whena useridentityisdefinedasa sourceinbothapolicyassociationandan identifier
association,onlytheidentifierassociationmapsthatuser identity.Inthis scenario,twonetwork administrators,JohnDayand SharonJones,bothhaveuser identitiesintheMYCO.COM registry,whichisthesourceofthedefaultregistrypolicyassociations.However, asshown below,theseadministrators alsohaveidentifierassociationsdefinedfortheiruseridentities in theMYCO.COMregistry.TheidentifierassociationsensurethattheirMYCO.COMuser identities arenotmappedbythepolicyassociations.Instead,theidentifierassociations ensure thattheiruser identitiesintheMYCO.COMregistryareindividuallymappedtootherspecific individual useridentities.
– Onedefaultregistrypolicyassociationmapsalluser identitiesintheWindows2000serverregistry calledMYCO.COM,toa singleOS/400user profilecalledSYSUSERAintheISERIESA.MYCO.COM registryoniSeriesA.For thisscenario,mmillerand ksmithrepresenttwooftheseuseridentities. – Onedefaultregistrypolicyassociationmapsalluser identitiesintheWindows2000serverregistry
calledMYCO.COM,toa singleOS/400user profilecalledSYSUSERB intheISERIESB.MYCO.COM registryoniSeriesB.Forthisscenario,mmillerand ksmithrepresenttwooftheseuseridentities. v TwoEIM identifiersnamedJohnDay andSharonJonestorepresentthetwonetworkadministratorsin
thecompanywho havethose names.
v FortheJohnDayEIMidentifier,theseidentifierassociations aredefined:
– Asourceassociationforthejday useridentity,whichisaKerberosprincipalintheWindows2000 serverregistry.
– AtargetassociationfortheJOHNDuseridentity,whichisauser profileintheOS/400registryon iSeriesA.
– AtargetassociationfortheDAYJOuseridentity,whichisauser profileintheOS/400registryon iSeriesB.
v FortheSharonJonesEIMidentifier,theseidentifierassociations aredefined:
– Asourceassociationforthesjonesuser identity,whichisa KerberosprincipalintheWindows2000 serverregistry.
– AtargetassociationfortheSHARONJuseridentity,whichisauser profileintheOS/400registry oniSeriesA.
– AtargetassociationfortheJONESSHuser identity,whichisauser profileintheOS/400registryon iSeriesB.
Windows2000server
v ActsastheKerberosserver(kdc1.myco.com),alsoknownasa keydistribution center(KDC),forthe network.
v ThedefaultrealmfortheKerberosserverisMYCO.COM.
v AllMicrosoft WindowsActive Directoryusersthatdonothaveidentifierassociationsaremappedtoa singleOS/400user profileoneachoftheiSeriessystems.
iSeriesA
v RunsOS/400Version5Release3 (V5R3)with thefollowingoptionsandlicensedproductsinstalled: – OS/400HostServers(5722-SS1 Option12)
– QshellInterpreter (5722-SS1Option30) – iSeriesAccessforWindows(5722-XE1) – CryptographicAccessProvider(5722-AC3)
Note: YoucanimplementthisscenariousingaserverthatrunsV5R2.However,someofthe
configurationstepswillbe slightlydifferent.Inaddition,thisscenariodemonstratessomeofthe single signonfunction thatisonlyavailableinV5R3,suchaspolicyassociations.SeeWhat’snew for V5R3formore informationaboutsingle signonenhancementsforV5R3.
v ThedirectoryserveroniSeriesAwillbeconfigured tobetheEIMdomaincontrollerforthenewEIM domain,MyCoEimDomain.
v ParticipatesintheEIM domain,MyCoEimDomain.
v Hastheserviceprincipalnameof krbsvr400/[email protected].
v Hasthefullyqualifiedhostnameofiseriesa.myco.com.ThisnameisregisteredinasingleDomain NameSystem(DNS)towhichallPCsandservers inthenetworkpoint.
v HomedirectoriesoniSeriesAstoretheKerberoscredentialscachesforOS/400 userprofiles.
v RunsOS/400Version5Release3 (V5R3)with thefollowingoptionsandlicensedproductsinstalled: – OS/400HostServers(5722-SS1 Option12)
– QshellInterpreter (5722-SS1Option30) – iSeriesAccessforWindows(5722-XE1) – CryptographicAccessProvider(5722-AC3)
v Hasthefullyqualifiedhostnameofiseriesb.myco.com.ThisnameisregisteredinasingleDomain NameSystem(DNS)towhichallPCsandservers inthenetworkpoint.
v TheprincipalnameforiSeries Biskrbsvr400/[email protected]. v Participatesin theEIM domain,MyCoEimDomain.
v HomedirectoriesoniSeriesBstoretheKerberoscredentialscachesforOS/400user profiles.
AdministrativePC
v RunsMicrosoftWindows 2000operatingsystem. v RunsV5R3iSeriesAccessforWindows (5722-XE1).
v RunsiSeriesNavigatorwiththefollowingsubcomponentsinstalled: – Network
– Security
– UsersandGroups
v Servesastheprimary logonsystem fortheadministrator.
v Configuredtobe partoftheMYCO.COMrealm(Windows domain).
Prerequisitesandassumptions
Successfulimplementationofthisscenariorequiresthatthefollowingassumptionsandprerequisites are met:
1. All systemrequirements, includingsoftwareand operatingsysteminstallation,havebeen verified. Toverify thattheselicensedprogramshavebeeninstalled,completethefollowing:
a. IniSeriesNavigator,expandyouriSeriesserver→ConfigurationandService→Software→Installed Products.
b. Ensurethatallthenecessarylicensedprogramsareinstalled. 2. All necessaryhardwareplanningand setuparecomplete.
3. TCP/IPandbasic systemsecurityare configuredandtestedoneachsystem. 4. The directoryserverandEIMshouldnotbepreviouslyconfiguredoniSeriesA.
Note: Instructionsinthisscenarioarebased ontheassumptionthatthedirectory serverhasnotbeen previouslyconfiguredoniSeriesA. However,if youalreadyconfiguredthedirectoryserver, youcanstill usetheseinstructions withonlyslightdifferences.Thesedifferencesarenotedin theappropriateplaceswithintheconfigurationsteps.
5. Asingle DNSserverisusedforhostnameresolutionforthenetwork.Hosttablesarenotusedfor host nameresolution.
Note: Theuseofhosttableswith Kerberosauthentication mayresultinnameresolutionerrors or otherproblems.Formoredetailedinformationabouthowhostnameresolutionworkswith Kerberosauthentication, seeHostnameresolutionconsiderations.
Configurationsteps
Note: Youneedtothoroughly understandtheconceptsrelatedtosinglesignon, whichincludenetwork authentication serviceandEnterpriseIdentityMapping(EIM)concepts, beforeyouimplementthis scenario.Seethefollowinginformationtolearnaboutthetermsand conceptsrelatedtosingle signon:
v EnterpriseIdentityMapping(EIM) v Network authenticationservice 1. Completetheplanningworksheets
2. Createabasicsingle signonconfigurationforiSeriesA
3. ConfigureiSeriesBtoparticipateintheEIMdomainand configureiSeriesBfornetwork authenticationservice
4. AddbothOS/400serviceprincipalstotheKerberosserver 5. CreateuserprofilesoniSeriesAand iSeriesB
6. CreatehomedirectoriesoniSeriesAandiSeries B
7. TestnetworkauthenticationserviceoniSeriesAand iSeriesB
8. CreateEIMidentifiersfor twoadministrators,JohnDayandSharonJones 9. CreateidentifierassociationsforJohnDay
10. CreateidentifierassociationsforSharonJones 11. Createdefaultregistrypolicyassociations
12. Enableregistriestoparticipate inlookupoperationsandtousepolicyassociations 13. TestEIMidentitymappings
14. ConfigureiSeriesAccessforWindows applicationstouseKerberosauthentication 15. Verifynetworkauthentication serviceandEIMconfiguration
16. (Optional)Postconfigurationconsiderations
Scenario
details:
Enable
single
signon
for
OS/400
Step1:CompletetheplanningworksheetsThefollowingplanningworksheetsaretailoredtofit thisscenariobasedonthegeneralsinglesignon planningworksheets. Theseplanningworksheetsdemonstratetheinformationthatyouneedtogather andthedecisionsyouneedtomakeasyoupreparetoconfigurethesinglesignonimplementation describedbythisscenario.Toensurea successfulimplementation,youmustbeable toanswerYestoall prerequisiteitemsintheworksheetandyoushouldgather alltheinformationnecessarytocompletethe worksheetsbefore youperform anyconfigurationtasks.
Note: Youneedtothoroughly understandtheconceptsrelatedtosinglesignon, whichincludenetwork authentication serviceandEnterpriseIdentityMapping(EIM)concepts, beforeyouimplementthis scenario.Seethefollowinginformationtolearnaboutthetermsand conceptsrelatedtosingle signon:
v EnterpriseIdentityMapping(EIM) v Network authenticationservice
Table3.Singlesignonprerequisiteworksheet
Prerequisiteworksheet Answers