<div>Thank you Simo. My question is clarified.<br><br>Best Regards,<br>Tengda<br></div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "Simo Sorce"<ssorce@redhat.com>; </div><div><b>Date:</b> 2012年8月21日(星期二) 下午3:59</div><div><b>To:</b> "Tengda"<yantd@qq.com>; </div><div><b >Cc:</b> "freeipa-users"<freeipa-users@redhat.com>; </div><div><b>Subject:</b> Re: [Freeipa-users] Which AD server is used by FreeIPA</div></div><div><br></div>----- Original Message -----<br>> Hello,<br>> I'm trying to build trust between FreeIPA and Windows Server 2008R2.<br>> It is said that FreeIPA uses samba as the AD server, but I found<br>> that 389 Directory Server is also installed. So which is used as the<br>> directory service for FreeIPA. If it is samba, why 389 Director<br>> Server is needed?<br><br>Hi Tengda,<br>FreeIPA uses some samba components to handle windows specific operations, but does NOT uses Samba as an AD server. In fact FreeIPa is not an AD compatible server and you cannot join Windows machines to it.<br><br>This is why we focused on trusts relationships.<br>Our model is based on keeping Windows and Linux machines separate. Windows machine will use their native AD enviornment, while Linux machine are joined to the FreeIPA domain and have linux-oriented management options not availbel in AD domains (HBAC, SElinux integration, netgroups, sudo integration and so on..).<br><br>389 Directory server i the informations tore for the FreeIPA server and all services use it to store/read data.<br><br>HTH,<br>Simo.<br>  <!-- --><style cssfrom=",qmEditor">#mailContentContainer .txt {height:auto;}.qmEditorBase{width:100%;height:100%;border-collapse:collapse;border-right:1px solid #c3c3c3;border-top:1px solid #9a9a9a;border-left:1px solid #9a9a9a;background:#fff;}.qmEditorBaseBd{border-top:1px solid #c3c3c3;position:relative;}.qmEditorToolBar{border-bottom:none;}.qmEditorToolBarDiv{height:100%;height:20px;padding:3px 2px;border-bottom:1px solid #999;cursor:default;}.qmEditorToolBarItem{float:left;font-size:1px;margin:0 1px;margin:0\9;}.qmEditorToolBarItemRight{float:right;font-size:1px;margin:0 5px;*margin:1px 3px 0;}.qmEditorContent{}.qmEditorText{height:100%;border:none;margin:0;padding:0 4px;font:normal 14px "lucida Grande",Verdana;line-height:160%;word-break:break-all;white-space:pre-wrap;word-wrap:break-word;zoom:1;width:99%;}.qmEditorDivEditArea{display:block;height:100%;overflow:auto;padding:1px 4px;font:normal 14px "lucida Grande",Verdana;background:#fff;line-height:160%;word-break:break-all;white-space:pre-wrap;word-wrap:break-word;border-top:1px solid #d4d4d4;}.qmEditorIfrmEditArea{display:block;width:100%;height:100%;border-top:1px solid #d4d4d4;margin-bottom:1px;}.qmEditorTBExternItem{}.qmEditorBtnIcon,.qmEditorMenuIcon{width:24px;height:17px;text-align:center;padding:1px;border:none;overflow:hidden;}.qmEditorBtnIconOver{padding:1px 0 0 1px;border-left:none;border-top:none;border-right:1px solid gray;border-bottom:1px solid gray;}.qmEditorBtnIconCheck{padding:0;border-left:1px solid gray;border-top:1px solid gray;border-right:1px solid white;border-bottom:1px solid white;}.qmEditorBtnA,.qmEditorFormatting{padding:2px 0 3px 8px;color:#039;font:normal 12px "lucida Grande",Verdana;cursor:pointer;white-space:nowrap;-moz-user-select:none}.qmEditorMoreIcon{border:none;background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/newicon/compose0f10b1.png) no-repeat 0 -478px;width:16px;height:14px;position:relative;top:1px;top:-1px\9;cursor:pointer;margin-left:5px;}.qmEditorIcon{border:none;background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/../js/com/kits/qmeditor/images/newicon/editor_new0c772e.gif) no-repeat;width:20px;height:16px;overflow:hidden;}.qmEditorSeparate .qmEditorIcon{background:none;}.qmEditorBold .qmEditorIcon{background-position:0px 0;width:10px;}.qmEditorItalic .qmEditorIcon{background-position:-32px 0;width:10px;}.qmEditorUnderline .qmEditorIcon{background-position:-63px 0;width:10px;}.qmEditorFontName .qmEditorIcon{background-position:-95px 0;width:18px;}.qmEditorFontSize .qmEditorIcon{background-position:-128px 0;width:18px;}.qmEditorForeColor .qmEditorIcon{background-position:-159px 0;width:18px;}.qmEditorBackColor .qmEditorIcon{background-position:-192px 0;width:18px;}.qmEditorAlignMode .qmEditorIcon{background-position:-223px 2px;width:20px;}.qmEditorSerial .qmEditorIcon{background-position:-256px 2px;width:20px;}.qmEditorIndentMode .qmEditorIcon{background-position:-288px 2px;width:20px;}.qmEditorformatblock{width:20px;}.qmEditorformatblock .qmEditorIcon{background-position:-572px 1px;width:16px;}.qmEditorCreateLink .qmEditorIcon{background-position:-318px 2px;}.qmEditorPhoto .qmEditorIcon,.qmEditorMo .qmEditorIcon,.qmEditorScreenSnap .qmEditorIcon,.qmEditorMusic .qmEditorIcon{background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/newicon/compose0f10b1.png) no-repeat;width:16px;padding:0;}.qmEditorPhoto .qmEditorIcon{background-position:0 -71px;}.qmEditorMo .qmEditorIcon{background-position:0 -95px;}.qmEditorScreenSnap .qmEditorIcon{background-position:0 -119px;width:14px;}.qmEditorScreenSnapDisable .qmEditorIcon{background-position:0 -288px;width:14px;}.qmEditorMusic .qmEditorIcon{background-position:0 -143px;width:13px;}.qmEditorJustifyLeft .qmEditorIcon{background-position:-350px 2px;}.qmEditorJustifyCenter .qmEditorIcon{background-position:-382px 2px;}.qmEditorJustifyRight .qmEditorIcon{background-position:-414px 2px;}.qmEditorInsertorDeredlist .qmEditorIcon{background-position:-446px 2px;}.qmEditorInsertunorDeredlist .qmEditorIcon{background-position:-478px 2px;}.qmEditorIndent .qmEditorIcon{background-position:-542px 2px;}.qmEditorOutdent .qmEditorIcon{background-position:-510px 2px;}.qmEditorPhoto .qmEditorBigIcon{background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/../js/com/kits/qmeditor/images/compose_easy_photo0b1029.gif) no-repeat;width:24px;height:22px;}.qmEditorMo .qmEditorBigIcon{background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/../js/com/kits/qmeditor/images/compose_easy_face0b1029.gif) no-repeat;width:22px;height:22px;}.qmEditorBtnIconSeparate{width:1px;}.qmEditorBtnIconBold{width:20px;}.qmEditorBtnIconItalic{width:20px;}.qmEditorBtnIconUnderline{width:20px;}.qmEditorBtnIconFontName{width:24px;}.qmEditorBtnIconFontSize{width:24px;}.qmEditorBtnIconForeColor{width:24px;}.qmEditorBtnIconBackColor{width:24px;margin-right:2px;}.qmEditorBtnIconAlignMode{width:24px;}.qmEditorBtnIconSerial{width:24px;}.qmEditorBtnIconIndent{width:24px;}.qmEditorBtnIconCreateLink{width:20px;}.qmEditorBtnIconPhoto{width:24px;}.qmEditorScreenSnap{width:24px;}.qmEditorBtnIconMo{width:24px;}.qmEditorBtnIconMusic{width:24px;}.qmEditorBtnText{width:16px;border-width:0px;height:14px;margin:2px 10px 0 0;padding:1px 0;}.qmEditorBtnText .qmEditorIcon{font-size:12px;cursor:pointer;margin-right:5px;}.qmEditorMenuIcon{margin:-3px 0 0 0;height:17px;*xheight:19px;}.qmEditorMenuBorder{border:1px outset;* border:2px outset;position:absolute;z-index:99;background:white;padding:2px;font-size:1px;}.qmEditorMenuItem,.qmEditorMenuItemOver,.qmEditorMenuItemCheck,.qmEditorMenuItemDisabled{width:130px;height:16px;line-height:16px;padding:2px;cursor:default;font:normal 12px "lucida Grande",Verdana;}.qmEditorMenuItem,.qmEditorMenuItem,.qmEditorMenuItemDisabled{padding:3px;}.qmEditorMenuItemOver{border:1px solid #000080;background:#FFEEC2;color:#036;}.qmEditorMenuItemCheck{border:1px solid #9a9afb;}.qmEditorMenuItemDisabled{color:gray;}.qmEditorMenuColor{width:10px;*width:12px;height:10px;*height:12px;font-size:1px;border:1px solid #a6a6a6;}.qmEditorMenuPanel{font-size:12px;padding:3px;}.qmEditorButton1 .qmEditorButton2{font-size:12x;height:auto;*height:22px;line-height:auto;*line-height:18px;padding:0 8px;*padding:0;}.qmEditorButton1{width:52px;margin:1px 2px 0 0}.qmEditorButton2{width:76px;*width:72px;margin:1px 2px 0 0}.qmEditorCLNameDef{color:gray;}.qmEditorCLNameMdf{color:black;}.qmEditorFormatting{text-decoration:none;color:gray;}.qmEditorFormatBtn{float:left;padding:2px 0 3px 5px;* padding:1px 0 3px 5px;}.qmEditorLinkDiv{padding-bottom:5px;}.qmEditorLinkBtn{margin-left:3px;}.qmEditorLinkButton{text-align:right;}.qmEditorMenuStatusItem{padding:5px 10px 5px 0;cursor:pointer;}.qmEditorMenuIconStatusItem{padding:5px 10px 5px 0;cursor:pointer;}.qmEditorMenuIconStatusItem .qmEditorIcon{position:relative;top:-1px;top:-2px\9;left:-5px;cursor:pointer;}@media screen and (-webkit-min-device-pixel-ratio:0){}.menubarbg{background-image:url("http://rescdn.qqmail.com/zh_CN/htmledition/images/../js/com/kits/qmeditor/images/newicon/mailcomposetool0b1029.png");_background-image:url("http://rescdn.qqmail.com/zh_CN/htmledition/images/../js/com/kits/qmeditor/images/newicon/mailcomposetool_ie0b1029.png");}.editormenubar{background-position:0 -128px;background-repeat:repeat-x;height:23px;padding:4px;position:absolute;border:1px solid #555;-moz-box-shadow:0 1px 1px #999;-moz-border-radius:5px;}.imgzoomout{float:left;_display:inline;margin:0 5px;width:21px;height:23px;background-position:0 -30px;background-repeat:no-repeat;}.imgzoomout:hover{background-position:-33px -31px;}.imgzoomin{float:left;_display:inline;margin:0 5px;width:21px;height:23px;background-position:-63px -30px;background-repeat:no-repeat;}.imgzoomin:hover{background-position:-96px -31px;}.imgzoombar{float:left;_display:inline;width:66px;margin:10px 0 0;height:3px;background-position:-32px 0;position:relative;}.imgzoombar .zoomhandle{position:absolute;width:11px;height:17px;top:-7px;left:29px;background-position:-126px -30px;}.imgzoombar .zoomhandle:hover{background-position:-159px -31px;}.menubarremove{float:left;_display:inline;margin:0 5px;width:19px;height:23px;background-position:-191px -31px;background-repeat:no-repeat;}.menubarremove:hover{background-position:-224px -32px;}.menubarspl{float:left;_display:inline;width:2px;height:25px;margin:-1px 3px 0;background-position:0 0;background-repeat:no-repeat;}a.menubarlink:link,a.menubarlink:visited{float:left;margin:0 3px;line-height:23px;color:#DDD;text-decoration:underline;}a.menubarlink:hover{color:#FFF;}.menubariconlink{float:left;_display:inline;margin:0 5px;width:22px;height:23px;background-position:0 -57px;}.linkmodify{float:left;_display:inline;margin:0 3px;width:23px;height:23px;background-position:-31px -63px;}.linkmodify:hover{background-position:-64px -64px;}.menubarinput{float:left;_display:inline;margin:1px 7px 0 5px;width:200px;}.menubarfinish{float:left;_display:inline;margin:0 5px;width:24px;height:23px;background-position:-95px -62px;}.menubarfinish:hover{background-position:-128px -63px;}.menubariconimg{float:left;_display:inline;margin:0 2px 0 5px;width:24px;height:23px;background-position:-63px -94px;}.menubariconimg:hover{background-position:-95px -94px;}.menubariconlink2{float:left;_display:inline;margin:0 5px 0 2px;width:24px;height:23px;background-position:1px -89px;}.menubariconlink2:hover{background-position:-31px -89px;}@media all and (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0){head~body #QMEditorArea{margin-bottom:28px;}}.qmpanel_shadow .arrow{position:absolute;top:-4px;width:11px;height:11px;overflow:hidden;border:1px solid #bababa;background:#FFFFFF;clip:rect(-3px,10px,10px,-3px);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-o-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);top:-10px\9;clip:rect(-3px 100px 100px -3px)\9;filter:progid:DXImageTransform.Microsoft.Matrix(Dx=-2,Dy=12,M11=0.7,M12=0.7,M21=-0.7,M22=0.7);}@media screen and (-webkit-min-device-pixel-ratio:0){.qmpanel_shadow .arrow{clip:rect(-3px,10px,10px,-3px);}}.qmpanel_shadow .btn_close{position:absolute;z-index:3;right:8px;top:8px;width:13px;height:13px;overflow:hidden;vertical-align:middle;background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/newicon/mail0f6c3e.png) no-repeat scroll -96px -19px;-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px;border-radius:2px;}.qmpanel_shadow .btn_close:hover{background-position:-107px -19px;background-color:#999;}.qmpanel_shadow .btn_close:active{opacity:0.6;filter:alpha(opacity=60);}ul.qmEditorToolTab{position:relative;height:25px;padding:9px 0 1px 9px;overflow:hidden;zoom:1;}.qmEditorToolTab .sepLine{position:absolute;left:0;top:34px;height:1px;width:100%;overflow:hidden;margin:0;_padding-right:9px;background:#CED1D7;}.qmEditorToolTab li{float:left;}.qmEditorToolTab a{display:inline-block;min-width:42px;_width:42px;white-space:nowrap;margin-right:-1px;padding:0 12px;border:1px solid #CED1D7;border-width:1px 1px 0;line-height:24px;text-align:center;background:#F5F5F5;}.qmEditorToolTab a:link,.qmEditorToolTab a:hover{}.qmEditorToolTab a.on,.qmEditorToolTab a.on:hover{position:relative;z-index:2;margin-top:-3px;line-height:28px;text-decoration:none;color:#494949;background:#FFFFFF;font-weight:bold;-moz-box-shadow:0 0 2px #BABABA;-webkit-box-shadow:0 0 2px #BABABA;-o-box-shadow:0 0 2px #BABABA;box-shadow:0 0 3px rgba(0,0,0,0.15);}.qzone_container{width:362px;}.qmEditorMoOuter{}.qmEditorMoPadding{padding:6px 6px 2px;}.qmEditorMoLoading{float:left;font:normal 12px Verdana;display:none;padding-top:8px;color:gray;}.qmEditorMoPageCntr{font-size:12px;color:#000;cursor:default;padding:1px 5px 1px 0;}.qmEditorMoPage{color:#000;border:none;background:transparent;margin-right:5px;}.qmEditorMoTurnPage{border:none;width:45px;height:18px;background:transparent;cursor:pointer;}.qmEditorMoPreview{background:#fff;position:absolute;left:0;top:0;border:1px solid #004B97;text-align:center;overflow:hidden;}.qmEditorToolLoading{text-align:center;padding:36px 0;}.qmEditorAlbumsSelect{}.qmEditorPicContent{padding:10px;}.qmEditorPicContent .bd{box-shadow:0 0 3px rgba(0,0,0,0.2);}.qmEditorPicSelect{padding:1px;margin:2px;background-color:#ececec;border:1px solid #fff;width:100px;height:75px;overflow:hidden;}.qmEditorPicSelect table{width:100%;height:100%;overflow:hidden;margin-top:-212px;}.qmEditorPicSelect table td{text-align:center;line-height:0;height:500px;vertical-align:middle;}.qm_addinput{height:22px;line-height:1;border-width:1px;border-color:#9a9a9a #7c7c7c #c3c3c3 #c3c3c3;box-shadow:0 1px 1px #d4d4d4 inset;margin:0 5px 0 0;padding:0 5px;padding:5px\9;height:12px\9;width:295px;border-radius:3px;background:#FFFFFF;}#qzoneimgAlbum{margin:-3px 0 0 5px;}.qzoneimgData{height:242px;*height:262px;overflow-y:auto;padding:10px;}.qmEditorMusicCntr{width:320px;color:#494949;overflow:hidden;}.qmEditorMusicHead{padding:13px 8px 15px 17px;}.qmEditorMusicLogo{float:left;_display:inline;margin-top:-9px;padding:0 0 7px 17px;}.qmEditorMusicSearch{padding:0 0 18px 17px;}.qmEditorMusicTxt{float:left;width:214px;}a.qmEditorMusicBtn{float:left;width:55px;}.qmEditorMusicData{margin-top:-6px;zoom:1;}.qmEditorMusicResult{border-top:1px solid #DDDDDD;text-align:center;}.qmEditorMusicResultTxt{display:inline-block;position:relative;left:-2px;top:-9px;padding:0 16px;color:#C4C4C4;background:#FFFFFF;}.qmEditorMusicInfo{padding:5px 0 18px;text-align:center;}.qmEditorMusicOpt{position:relative;height:16px;margin-bottom:-16px;padding:8px 11px;}a.qmEditorMusicItem,a.qmEditorMusicItem:visited,a.qmEditorMusicItem:link{display:block;padding:0 19px;border-bottom:1px solid #EAEAEA;color:#494949;line-height:27px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;_width:282px;}a.qmEditorMusicItem:hover{text-decoration:none;background:#F0F1F1;}.QMEditorToolPop .qmEditorHead{color:#494949;padding:10px 10px 10px 15px;border-bottom:1px solid #bababa;text-align:left;}</style>