登录校园网报错“auth server timeout”怎么办? 登录校园网时出现 ldap auth error ,之前登录...
\u767b\u5f55\u6821\u56ed\u7f51\u62a5\u9519auth server timeout\u662f\u4ec0\u4e48\u60c5\u51b5\u201cauth server timeout\u201d\u7684\u610f\u601d\u662f\uff1a\u8eab\u4efd\u9a8c\u8bc1\u670d\u52a1\u5668\u8d85\u65f6\u3002
\u4e00\u822c\u9020\u6210\u8fd9\u79cd\u60c5\u51b5\u7684\u539f\u56e0\u6709\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a
\uff081\uff09\u7f51\u901f\u6162\u3001\u4f7f\u7528\u7684\u4eba\u591a\uff0c\u90fd\u4f1a\u8fd9\u6837\uff1b
\uff082\uff09\u5b66\u6821\u9650\u5236\u665a\u4e0a\u65ad\u7f51\uff1b
\uff083\uff09\u5bbd\u5e26\u5347\u7ea7\u8fd8\u662f\u5bbd\u5e26\u7ef4\u4fee\uff1b
\u89e3\u51b3\u65b9\u6cd5\uff1a
\uff081\uff09\u5728\u624b\u673a\u4e0a\u5220\u9664\u8fd9\u4e2a\u7f51\u7edc\uff0c\u91cd\u65b0\u641c\u7d22\u6216\u624b\u52a8\u6dfb\u52a0\u3002
\uff082\uff09\u5411\u6821\u56ed\u7f51\u7ba1\u7406\u5458\u4e86\u89e3\u8be2\u95ee\u3002
\uff083\uff09\u7b49\u5f85\u76f8\u5e94\u7684\u65f6\u95f4\uff0c\u82e5\u8fd8\u4e0d\u80fd\u8fde\u63a5\u53ef\u91cd\u542f\u7535\u8111\u6216\u624b\u673a\u3002
\u6821\u56ed\u7f51\u662f\u4e3a\u5b66\u6821\u5e08\u751f\u63d0\u4f9b\u6559\u5b66\u3001\u79d1\u7814\u548c\u7efc\u5408\u4fe1\u606f\u670d\u52a1\u7684\u5bbd\u5e26\u591a\u5a92\u4f53\u7f51\u7edc\u3002\u9996\u5148\uff0c\u6821\u56ed\u7f51\u5e94\u4e3a\u5b66\u6821\u6559\u5b66\u3001\u79d1\u7814\u63d0\u4f9b\u5148\u8fdb\u7684\u4fe1\u606f\u5316\u6559\u5b66\u73af\u5883\u3002\u8fd9\u5c31\u8981\u6c42\uff1a\u6821\u56ed\u7f51\u662f\u4e00\u4e2a\u5bbd\u5e26 \u3001\u5177\u6709\u4ea4\u4e92\u529f\u80fd\u548c\u4e13\u4e1a\u6027\u5f88\u5f3a\u7684\u5c40\u57df\u7f51\u7edc\u3002
\u591a\u5a92\u4f53\u6559\u5b66\u8f6f\u4ef6\u5f00\u53d1\u5e73\u53f0\u3001\u591a\u5a92\u4f53\u6f14\u793a\u6559\u5ba4\u3001\u6559\u5e08\u5907\u8bfe\u7cfb\u7edf\u3001\u7535\u5b50\u9605\u89c8\u5ba4\u4ee5\u53ca\u6559\u5b66\u3001\u8003\u8bd5\u8d44\u6599\u5e93\u7b49\uff0c\u90fd\u53ef\u4ee5\u5728\u8be5\u7f51\u7edc\u4e0a\u8fd0\u884c\u3002\u5982\u679c\u4e00\u6240\u5b66\u6821\u5305\u62ec\u591a\u4e2a\u4e13\u4e1a\u5b66\u79d1\uff08\u6216\u591a\u4e2a\u7cfb\uff09\uff0c\u4e5f\u53ef\u4ee5\u5f62\u6210\u591a\u4e2a\u5c40\u57df\u7f51\u7edc\uff0c\u5e76\u901a\u8fc7\u6709\u7ebf\u6216\u65e0\u7ebf\u65b9\u5f0f\u8fde\u63a5\u8d77\u6765\u3002\u5176\u6b21\uff0c\u6821\u56ed\u7f51\u5e94\u5177\u6709\u6559\u52a1\u3001\u884c\u653f\u548c\u603b\u52a1\u7ba1\u7406\u529f\u80fd\u3002
\u6821\u56ed\u7f51\u662f\u4e00\u4e2a\u57fa\u4e8e\u6821\u56ed\u5b66\u4e60\u3001\u751f\u6d3b\u3001\u5a31\u4e50\u3001\u6e38\u620f\u3001\u521b\u4e1a\u4e3a\u4e3b\u9898\u7684SNS\u7f51\u7edc\u5e73\u53f0\uff0c\u662f\u6574\u5408\u57fa\u4e8e\u535a\u5ba2\u3001\u7a7a\u95f4\u3001\u793e\u533a\u8bba\u575b\u3001\u6821\u53cb\u5f55\u3001\u7fa4\u7ec4\u3001\u8bdd\u9898\u3001\u76f8\u518c\u3001\u97f3\u4e50\u3001WEB \u6e38\u620f\u3001\u7f51\u7edc\u6559\u5b66\u3001P2P\u3001\u6d41\u5a92\u4f53\u3001\u5a01\u5ba2\u7b49\u4f17\u591aweb2.0\u5e94\u7528\u4e8e\u4e00\u4f53\u7684\u5f00\u653eWEB\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5e76\u91c7\u7528\u6700\u5148\u8fdb\u7684WEB\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\u6280\u672f\u5b9e\u73b0\u3002
\u4f60\u53ef\u80fd\u8981\u91c7\u53d6\u7684LDAP\u8fde\u63a5\u8fc7\u7a0b\uff0c\u5bfb\u627e\u5230\u5b83\u505c\u6b62/\u5931\u8d25\uff1a
first is ldap_connect(),\u9996\u5148\u662fldap_connect\uff08\uff09\uff0c
then some ldap_set_option() to konfigure ldap client to match server type/configuration.\u7136\u540e\u4e00\u4e9bldap_set_option\uff08\uff09\u6765konfigure LDAP\u5ba2\u6237\u7aef\u4ee5\u5339\u914d\u670d\u52a1\u5668\u7c7b\u578b/\u914d\u7f6e\u3002
Then ldap_bind().\u7136\u540eldap_bind\uff08\uff09\u3002 When ldap_bind is successfull you can get data/entries from ldap with\u5f53ldap_bind\u6210\u529f\uff0c\u60a8\u53ef\u4ee5\u4eceLDAP\u6570\u636e/\u6761\u76ee
ldap_list() - scope "one", ldap_read() - scope "base", ldap_search - scope "sub" ldap_list\uff08\uff09 - \u9002\u7528\u8303\u56f4\u201c\u4e00\u201d\uff0cldap_read\uff08\uff09 - \u8303\u56f4\u201c\u57fa\u5730\u201d\uff0cldap_search - \u8303\u56f4\u201c\u5206\u201d
ldap_get_entries() returns the searchresult as an array. ldap_get_entries\uff08\uff09\u8fd4\u56de\u4e00\u4e2a\u6570\u7ec4SearchResult\u4e2d\u3002
To print a variable you can do like this:\u8981\u6253\u5370\u4e00\u4e2a\u53d8\u91cf\uff0c\u4f60\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a
edit kernel/common/classes/datatypes/ezuser/ezldapuser.php\u7f16\u8f91\u5185\u6838/\u666e\u901a/\u73ed\u7ea7/\u6570\u636e\u7c7b\u578b/ ezuser / ezldapuser.php
You may want to view the $info-variable,\u60a8\u53ef\u80fd\u60f3\u8981\u67e5\u770b$\u4fe1\u606f\u53d8\u91cf\uff0c
find the line: $info = ldap_get_entries( $ds, $sr ) ;\u627e\u5230\u8fd9\u884c\uff1a$\u4fe1\u606f= ldap_get_entries\uff08$\u526f\u79d8\u4e66\u957f\uff0c$\u9ad8\u7ea7\uff09;
then insert a line under with:\u7136\u540e\u63d2\u5165\u4e00\u4e2a\u4e0e\u7ebf\u4e0b\uff1a
echo ""; print_r( $sr ); echo ""; exit;\u56de\u58f0\u201c\u201d; print_r\uff08$\u9ad8\u7ea7\uff09;\u56de\u58f0\u201c\u201d;\u51fa\u53e3;
Try to login and you will see what values this variable contains.\u5c1d\u8bd5\u767b\u5f55\uff0c\u4f60\u4f1a\u770b\u5230\u8fd9\u4e2a\u53d8\u91cf\u5305\u542b\u54ea\u4e9b\u503c\u3002
If it's empty, you should check out the earlier stages of ldap connection process, by printing variables in the same manner as the example.\u5982\u679c\u5b83\u662f\u7a7a\u7684\uff0c\u4f60\u5e94\u8be5\u68c0\u67e5\u7684LDAP\u8fde\u63a5\u8fc7\u7a0b\u7684\u65e9\u671f\u9636\u6bb5\uff0c\u901a\u8fc7\u6253\u5370\u5728\u76f8\u540c\u7684\u65b9\u5f0f\u4e3a\u5b9e\u4f8b\u53d8\u91cf\u3002
报错原因:
网速慢、使用的人多,都会这样;
学校限制晚上断网;
宽带升级还是宽带维修;
解决方案:
在手机上删除这个网络,重新搜索或手动添加;
向校园网管理员了解询问;
等待相应的时间,若还不能连接可重启电脑或手机;
扩展阅读:国开在线登录入口 ... one ouchncn登录 ... ouchn国家开放大学官网 ... vcruntime140 ... steam118 ... internet explorer浏览器 ... internet explorer11 ... 电大一网一平台登录首页 ... auth server timeout ...