LDAP问题..不知道如何构建连接 [英] LDAP issue..no idea how to construct the connection

查看:74
本文介绍了LDAP问题..不知道如何构建连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我无法连接到我的公司LDAP来检索userinfo。我可以使用以下连接设置从本地区域返回基本信息:

Hi all,

I am having trouble with connecting to my companies LDAP to retrieve userinfo. I can return basic information from my local area using the following connection settings:

展开 | 选择 | Wrap | 行号

推荐答案

不幸的是,自从我离开我的最后一家公司后,我再也无法访问我在域控制器上使用LDAP所做的工作了:-(


我记得我从谷歌搜索中发现了很多 - 我特别喜欢使用LDIFDE.Exe。这是一个非常强大的工具,但如果使用管理员帐户,需要非常小心,以免造成损害。


我想这是你的原创 GetObject 这行有问题,但我对你的设置不够熟悉,或者在我非常狭隘的要求之外使用LDAP,为了更好地指出你我害怕。
Unfortunately, since I left my last company I no longer have access to the work I did using LDAP on my domain controllers :-(

I remember I found a lot out from googling though - I particularly played with LDIFDE.Exe. A very powerful tool, but great care needed to avoid doing damage if using an Admin account.

I guess it''s your original GetObject line that''s faulty, but I''m not familiar enough with your setup, or of using LDAP outside my quite narrow requirements as they were, to point you much better I''m afraid.


我一直在谷歌上搜索几天,我觉得有时候我会得到正在发生的事情,然后其他时候都是混乱的混乱。我认为当我尝试连接到完整目录时,我无法获得任何返回的事实是造成最大挫折的原因。

我无法理解是否事实上,我能够使用我的本地设置获取所有这些额外的公司特定属性,或者它们是否仅通过连接到整个服务器来保存。 Intellisense(如果这是正确的名称)在使用上面粘贴的代码时会显示基本属性,但正如我所说,它是公司特定的,似乎永远不会返回。
I have been googling for days now and I feel sometimes I get what''s going on and then other times it is all a confused mess. I think the fact that I cant get anything being returned when I try to connnect to the full directory is what is causing the most frustration.

I can''t get my head around whether infact I am capable of getting all these extra company specific attributes using my local settings or whether they are only held by connecting to the full server. Intellisense (if thats the correct name) brings up the basic attributes when using the code pasted above, but as I said, its the company specific ones which never seem to return.


嗯,我如果我能够获得它的副本,我将很乐意与您分享我所做的工作,但听起来您的域/林设置可能比我的更复杂,所以您需要确切地确定在我能给你的任何东西之前工作我会怀疑太多了。


最重要的是,即使使用我的旧代码,我还需要彻底了解服务器的内容在我可以使用愤怒的概念之前,我们担心和域名。
Well, I''ll be happy to share with you the work I did on this if I ever manage to get a copy of it, but it sounds like your domain/forest setup may be more complicated than mine was so you need to determine exactly how that works before anything I can give you will help too much I suspect.

The bottom line is that even with my old code, I needed a thorough understanding of what was what as far as servers and domain were concerned before I could use the concepts in anger.


这篇关于LDAP问题..不知道如何构建连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆