Dear: Wechat group "Apache Linkis(incubating) community Development group "chat records are as follows: 微信群"Apache Linkis(incubating) 社区开发群"的聊天记录如下:
————— 2022-11-3 ————— The tree. 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/ The tree. 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 The tree. 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 The tree. 15:26 My ldap login is root The tree. 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 For reference The tree. 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 The tree. 16:31 @utopianet_ Guangyin credit card _ Big guy Zhang Huajin help me see if my format is right? The tree. 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 The tree. 16:36 Am I not configured here Mr. Flash 16:37 You can't log in without the configuration The tree. 16:38 Can you help me with one of your configurations Mr. Flash 16:38 I'm using cn Mr. Flash 16:38 I've changed the code to the new gid The tree. 16:46 Is this the change? Mr. Flash 16:46 Yeah, I removed the uid The tree. 16:47 Is it just to delete? Is there any other change The tree. 16:48 Does the Subcontext need to remove the uid? The tree. 16:48 @utopianet_ Canton Bank credit card _ Joaquin Mr. Flash 16:50 I'll use cn The tree. 16:50 Ok, I'll try. Mr. Flash 16:50 You can use uid or you can use UID Mr. Flash 16:50 As you Mr. Flash 16:50 As long as it's consistent The tree. 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 The tree. 17:11 I know the cn is not the user that I created but the cn that ldap already exists? The tree. 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 The tree. 17:27 Ok, I'll try later 乔木。 14:54 大佬 你那个ldap的url是怎么配的 我看ladp的代码里这里是根据url取的dn 所以只配一个ldap://127.0.0.1:389/应该是不行的 乔木。 14:57 这里就报错了 闪电先生 14:57 admin明显错了 闪电先生 14:58 你要能够在ldap管理界面正常登陆 再过来这里测试 乔木。 15:03 大佬你是说的哪个参数 闪电先生 15:03 那你登陆ldap就是admin? 闪电先生 15:03 难道不是cn=admin 乔木。 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 你可以用uid也行 闪电先生 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