• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • WINDOWS2000服務器賬號登陸身份驗證

    發表于:2007-07-14來源:作者:點擊數: 標簽:
    % userflag=trim(request("userflag")) oldPwd=trim(request("oldPwd")) newPwd=trim(request("newPwd")) '修改內部網和郵箱的密碼 adsPath = "LDAP://file/cn=" userflag ",cn=users,dc=yulong,dc=com" Set oo = GetObject("LDAP:") on error resume next S
    <%
    userflag=trim(request("userflag"))
    oldPwd=trim(request("oldPwd"))
    newPwd=trim(request("newPwd"))

    '修改內部網和郵箱的密碼
    adsPath = "LDAP://file/cn=" & userflag & ",cn=users,dc=yulong,dc=com"
    Set oo = GetObject("LDAP:")
    on error resume next
    Set obj = oo.OpenDSObject(adsPath,userflag,oldPwd,0)
    if err.Number <> o then
    err.clear
    %>
    <script language="javascript">
    alert("用戶名或密碼錯,請重新輸入!");
    history.go(-1);
    </script>
    <%
    else
    'Response.Write "newPwd=" & newPwd
    obj.SetPassword newPwd
    'Response.Write "<hr>"
    Response.Write("<div class=aa>你已經成功修改了網絡密碼!</div>")
    end if
    %>


    //基本上只需改dc=yulong,dc=com這地方,改成自己的域


    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>