手机中的userphp auth usercenter.zip是什么

面试遇到的两个问题被问住了,请帮忙解答。【java吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:632,094贴子:
面试遇到的两个问题被问住了,请帮忙解答。收藏
1、支付宝的密码输入控件是如何实现的?2、注册把用户数据插入数据库时,如果插入数据量过大该如何处理。第一个问题,我回来查了下,谷歌打开支付宝,查看了下输入账号密码那一块的表面代码如下:&form name=&loginForm& id=&login& action=&& method=&post& class=&ui-form& novalidate=&novalidate& data-widget-cid=&widget-3& data-qrcode=&false&&&input type=&hidden& name=&ua& id=&UA_InputId& value=&243n+qZ9mgNqgJnCG0Zu8+4wrTDv8m+ybHUdNQ=|nOiH84Tyi/OA/IbwiPuB+Fg=|neiHGXz6UeRW5k4rRCFWIkcoTdd7ym3fZdO2FrY=|mu6b9JEsoNtHwmoSuh1pxr0MlS61DqEYY9F4wLQ/sRlv93DjVjOT|m++T/GIRfgtyBWoccxajwHIXtxc=|mOOM6Yws|meWK74oq|luKW+WcCqR6pGqzRo9F1zXrRoASrB7QQrN17yXkLpBa8EKHTe8Bzxm7Ybh+0A7MxmymeLKwHsAe0AmofZxGV/YjwhQxkEWkclSWNPZgwhS2WJZAihfRQ/1PgRPiJL50tRTBIPrrNusyk0ancVfFJ/lXnUv5D64P2jvtyynzUYeVd6kHVbcFnyUb0XvJDx2HWesh5CKMUpMy5wbc+ljSYOpY0k/uO9oAHe9Kl3KrQpAB7DHgNewOq0XYMdQN0B3QDeAJ6Bq7de9O22bzZedk=|l+GOEGMMfxBkEmUZdg94AG8bbRRtAngBehVhF24XeAJ3DKwM|lOCT/JkHfglyAW7xlOCX4ZnhmeCb7pLrl+FeLVwgVyJRJ1sgWiJUIFYvWSVcw6bJvR142A==|le+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8=|0qrFWz6zw2zedNhpGa4CtRqy17gmXSdfMEUwSOiH9Jv+m/SM/4z/g/9f/w==|06vEWj+ywm3fddloDWL8h/SI55LnnT1SIU4rTiFZKlkhVy6OLg==|0KfIVjO+zmHTedVkAW4VYRd4DXgCbRVmFWwfY8Nj|0anGWD2wwG/dd9tqGq0Bthmx1LslXiJbNEE3Q+OM/5D1kP+H9ID3jvZW9g==|zrnWSC2g0H/NZ8t6Cr0RpgmhxKvQqtO8yb/Eq9Og1Kjdrg6u|z7jXSSyh0X7MZsp7HnEKeQ1iFGIXeABzBnEFcdFx|zLTbRSCt3XLAasZ3En3jmeWZ9oD6gSFOPVI3Uj1FNkM7RzCQMA==|zbrVSy5LJF4tWzRNPkQrUyBXI1omhiY=|yr3OvdKhzrvUoNejzLrCuNev07zGvtGl0abJvdKu2rXDv9Ck07zIvtGnyLzIp9GmybzPoNCky7vOodGnyLDfqtG+yKfXrcK22azbtMSww6zcqcazx6jYr8CwyKfXrsGxxbzTo9i3w7vUoNe4yLzIp9ej1rnJvcuk0KPMvMiw36TLu8632Kjcp8iw36/aqca2w7fYqN2ox7fBtNur3qnGtsKt3ajRvs6416fRq8S0zKPTqsW1wrHertW6yrzKpdWi1LvLvcWq2q7btMSzyqXVo9i3x7PLpNSg2bbGvs2i0qrescG1yabWoda5ybzIp9ei17jIsMmm1qHatcWwyKfXr9yzw7vPoNCp3bLCusyj06rcs8O6zaLSqtO8zLXMbA==&&
&fieldset&
&input type=&hidden& name=&support& value=&000001&&
&input type=&hidden& name=&CtrlVersion& value=&1,1,0,1&&
&input type=&hidden& name=&loginScene& value=&express&&
&input type=&hidden& name=&goto& value=&&&
&input type=&hidden& value=&& name=&gotoType&&
&input type=&hidden& name=&redirectType& value=&&&
&input type=&hidden& value=&& name=&classOption&&
&input type=&hidden& value=&& name=&accountLabel&&
&input type=&hidden& value=&& name=&passwordLabel&&
&input type=&hidden& value=&& name=&buttonValue&&
&input type=&hidden& value=&& name=&loginType&&
&input type=&hidden& value=&& name=&invokeId&&
&input type=&hidden& value=&true& name=&_xbox&&
&input type=&hidden& name=&errorVM& value=&&&
&input type=&hidden& value=&zI8YBe5ed1l8nVxXxlv8ofu1HKe3UDPr& name=&rds_form_token&&
&input type=&hidden& id=&json_tk& name=&json_tk&&
&input type=&hidden& name=&method& value=&& id=&J-loginFormMethod& autocomplete=&off&&
&h2 class=&ui-form-title & id=&J-login-title&&登录支付宝&/h2&
&div class=&sl-error& id=&J-errorBox& errortype=&&&
&i class=&iconfont& title=&出错&&&/i&
&span class=&sl-error-text&&&/span&&/div&&script type=&text/javascript&&
ACCOUNTTIPS = {
&STATUS_NEED_ACTIVATE&: '该账户信息不完整,暂不能登录,请完成&a href=&& target=&_blank& seed=&ajaxAccount-active&&注册&/a&后再登录。',
//密码上限
&PASSWORD_REACH_LIMIT&: '该账户登录出错已达上限将锁定密码3小时,请&a href=&& target=&_blank& seed=&ajaxAccount-findPWD&&重置登录密码&/a&后登录,或使用&span class=&J-forQRLogin&&扫码登录&/span&。',
&NOT_EXIST&: '该账户不存在或登录密码出错已达上限,请更换账户。',
//海外用户
&OVERSEAS_MOBILE&: '支付宝暂不支持海外手机用户直接登录,请从&a href=&& seed=&ajaxAccount-loginTaobao&&淘宝&/a&入口登录。',
&INVALID_OVERSEAS_MOBILE&: '账户名是电子邮箱或手机号码,国际手机号码请按照852-的格式输入',
//ip地址不安全
&CLIENT_IP_NOT_THE_SAME&: '当前环境可能存在风险,为了您的账户安全,请勿继续操作。',
&MOBILE_ACCOUNT_NEED_QRLOGON&: '钱包注册用户仅限扫码登录',
//余额宝批量开户并认证用户
&YEB_BATCH_IMPORT&: '该账户信息不完整,暂不能登录,请完成&a href=\'\' titile=&激活& target=&_blank&&激活&/a&后再登录。'
};&/script&
&div class=&ui-form-item& id=&J-username&&
&label id=&J-label-user& class=&ui-label& seed=&authcenter-switch-account&&
&span class=&ui-icon ui-icon-userDEF&&账户名:&/span&
&input type=&text& id=&J-input-user& class=&ui-input ui-input-normal& name=&logonId& tabindex=&1& value=&& autocomplete=&off& maxlength=&100& placeholder=&邮箱地址/手机号码& seed=&authcenter-input-account& data-widget-cid=&widget-4& data-explain=&&&
&span class=&sl-delect& seed=&authcenter-account-delete&&&i class=&iconfont& title=&删除&&&/i&&/span&&div class=&ui-form-explain&&&/div&&/div&
&div class=&ui-form-item ui-form-item-20pd& id=&J-password&&
&label id=&J-label-editer& class=&ui-label& data-desc=&登录密码& seed=&authcenter-switch-aliedit&&
&span class=&ui-icon ui-icon-securityON& id=&safeSignCheck&&登录密码&/span&
&div id=&J-label-editer-pop& class=&ui-poptip fn-hide& data-widget-cid=&widget-0& style=&display: position: left: 0 top: -38&&
&div class=&ui-poptip-container&&
&div class=&ui-poptip-arrow ui-poptip-arrow-7&&
&span&&/span&
&div data-role=&content& class=&ui-poptip-content&&点此选择密码控件登录&/div&
&input type=&hidden& name=&superSwitch& value=&true& id=&J-superSwitch&&
&input type=&hidden& name=&noActiveX& value=&false& id=&J-noActiveX&&
&input type=&hidden& name=&passwordSecurityId& value=&web|authcenter_querypwd_login|a92fb685-7b11-48ea-8a25-cefRZ05&&
&input type=&hidden& name=&qrCodeSecurityId& value=&web|authcenter_qrcode_login|30df99bb-ba79-4bb8-b20b-bfRZ05&&
&!-- CMS:cms/entrance/control.vm开始:entrance/control.vm --&
&input style=&display:none& seed=&JPassword-ipt& smartracker=&on&&
&input type=&password& style=&display:none& seed=&JPassword-iptT1& smartracker=&on&&
&span class=&standardPwdContainer& style=&display:none&&
&input type=&password& tabindex=&2& id=&password_input& name=&password_input& class=&ui-input& oncontextmenu=&return false& onpaste=&return false& oncopy=&return false& oncut=&return false& autocomplete=&off& seed=&standardPwdContainer-password_input& smartracker=&on& data-widget-cid=&widget-6& data-explain=&&&
&span class=&alieditContainer& id=&password_container&&&input type=&password& tabindex=&2& id=&password_rsainput& name=&password_rsainput& class=&ui-input i-text& oncontextmenu=&return false& onpaste=&return false& oncopy=&return false& oncut=&return false& autocomplete=&off& value=&&&&/span&
&!-- CMS:cms/common/script_layout.vm开始:common/script_layout.vm --&&!-- CMS:sSnapshot.vm开始:securitycore/common/script_snapshot.vm --&&!-- CMS:sSnapshot.vm结束:securitycore/common/script_snapshot.vm --&
&script type=&text/javascript&&
(function () {
var alipay = window.alipay || (window.alipay = {});
var s = alipay.security = alipay.security || {};
s.downloadServer = && || alipay.security.downloadS
s.securityCenterServer = && || alipay.security.securityCenterS
s.hasBrowserControlPolicy =
s.certDataAccessPolicy = &&;
s.controlCheckTimeout = Number(&3000&);
s.websocketPorts = &&;
s.newCertControlDownloadAddress = &&;
s.sid = &web|authcenter_querypwd_login|a92fb685-7b11-48ea-8a25-cefRZ05&;
&script type=&text/javascript& charset=&utf-8& crossorigin=&anonymous& src=&,alipay.light.page-1.15-sizzle.js,alipay.security.base-1.8.js,alipay.security.utils.chromeExtension-1.1.js,alipay.security.edit-1.22.js,alipay.security.utils.pcClient-1.1.js,alipay.security.cert-1.5.js,alipay.security.otp-1.2.js,alipay.security.mobile-1.7.js,alipay.security.ctuMobile-1.2.js,alipay.security.riskMobileBank-1.3.js,alipay.security.riskMobileAccount-1.3.js,alipay.security.riskMobileCredit-1.2.js,alipay.security.riskCertificate-1.0.js,alipay.security.riskSecurityQa-1.0.js,alipay.security.riskExpressPrivacy-1.0.js,alipay.security.checkCode-1.1.js,alipay.security.rds-1.0.js,alipay.security.barcode-1.1.js,alipay.security.riskOneKeyConfirm-1.2.js,alipay.security.riskSudoku-1.0.js,alipay.security.riskOriginalAccountMobile-1.0.js,alipay.security.riskOriginalSecurityQa-1.0.js,alipay.security.core-1.21.js&&&/script&
&script charset=&utf-8& crossorigin=&anonymous& src=&&&&/script&
light.trackOn =
light.has('page/products') || light.register('page/products');
light.has('page/scProducts') || light.register('page/scProducts', light, []);
alipay.security.utils.chromeExtension.setExtensionId('lapoiohkeidniicbalnfmakkbnpejgbi');&/script&&!-- CMS:cms/common/script_layout.vm结束:common/script_layout.vm --&
&!-- CMS:cms/common/edit_hidn.vm开始:common/edit_hidn.vm --&&input type=&hidden& name=&J_aliedit_using& value=&true&&&input type=&hidden& id=&password& name=&password& value=&& data-widget-cid=&widget-5& data-explain=&&&&input type=&hidden& name=&J_aliedit_key_hidn& value=&password&&&input type=&hidden& name=&J_aliedit_uid_hidn& value=&alieditUid&&&input type=&hidden& id=&alieditUid& name=&alieditUid& value=&b1a99aec9f0e&&&input type=&hidden& name=&REMOTE_PCID_NAME& value=&_seaside_gogo_pcid&&&input type=&hidden& name=&_seaside_gogo_pcid& value=&&&&input type=&hidden& name=&_seaside_gogo_& value=&&&&input type=&hidden& name=&_seaside_gogo_p& value=&&&&input type=&hidden& name=&J_aliedit_prod_type& value=&&&&input type=&hidden& name=&security_activeX_enabled& value=&false&&&input type=&hidden& name=&J_aliedit_net_info& value=&{&pcGateWayMac&:&00-0F-E2-60-55-E0&,&pcWGateWayMac&:&&,&pcWGateWayNearbyInfo&:[{&mac&:&10-0B-A9-EB-B9-21&,&signal&:100,&ssid&:&jason&},{&mac&:&9C-AD-97-DC-47-2B&,&signal&:100,&ssid&:&濡傛灉鎴戞槸涓涓佸叺&},{&mac&:&90-48-9A-F3-40-D3&,&signal&:94,&ssid&:&铓曞疂瀹濆悆涓嶉ケ&},{&mac&:&00-1E-40-9E-68-E1&,&signal&:90,&ssid&:&ChinaNet-kxqW&},{&mac&:&9C-AD-97-DC-29-CF&,&signal&:88,&ssid&:&nicaimima&}],&pcWGateWaySignal&:0,&pcWGateWayWifiName&:&&}&&&input type=&hidden& id=&edit_infor& value=&& render=&R&&&script&
light.node('password').parent().find('[name=security_activeX_enabled]')[0].value = alipay.security.activeXE&/script&&!-- CMS:cms/common/edit_hidn.vm结束:common/edit_hidn.vm --&
&script type=&text/javascript&&
alipay.security.snowden.config({url: '',silent: !true});
alipay.security.snowden.record('web|authcenter_querypwd_login|a92fb685-7b11-48ea-8a25-cefRZ05', {products:'singlePassword'});
&!-- CMS:cms/公共模块/multiPolicyEditScript开始:common/multiPolicyEditScript.vm --&&style type=&text/css&&
input.sixDigitPassword {
opacity: 0;
font-size: 1
-webkit-box-sizing: content-
box-sizing: content-
-webkit-user-select: /* 取消禁用选择页面元素 */
outline: 'none';
margin-left: '-999px';
div.sixDigitPassword {
border: 1px solid #
background: #
width: 100%;
height: 30
-webkit-box-sizing: border-
background:#
div.sixDigitPassword.active {
border-color: rgba(82, 168, 236, 0.8);
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
div.sixDigitPassword i {
background:
padding: 11px 0;
width: 16.1%;
div.sixDigitPassword
i:nth-child(n+2) {
border-left: 1px solid #
div.sixDigitPassword
border-left: 1px solid #cccccc\9;
margin-left: -1px\9;
div.sixDigitPassword b {
visibility:
background-image: url(&&);
.ui-securitycore .ui-form-item-loading .ui-form-explain{
background: url() 0 4px no-repeat !
.ui-securitycore .ui-form-item-error .ui-form-explain, .ui-securitycore .ui-form-item-warn .ui-form-explain, .ui-securitycore .ui-form-item-success .ui-form-explain, .ui-securitycore .ui-form-item-success .ui-form-text, .ui-securitycore-tip .ui-form-explain{
background-image: url( ) !
.ui-securitycore .ui-form-item .ui-form-explain{
margin-top: 8
}&/style&&!-- CMS:cms/common/script_layout.vm开始:common/script_layout.vm --&&!-- CMS:sSnapshot.vm开始:securitycore/common/script_snapshot.vm --&&!-- CMS:sSnapshot.vm结束:securitycore/common/script_snapshot.vm --&&!-- CMS:cms/common/script_layout.vm结束:common/script_layout.vm --&&script type=&text/javascript&&
(function(){
var prop = {
&WMode&: 0,
&PK&: &PYV7wxnFqz1ar0evEZ+3gpPQIGav7lkZ0GprOPMSXvioo3B9gV0JH8y0fzEdabPVndB2QT1Muap5c59sZ7za9VsSamx2id4qnFIrfk+P2bxscZ38y07sI4K15KQazWCYY73YlLNJFpAbQ004dUD87yk3wtC6iXbEXIqm2OsAujBih91ybG+GIS0liobzutW4i5KS8f0XuXCd76ujMeQD+jQaden9eJxriRr9hJWTFR0ZufIHkxm3aq7pFTLd2Ic65ka6Eml4DpsksZYE1u8XPH6CQd0sXjz1pMHe2Pt9e91cvYnb96rDognVA6dR9PEjnA35ZOmgaVNDQqTSZ6zlyyg/2flVtmaVlaTGDqNiilWZjaKOTM1WJRFqX9JMPfD0DraoF43SHO6ZcdmqBIqSBMI6uEUrqTnD2fc2AEqUTpJdMWTPZ/+eW0F37whEI7Men09JnJe6cgkB5HpvNNJP/rYfB5wMwP3lw7+o02EmOLLAC46IWQkRAMOwxq6+t7tTMQxqOfwTrMWouC+Lr2AiokG0tlK51Ipd+CMyGuvApyPzzvbDYdPf5Sn804KnbJFHWDJ7WwBWTBx2V8iP25T0CcbPanG5bIMSt9D9GN/66RBMILkJfWsBnbQel99BlLT+2J6SLHOay+Cyavah7Q7QfcjTFOcIh7UpocfzDUUPF34=&,
&TS&: &MDk3MTMzNTczOTY0&,
&BMode&: {
&DMode&: true,
&ReadOnly&: false,
&MaxLength&: 20
var renderArr = 'R',
sensorArr = 'C2,C1,E,W',
tolerate = true,
options = {
upgrade: '',
id: 'password',
prodType: '',
sid: 'web|authcenter_querypwd_login|a92fb685-7b11-48ea-8a25-cefRZ05'
renderOptions = {
downloadPath: '',
downloadServer: '',
securityCenterServer: '',
container: &password_container&,
id: 'password_rsainput',
hidnId: 'password',
PK: &MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo0z/L+pelCPu6DwDFAY/3ITzesr8lnNmYjHht4XUJvLYYBwvDbHMc8xi9sPK9ohVHIKRVLVmmZ9SdmuWYN9HzCyyZ6kEHx+IDBPnulwjdeN/N0w25mVRhYDWxJ2/1C6cPIuNcISchOQdGKuAC0xR37i/kWH9sjBidAQjageYgQoj1HX81flZaPve75Esue85AHZ0VIurjwx7uEuxvQtvCIUvX1bbF13TIYuTbJbn/LrNHby1Kxp42ggNUjAkYUVSF7SC3UP+YGKruii7Vh1UnJ/rpVhjdt3It8le9px8H4Ltt9N3hzU17rBnFpp2ZnmiZVtlfMvsStY54Fl5cSJVxQIDAQAB&,
TS: &MDk3MTMzNTczOTY0&,
alieditUpgradeVersions: &&,
useSilentInstallation: false,
useKS: true,
tabindex: &2&,
container: &password_container&,
ksk: '5a70c26e-a9a7-4c0b-a309-10fe',
useSixDigitPassword: false
id: &edit_password&,
name: &edit_password&,
hidnId: &password&,
width: &180&,
height: &24&,
tabindex: &2&,
container: &password_container&,
passwordMode: &1&,
timestamp: &&,
pk: &MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDS92pDVyWNT7dzG9zH0opH44z9FayCZTX5iqGUxUjPi667IkyaqrsmDPqKsJp47lJ29lzs+Qv8zjPPdmnxjFteMrfpc4ui24gL1iZnchwX87Ox/+Xrm8HFmKlhmUO9n/QgTT+Nz1RGMEN1+HijvsoAhS0TS8XjSfzRkrwvK2pJQIDAQAB&,
alieditUpgradeVersions: &&
id: &edit_password&,
name: &edit_password&,
hidnId: &password&,
width: &180&,
height: &24&,
tabindex: &2&,
container: &password_container&,
passwordMode: &1&,
timestamp: &&,
pk: &MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDS92pDVyWNT7dzG9zH0opH44z9FayCZTX5iqGUxUjPi667IkyaqrsmDPqKsJp47lJ29lzs+Qv8zjPPdmnxjFteMrfpc4ui24gL1iZnchwX87Ox/+Xrm8HFmKlhmUO9n/QgTT+Nz1RGMEN1+HijvsoAhS0TS8XjSfzRkrwvK2pJQIDAQAB&,
alieditUpgradeVersions: &&,
handler: &light.page&,
prop: light.escapeHTML(light.inspect(prop)),
useKS: true,
ksk: '5a70c26e-a9a7-4c0b-a309-10fe'
sensorOptions = {
websocketPorts: '',
controlCheckTimeout: '3000'
var passwordProduct = new alipay.security.Password(options, renderArr, sensorArr, tolerate, renderOptions, sensorOptions);
passwordProduct.onReady(function () {
light.node(this.renderable ? '#J_edit_prompt_default' : '#J_edit_prompt_noEdit').removeClass('fn-hide');
passwordProduct.onReady(function(){
alipay.security.snowden.report();
if (light.page.scProducts) {
light.page.scProducts.push(passwordProduct);
if (light.page.products) {
light.page.products['password'] = passwordP
alipay.security.useMultiplePolicy =
})()&/script&
第二个问题可以在两个方面处理,1.分批量导入,比如要导入一亿条,那就分批每次导入一万条。2.避免使用缓存以免数据过多内存溢出。个人见解,求前辈指正
怎么那么长啊?安卓怎么那么难呀
刷屏封号删帖
1.无非flash/activeX插件。解读:上面代码里看起来是一堆base64,谁知道换成啥了2.升级配置,联系数据库厂商要求定制。解读:最终总是要写入的。数据库再大还是要写。而且又是注册,得马上写进去,不能等。所以要么写到多个地方,要么升级配置。配置可以直接10块ssd加阵列卡组raid0,速度直逼内存也可以建集群,做到写入多个地方。那依旧是升级配置。
1.activeX2.
限制用户输入的数据长度,前后端验证
改成让用户上传文件的形式
登录百度帐号推荐应用It's important to check in detail
1.kvnoticket's kvno must match kvno in keytab
2.principal name
principal name in ticket must match the principal name in keytab
3.encryption type
If you have run the ktpass correctly the enctype
in ticket and keytab is - for example - DES-CBC-MD5.
ticket's enctype differs from keytab's enctype (one is enctype RC4, the other DES, for example) mod_auth_kerb
will not work! If possible prefer RC4 over DES because the experts say (I am no one) DES is weak.
If you want to kerberize additional hosts you need to create one dummyaccount an run ktpass per kerberized host.
preparing the keytabfile
Copy file c:\temp\berenkeytab from DC ulmo
to the location where it sould reside
on host beren
(/usr/local/apache/conf/http_beren.krb5keytab in our example)
Make /usr/local/apache/conf/http_beren.krb5keytab
readable (chmod 400) for the user that owns the httpd process.
Test if the created keytabfile works on maschine beren using kinit with
loading key from keytabfile:
achim@beren [~]$ kinit -k -t /usr/local/apache/conf/http_beren.krb5keytab HTTP/beren.grolmsnet.de
to test your keytab, the HTTP entry in the Kerberos DB, and
your Kerberos configuration on the web server.
Make sure it's the
right "kinit" if you have installed a separate Kerberos build for use
by mod_auth_kerb.
If this doesn't work then you know it's your
Kerberos config that's the problem and nothing to do with Apache or
the module at all.
mod_auth_kerb
install Apache with DSO support and
as described in INSTALL
Platforms like Solaris or FreeBSD don't ship with GNU-make as default make.
Ensure that your buildprocess of mod_auth_kerb uses GNU-make, because the buildprocess
works properly only when using GNU-make!
Because Windows does not support Kerberos4 I always use option --without-krb4
of mod_auth_kerb's ./configure script to get rid of all Kerberos4 warnings and errors in Apachelog.
edit the Apache httpd.conf file to make mod_auth_kerb use your Kerberos setup.
the following example makes an Alias topsecret to be accessable by GSSAPI-based authenticaion only.
Alias /topsecret/ "/home/achim/testwebroot/"
&Directory "/home/achim/testwebroot/"&
KrbAuthRealms GROLMSNET.DE
KrbServiceName HTTP
Krb5Keytab /usr/local/apache/conf/http_beren.krb5keytab
KrbMethodNegotiate on
KrbMethodK5Passwd off
require valid-user
&/Directory&
There is no need to use
directives, feel free to use
files or whatever you like.
KrbMethodNegotiate
controls if your Apache uses Negotiate GSSAPI Keberos authentication.
Set this to on, that's the SSO we want to use :-)
KrbMethodK5Passwd
controls if your webserver uses BasicAuth with KDC as userdatabase.
I always set this to off to get rid of annoying messages in Apache errorlog
during debugging sessions. In a productive environment you can set it to on to allow non-kerberized webbrowser authenticate by BasicAuth (against KDC acting as userdatabase instead of passwd file)
for full description of mod_auth_kerb configuration.
Internet Exploder
Login to Workstation luthien using an account of domain GROLMSNET.DE
Turn on &Windows Integrated Authentification& in Internet Explorer.
Make sure that webservers DNS domain (grolmsnet.de in our example) is listed in
IE's local intranet site section as described in
Use Internet Exploder to access
http://beren.grolmsnet.de/topsecret/
Don't try to access the webserver via it's IP-address http://192.168.100.1 because
FQDN used in URL http://beren.grolmsnet.de used in the browser must match the canonical hostname used in ktpass!
It should work now!
use the Apache error_log to find out what is going wrong.
Don't forget to adjust the Apache
in httpd.conf to debug to see ALL error and debugmessages!
use the eventlog of luthien
to find out what is going wrong
for debugging on Windows 2000 workstation.
Kerberos eventlogging in Windows can be activated using HOWTO
Double principal mapping
ktpass nor setspn do a check if a principal is already in use. Mapping a principal to two AD-accounts will stop the DC sending host tickets.
In this case kvno (kgetcred on Heimdal) will print errormessages of kind ".. not found in database...".
use setspn -q principalname to search for all accounts the principal is mapped
usesetspn -d principalname wrongaccountname to remove the wrong mapping
NT 4.0 accountsUseraccounts that are not created in Active Directory but were migrated from a predecessor NT 4.0 domain
have no Kerberos key (because the key is created from cleartext-password). When changing the password the first time in AD the Kerberos key is created.
So changing the account's password and waiting for AD replicating the data to the KDC you want to authenticate to helps.
Additional readings and ressources
(Microsoft)
(Achim Grolms)
, another mod_auth_kerb HOWTO from Scott Lowe's Blog
from Dan Perry is a tool which you can use on your Unix box to create a keytab.With it there is no need to use ktpass nor copying keytabs around.
update of ktpass.exe
You receive pre-authentication errors when you use keytab files that are generated by using the Ktpass.exe tool on a Windows Server 2003 SP1-based computer
Mailinglists
Mailinglist and List archive
Advanced topics
(Achim Grolms)
Many thanks to
Harald J&rg, who contributed the Kerberos knowledge.
Christopher Odenbach, corrector.
Jari Ahonen, corrector
Karsten K&nne, KDE and Konqueror
Pete Rotheroe, who contributed the Windows 2003 testing and knowledge
Bartosz Radaczyński helped with the kvno stuff
Volker Wiedmer helped with Windows infrastructure
Henry B. Hotz gave advice to add the kinit -t test (7.c),
Safari-config
Stefan Kanthak checked and corrected the links
Yves Martin added Subversion to "clients" section
Markus Moeller added the RC4-enctype related stuff and msktutil
Francis Giraldeau helped to correct the -mapuser option
Bj&rn Klages helped debugging double mapping with setspn
Author: Achim Grolms.
Feel free to send me corrections and feedback!
last update}

我要回帖

更多关于 auth user 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信