이 문제는 ADSI를 이용해 Active Directory 속성값에 접근할 때 생깁니다. 이런 에러가 나는 주요 원인은 Exchange 등의 AD Schema가 확장되어있던 위치에서 작성된 코드를 확장되지 않은 AD에 실행하게되면 이와 같이 확장속성이 없는데 접근하려 하여서 에러가나는 경우를 확인 하엿습니다. 이런 경우 E_ADS_PROPERTY_NOT_FOUND 메시지를 보내고 이 코드값으로 0x8000500D을 반환하게 됩니다. HTTP/1.1 200 OKVia: 1.1 DHCPConnection: Keep-AliveProxy-Connection: Keep-AliveContent-Length: 52Date: Wed, 16 Apr 2008 07:50:32 GMTContent-Type: text/xml;..
Windows Scripting과 ADSI 인터페이스를 이용해 LDAP 프로토콜을 이용하여 AD에 사용자를 추가하는 간단한 코드를 다음과 같이 수행해 보았다. Set objRootDSE = GetObject("LDAP://rootDSE") Set objContainer = GetObject("LDAP://cn=Users," & _ objRootDSE.Get("defaultNamingContext")) For i = 1 To 1000 Set objLeaf = objContainer.Create("User", "cn=UserNo" & i) objLeaf.Put "sAMAccountName", "UserNo" & i objLeaf.SetInfo Next Wscript.Echo "1000 Users create..
아 AD, LDAP... 죽일넘들 ㅡㅡ;; 아래 참고 링크들은 모두 사라졌네요. (클릭해도 안떠요 ㅠ)How to create a file share using .Net frameworkHow to add a user to file access permissionsHow to get file security information using DirectoryServicesHow to get list of groups user is member ofHow to get list of domains in Active Directory How to get members of a windows group. How to get user SID using DirectoryServices classesHow to add..
이런 그지같은 AD ㅠㅠ http://msdn2.microsoft.com/en-us/library/aa772218.aspx Active Directory Service Interfaces(ADSI) Reference http://msdn2.microsoft.com/en-us/library/aa367008.aspx Lightweight Directory Access Protocol(LDAP) Active Dirctory를 이용한 경로 정보 전체보기 //----------------------------------------------------------------------- // This file is part of the Microsoft .NET Framework SDK Code Samples. /..
http://msdn.microsoft.com/library/kor/default.asp?url=/library/KOR/vbcon/html/vbwlkwalkthroughcreatingadsiobjects.asp MOSS.. 아 짜증.. Active directory를 코딩으로 제어해야한다.. 된장..