studio 工号ldap认证登陆界面空白

Viewed 14

背景

1、doris已成功对接ldap域账号,使用命令行可以登陆doris,并且权限正常
image.png
2、使用非工号的域账号(xxx_xxxx_api)可以正常登陆doris
3、版本doris 3.0.8;manager:25.1.1

现象:

1、使用工号的域账号(例如:003968)登陆doris时,界面空白且无明显报错
image.png
studio日志报错账号不存在
2025-09-23 15:43:15.380 [http-nio-32520-exec-9] ERROR com.selectdb.cloud.studio.common.rest.RestApiExceptionHandler - Unexpected exception
java.sql.SQLException: errCode = 2, detailMessage = User: '003968'@'10.204.51.201' does not exist

2、studio创建用户的时候提示必须以字母开头
image.png

疑问

studio是否能兼容这种工号的域账号,或者在ldap拿用户名[ldap_user_filter = (&(uid={login}))]的时候添加统一字符作为用户名(例如xx003968)

1 Answers

需要在manager.conf 加上 WEBUI_ENABLE_LDAP_AUTH=true,然后重启 studio