LDAP ke lingkungan mainframe (LDAP to a mainframe environment)


問題描述

LDAP ke lingkungan mainframe (LDAP to a mainframe environment)

  

Possible Duplicate:   Querying an LDAP in C#  

I'm currently transposing some old ASP code from VBScript to C# and have gotten stuck on a piece that uses LDAP to connect to our IBM Top Secret environment. Any one know of some documentation / resources regarding the process or that could translate the relevant code to C# / .NET? 

Set oLdap = CreateObject("LDAPClient")
oLdap.Connect "MY SERVER NAME",1389,"cn=" & <MF Account>, <MF Password>
oLdap.Search "host=ldap,o=COMP, c=us","tssacid=<Target UserID>"

edit I believe i'm getting closer with this: 

DirectoryEntry entry = new DirectoryEntry("LDAP://SERVERADDR/tssacid=acidval,tssadmingrp=acids,host=ldap,o=comp,c=us");

Solved my issue using this resource: 

ftp://ftp.ca.com/pub/ldap/docs/ldapv3/eTrust_LDAP_Server_Administrator_Guide_30.pdf

I'll duplicate the resource in the "exact duplicate" thread 

‑‑‑‑‑

參考解法

方法 1:

Besides the existing SO thread, there's also a LINQ to LDAP provider on CodePlex. You could use that as an alternative to the existing Directory Services API in .NET (it's built on top of it, actually).

(by AA11oAKasMarcel N.)

參考文件

  1. LDAP to a mainframe environment (CC BY‑SA 3.0/4.0)

#ldap #vbscript #linq-to-ldap #C#






相關問題

LDAP 在 PHP 中搜索多個 DN (LDAP search multiple DNs in PHP)

LDAP ke lingkungan mainframe (LDAP to a mainframe environment)

Пошукавы фільтр укладзеных груп LDAP (Nested Group LDAP Search Filter)

Why can't I bind my LDAP server in Perl code? (Why can't I bind my LDAP server in Perl code?)

如何通過 LDAP over TLS 對 Active Directory 進行身份驗證? (How to authenticate against Active Directory via LDAP over TLS?)

在 GForge、LDAP 身份驗證中,如何設置屬性 authenticatedBind 的值? (In GForge, LDAP Authentication, how do I set the value for the property authenticatedBind?)

什麼 ldap 查詢返回現在從活動目錄中刪除的用戶對象? (What ldap query returns the user objects now removed from active-directory?)

LDAP 和 Active Directory 有什麼區別? (What are the differences between LDAP and Active Directory?)

從 asp.net Web 應用程序的活動目錄中獲取用戶的全名 (Get user's full name from active directory in asp.net web application)

Grails Spring 安全配置通過 xml (Grails Spring Security Configuration thru xml)

如何為我的 Web 應用程序構建 LDAP 集成? (How to build LDAP integration for my web app?)

LDAP 查詢以檢查用戶是否是特定安全組的成員 (LDAP Query to check if User is a member of a particular security group)







留言討論