Comments (17)
admin/secret 是LDAP的管理账户,并不能登录opscloud !
默认的管理员是admin/密码在 server.properties/admin.passwd=xxx
新用户可以在opscloud用户管理中创建
from opscloud4.
server.properties
# 管理员密码为空,则走ldap认证;
# DN:cn=admin,ou=users,ou=system(此DN为模版中默认,如果修改了则按配置)
admin.passwd=
from opscloud4.
server.properties
# 管理员密码为空,则走ldap认证,DN:cn=admin,ou=users,ou=system(此DN为模版中默认,如果修改了则按配置) admin.passwd=
from opscloud4.
我当时配了admin.passwd但是还是走到了ldap,提示内部错误
from opscloud4.
from opscloud4.
把# 去掉,否则配置不生效
我看了下源码,
先走ldap认证,如果认证失败则判断是否为admin,然后比对配置文件中的密码
from opscloud4.
那个#注释掉的在下面有 按说应该生效 现在遇到个奇葩问题 我的tomcat日志不打印日志了= = 我把logs下的日志给删了 重新生成的日志文件不记录你的error日志了
from opscloud4.
先用内置账户admin登录(密码可以配置成opscloud)
登录后在用户管理中创建个人账户(此账户会同步到ldap),然后在 “权限管理”-“用户管理“给自己添加admin角色,最后退出admin用个人账户登录系统
from opscloud4.
关键是现在用admin/opscloud登录不上去 opscloud是配的admin.passwd
from opscloud4.
有详细日志么?
或把ldap相关配置留空(你安装的是apacheDS?),重启tomcat再尝试登录
from opscloud4.
是用的apacheDS 如果不想用ldap做登录验证的话是需要把ldap相关配置留空 而不是注释掉吗?
from opscloud4.
对只能留空不能注释
from opscloud4.
from opscloud4.
ldap配置要留着,可以是错误的配置
from opscloud4.
所有的ldap前缀配置都要保留 而不是留空吗
from opscloud4.
是的,你可以用模版的配置或你修改后的,反正认证失败就会走本地认证。
如有需要可以进QQ群:630913972提问
from opscloud4.
ldap配置走不通也没有走普通认证 现在我给了一个错误的ldap admin的密码 现在提示
当你走到哪一步才会去验证admin.passwd呢
from opscloud4.
Related Issues (20)
- V4.0.4前端不能接入zabbix数据源 HOT 3
- 关于k8s的pod容器终端无法登录问题 HOT 12
- V4.0.4不支持AWS HOT 8
- 资产订阅有用例吗? HOT 9
- 服务器批量登入不了 HOT 18
- 默认用户名密码是什么 HOT 6
- 部署时发现redis地址写死这个能配置吗,而且也发现注册失败,编译部署和下载jar试过都报错 HOT 57
- 创建用户或者凭证报的加密错误,请问这个要怎么处理 HOT 6
- 工作台的ssh 无法登陆主机 HOT 7
- 数据源管理:prometheus 这个数据源功能是不是还没有开发完成? HOT 1
- It will be better to support upload file. HOT 1
- 协议的端口号可否能自定义一下 HOT 3
- 大佬好 HOT 2
- 前端工程 HOT 3
- 已知漏洞的依赖库(snakeyml)安全漏洞 HOT 1
- 大佬好,角色权限这块数据库的数据是清理了一些吗 HOT 9
- 前端登录otp access code怎么配置 HOT 1
- 大佬有时间再更新下sql文件呗 HOT 2
- 4.2.0 SQL
- 您好,方便更新下前端工程吗,现在仓库中的前端工程和后端工程严重不匹配 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opscloud4.