Dear:

Wechat group "Apache Linkis(incubating)  community Development group "chat 
records are as follows:  微信群"Apache Linkis(incubating)  社区开发群"的聊天记录如下:

 -- -- -- 2022-11-2 -- -- -- -


Trees. 17:19


Does anyone know that I created a user from dss workspace management and how to 
log in and there is no place to set a password when I created it




Mr. Flash 17:20


ldap access Failed




Trees. 17:22


No, I'm looking for the document to see how to access




-- -- -- 2022-11-3 -- -- -- -


Trees. 11:21


Big guy I have access to ldap Where is the documentation for subsequent 
operations not found such as how to log in




Mr. Flash 11:24


Do you want to create a new user?




Trees. 11:24


For the




Mr. Flash at 11:25


DSS in doc




Mr. Flash at 11:25


It's still a little bit complicated




Trees. 11:27


It's just that I created the user following this process but ldap doesn't seem 
to be creating the user synchronously so let's see




Mr. Flash at 11:28


The idea is something like this




Mr. Flash 11:29


Configure the ldap address, port, and dn on the dss.


You also need to configure an administrator so that you can create new users in 
ldap.




Mr. Flash 11:29


Then create an ldap user in system-level user management to synchronize the ldap




Mr. Flash 11:30


The system administrator, who does not provide a configuration item by default, 
can modify the code as instructed or add the item himself




Trees. 11:30


Am I configured these two items now enough




Mr. Flash at 11:31


Not enough




Mr. Flash at 11:31


The administrator does not




Trees. 11:32


Do you mean linkis or ldap administrator




Mr. Flash at 11:32


The ldap administrator




Trees. 11:33


There are no configuration instructions for this




Mr. Flash 11:33


You know the configuration items without looking at the code




Trees. 11:37


Okay, so this document needs to be improved in the future, otherwise we're a 
little bit blind.




Trees. 11:37


Thank you for your bosses




Mr. Flash 11:38


The dss project




Trees. 11:41


linkis document login instructions there are not complete




Mr. Flash 11:42


You can get a pr to fix it




peacewong@WDS  11:42


This seems to be from DSS, which needs to be supplemented




Trees. 11:43


Well, let me raise an issue




Jack  12:10


@ trees. [bared teeth] Just put a pr on the website




Trees. 12:14


Is it mentioned in the documentation project of dss




Trees. 14:24


Let me ask again I am super administrator hadoop user but why can't I see the 
function of this admin desk only add users in workspace management but the two 
request interfaces are different workspace management new users will not go to 
ldap to add users




Mr. Flash 14:24


The super administrator may add system-level users by clicking on the top dss 
logo




Trees. 14:25


Yeah, that's the right entrance. [Lol]




Mr. Flash 14:25


Click here




Trees. 14:26


Well come in




Mr. Flash 14:26


If you are interested in this, please ask pr to fix it...




Mr. Flash 14:26


It's really hard to find




Trees. 14:29


ok




Trees. 14:33


There's also a problem with the password verification the front end is checked 
but the back end is not checked and the message is not obvious only an error




Mr. Flash 14:51


A little bit of caution here, are you ldap logged in?




Mr. Flash 14:52


The main thing to note here is that the format of your new user must be the 
same as the format of the logged user




Mr. Flash 14:52


The default code is registered with a gid




Trees. 14:54


I see in the code of ladp, the dn is taken according to the url, so it is not 
possible to match only one ldap://127.0.0.1:389/




Mr. Flash 14:55


Line...




Trees. 14:57


This is where the error was made




Mr. Flash 14:57


admin is clearly wrong




Mr. Flash 14:58


You need to be able to log in properly on the ldap admin interface before 
coming here to test




Trees. 14:59


ldap user? This is my ldap login password




Trees. 15:03


Which parameter are you talking about, big guy




Mr. Flash 15:03


So if you log in to ldap, you will be admin?




Mr. Flash 15:03


Isn't cn=admin




Jack  15:16


You can get the ldap code for linkis and copy it and make a new project in java




Trees. 15:26


My ldap login is root




Trees. 15:27


Looking at your picture, I think my base.dn configuration is wrong. I will try 
again after I am busy




Mr. Flash 15:31


consult




Trees. 16:28


There is no problem to check whether the ldap user exists but the new user 
failed




Mr. Flash 16:29


This is the configuration file




Mr. Flash 16:29


The configured format is different from the actual one




Trees. 16:31


@utopianet_ Guangyin credit card _ Big guy Zhang Huajin help me see if my 
format is right?




Trees. 16:32


wds.dss.ldap.admin.name=cn=root,dc=zdww,dc=com


wds.dss.ldap.admin.password=zdww2022


WDS. DSS. The ldap url = ldap: / / 10.18. XXX. XXX: 389 /


wds.dss.ldap.base.dn=ou=user,dc=zdww,dc=com




Mr. Flash 16:34


The linkis gateway configuration file contains a format configuration




Trees. 16:36


Am I not configured here




Mr. Flash 16:37


You can't log in without the configuration




Trees. 16:38


Can you help me with one of your configurations




Mr. Flash 16:38


I use the cn




Mr. Flash 16:38


I've changed the code to the new gid




Trees. 16:46


Is this the change?




Mr. Flash 16:46


Yeah, I removed the uid




Trees. 16:47


Is it just to delete? Is there any other change




Trees. 16:48


Does the Subcontext need to remove the uid?




Trees. 16:48


@utopianet_ Canton Bank credit card _ Joaquin




Mr. Flash 16:50


I use cn




Trees. 16:50


Okay, I'll try.




Mr. Flash 16:50


As you




Mr. Flash 16:50


As long as the same




Trees. 17:09


@utopianet_ Bank credit card _ Zhang Huajin looks like I should have no problem 
with this format or report verification can not [facepad] What configuration 
does ldap need?




Mr. Flash 17:10


You go to ldap and set up a user




Mr. Flash 17:10


So check it out




Mr. Flash 17:11


Test login first and then new




Trees. 17:11


I know the cn is not the user that I created but the cn that ldap already 
exists?




Trees. 17:14


This is my ldap structure boss and let's see if my Linkis configuration is 
correct




Mr. Flash 17:16


You create a user under the ou




Trees. 17:27


Ok, I'll try later

—————  2022-11-2  —————

乔木。  17:19

有哪位大佬知道  我从dss工作空间管理创建一个用户  改怎么登录呀   创建的时候也没有一个设置密码的地方呀




闪电先生  17:20

接入ldap没有




乔木。  17:22

没有     我找文档看下怎么接入的




—————  2022-11-3  —————

乔木。  11:21

大佬  我已经接入了ldap  后续的操作文档在哪呢  没找到呢  比如怎么登录




闪电先生  11:24

dss doc里面有 你是要新建用户?




乔木。  11:24

对的




闪电先生  11:25

dss doc里面




闪电先生  11:25

操作还是有点复杂




乔木。  11:27

就是 我按照这个流程   创建了用户  但是ldap好像没有同步创建用户  我再看看




闪电先生  11:28

原理大概是这样的




闪电先生  11:29

在dss这边配置ldap的地址,端口,dn等信息。

还需要配置一个管理员,这样就有权限新建用户在ldap了。




闪电先生  11:29

接着在系统级别用户管理里面新建ldap用户,就会同步过ldap




闪电先生  11:30

那个系统管理员,默认没有提供配置项,可以根据指引修改代码或者自行添加配置项




乔木。  11:30

我现在是配置了这两项  够了吗




闪电先生  11:31

不够




闪电先生  11:31

管理员没有




乔木。  11:32

你说的管理员是linkis的还是ldap的




闪电先生  11:32

ldap管理员




乔木。  11:33

这个没有配置说明么




闪电先生  11:33

没有 看一下代码可以知道配置项




乔木。  11:37

好的   那这块文档后续还需要完善一下   不然我们小白有点抓瞎[捂脸]




乔木。  11:37

谢谢大佬




闪电先生  11:38

[悠闲]那个dss项目




乔木。  11:41

linkis文档 登录说明那里不全




闪电先生  11:42

[悠闲]可以提个pr修一下




peacewong@WDS  11:42

这看是DSS那边的,是需要补充下




乔木。  11:43

嗯  我提一个issue




Jack  12:10

@乔木。 [呲牙] 直接提个pr 到website呗




乔木。  12:14

是提到dss的文档工程里吗




乔木。  14:24

  我再问下  我是超级管理员hadoop用户   但是为啥看不到这个管理台的功能呀   只有在工作空间管理里新增用户   但是这两个请求接口不一样  
工作空间管理新增用户不会去ldap新增用户




闪电先生  14:24

超级管理员 可能添加系统级别的用户,点一个最上面的dss的logo




乔木。  14:25

嗯嗯  这下对了    这个入口[Lol]




闪电先生  14:25

点这里




乔木。  14:26

嗯 进来了




闪电先生  14:26

这个有兴趣 可以提pr修一下……




闪电先生  14:26

确实是不好找的




乔木。  14:29

ok




乔木。  14:33

这个密码校验也有问题  前端校验过了 后端没过  而且提示不明显  只有一个error




闪电先生  14:51

这里要注意一下,你是ldap登陆吗?




闪电先生  14:52

这里主要是注意的是你新建的用户的格式和登陆的用户格式必须要一样




闪电先生  14:52

默认的代码 注册上去是用的gid




乔木。  14:54

大佬 你那个ldap的url是怎么配的   我看ladp的代码里这里是根据url取的dn 所以只配一个ldap://127.0.0.1:389/应该是不行的




闪电先生  14:55

行……




乔木。  14:57

这里就报错了




闪电先生  14:57

admin明显错了




闪电先生  14:58

你要能够在ldap管理界面正常登陆 再过来这里测试




乔木。  14:59

ldap的用户吗? 我在ldap登录就是这个账号密码呀




乔木。  15:03

大佬你是说的哪个参数




闪电先生  15:03

那你登陆ldap就是admin?




闪电先生  15:03

难道不是cn=admin




Jack  15:16

可以找到linkis 的ldap代码 拷贝出来 用java新建个项目调一下




乔木。  15:26

我ldap登录的是root




乔木。  15:27

看你的图片,应该我base.dn配置的不对,我忙完了再试一下




闪电先生  15:31

参考一下




乔木。  16:28

去ldap查询是否是否存在没问题了  但是新增用户失败了




闪电先生  16:29

这个是配置文件




闪电先生  16:29

配置的格式和实际不一致




乔木。  16:31

@utopianet_广银信用卡_张华金 大佬帮我看下我这个格式对吗?




乔木。  16:32

wds.dss.ldap.admin.name=cn=root,dc=zdww,dc=com

wds.dss.ldap.admin.password=zdww2022

wds.dss.ldap.url=ldap://10.18.xxx.xxx:389/

wds.dss.ldap.base.dn=ou=user,dc=zdww,dc=com




闪电先生  16:34

linkis gateway配置文件里面有一个格式配置




乔木。  16:36

  是这里我没有配置吗




闪电先生  16:37

不配置 登陆不了




乔木。  16:38

能帮忙给一个你的配置吗




闪电先生  16:38

我用的cn




闪电先生  16:38

我改了代码 代码新建用的gid




乔木。  16:46

改动是这里吗?




闪电先生  16:46

对 我把uid删除了




乔木。  16:47

只是删除吗 还有没有改其他的




乔木。  16:48

这个Subcontext还需不需要去掉uid呢?




乔木。  16:48

@utopianet_广银信用卡_张华金 




闪电先生  16:50

我用cn




乔木。  16:50

好的 我试试




闪电先生  16:50

随你




闪电先生  16:50

只要一致




乔木。  17:09

@utopianet_广银信用卡_张华金  看样子我这个format应该没问题呀   还是报校验不过呢[捂脸] ldap需要什么配置吗?




闪电先生  17:10

你去ldap那边建立一个用户




闪电先生  17:10

来登陆看看




闪电先生  17:11

先测登陆再测新建




乔木。  17:11

我知道了 应该cn不对  cn不应该是我创建的用户吧  而是ldap已经存在的cn?




乔木。  17:14

这个是我ldap的结构  大佬看看我的Linkis配置对不对




闪电先生  17:16

你在ou下面建立一个用户




乔木。  17:27

好的,我一会儿试试



















--

Best Regards
------
康悦 ritakang 
GitHub:Ritakang0451
E-mail:rita0...@163.com

Reply via email to