主题: 0.7版的iredadmin登录报错?

是自带的0.1.4版本的,之前在login的时候直接报internal server error安装web-py后能登不,但是点击功能之后还是报internal server error,打开iredadmin的setting.ini的debug之后网页显示如下:ldap.INVALID_CREDENTIALS at /admins{'info': '', 'desc': 'Invalid credentials'}Python     /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in _ldap_call, line 95Web     GET https://192.168.200.166/iredadmin/adminsTraceback (innermost first)    /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in _ldap_call        result = func(*args,**kwargs) ...    ▶ Local vars    /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in result3        ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) ...    ▶ Local vars    /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in result2        res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) ...    ▶ Local vars    /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in result        res_type,res_data,res_msgid = self.result2(msgid,all,timeout) ...    ▶ Local vars    /usr/lib64/python2.4/site-packages/ldap/ldapobject.py in bind_s        return self.result(msgid,all=1,timeout=self.timeout) ...    ▶ Local vars    /var/www/iredadmin/libs/ldaplib/core.py in __init__        self.conn.bind_s(cfg.ldap.get('bind_dn'), cfg.ldap.get('bind_pw')) ...    ▶ Local vars    /var/www/iredadmin/controllers/ldap/admin.py in GET        adminLib = admin.Admin() ...    ▶ Local vars    /var/www/iredadmin/controllers/base.py in proxyfunc        return func(self, *args, **kw) ...    ▶ Local vars    /var/www/iredadmin/controllers/base.py in proxyfunc        return func(self, *args, **kw) ...    ▶ Local vars    /usr/lib/python2.4/site-packages/web/application.py in handle_class        return tocall(*args) ...    ▶ Local vars    /usr/lib/python2.4/site-packages/web/application.py in _delegate        return handle_class(cls) ...    ▶ Local vars    /usr/lib/python2.4/site-packages/web/application.py in handle        return self._delegate(fn, self.fvars, args) ...    ▶ Local vars    /usr/lib/python2.4/site-packages/web/application.py in process        return self.handle() ...    ▶ Local varsRequest informationINPUTNo data.COOKIESVariable    ValueiRedAdmin    'dcd27a09e461888813aa4501f02a40169509c6af'METAVariable    Valueapp_stack    [<web.application.application instance at 0x2b39c8b12878>]fullpath    u'/admins'headers    []home    u'https://192.168.200.166/iredadmin'homedomain    u'https://192.168.200.166'homepath    u'/iredadmin'host    u'192.168.200.166'ip    u'192.168.201.197'lang    'en_US'method    u'GET'output    u''path    u'/admins'protocol    u'https'query    u''realhome    u'https://192.168.200.166/iredadmin'status    '200 OK'ENVIRONMENTVariable    ValueDOCUMENT_ROOT    '/var/www/html'GATEWAY_INTERFACE    'CGI/1.1'HTTPS    '1'HTTP_ACCEPT    'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'HTTP_ACCEPT_CHARSET    'GB2312,utf-8;q=0.7,*;q=0.7'HTTP_ACCEPT_ENCODING    'gzip, deflate'HTTP_ACCEPT_LANGUAGE    'zh-cn,zh;q=0.5'HTTP_CONNECTION    'keep-alive'HTTP_COOKIE    'iRedAdmin=dcd27a09e461888813aa4501f02a40169509c6af'HTTP_HOST    '192.168.200.166'HTTP_REFERER    'https://192.168.200.166/iredadmin/dashboard'HTTP_USER_AGENT    'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2'PATH_INFO    '/admins'PATH_TRANSLATED    '/var/www/html/admins'QUERY_STRING    ''REMOTE_ADDR    '192.168.201.197'REMOTE_PORT    '52145'REQUEST_METHOD    'GET'REQUEST_URI    '/iredadmin/admins'SCRIPT_FILENAME    '/var/www/iredadmin/iredadmin.py'SCRIPT_NAME    '/iredadmin'SERVER_ADDR    '192.168.200.166'SERVER_ADMIN    'root@localhost'SERVER_NAME    '192.168.200.166'SERVER_PORT    '443'SERVER_PROTOCOL    'HTTP/1.1'SERVER_SIGNATURE    '<address>Apache Server at <a href=

回复: 0.7版的iredadmin登录报错?

查下bind_dn 和bind password 一iRedmail.tips的mail admin是一致的

回复: 0.7版的iredadmin登录报错?

已经解决 sorry 确实是因为bind_dn 和bind password有问题,因为这台机的ldap库从另外一台导了过来把原本的pass改了